xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QFileDialog.xcsm
浏览该文件的文档.
1
2package Qt{
3 @SuppressWarnings public class QFileDialog : QNative{
4 public static String getOpenFileName(String caption, String defaultPath, String pattern,@NotNilptr QWidget parent){
5 return (String)QtXnl.openfile_dlg_string3_obj(Constant.OPEN, caption, defaultPath, pattern, (parent != nilptr) ? parent.nativehandle : 0l );
6 }
7 public static String[] getOpenFileNames(String caption, String defaultPath, String pattern,@NotNilptr QWidget parent){
8 return (String[])QtXnl.openfile_dlg_string3_obj(Constant.OPENMULTI, caption, defaultPath, pattern, (parent != nilptr) ? parent.nativehandle : 0l);
9 }
10 public static String getSaveFileName(String caption, String defaultPath, String pattern,@NotNilptr QWidget parent){
11 return (String)QtXnl.openfile_dlg_string3_obj(Constant.SAVE, caption, defaultPath, pattern, (parent != nilptr) ? parent.nativehandle : 0l);
12 }
13 public static String getFolderPath(String caption, String defaultPath, String optionNum,@NotNilptr QWidget parent){
14 return (String)QtXnl.openfile_dlg_string3_obj(Constant.FOLDER, caption, defaultPath, optionNum, (parent != nilptr) ? parent.nativehandle : 0l);
15 }
16 };
17
18 @SuppressWarnings public class QFontDialog : QNative{
19 public static String getFontDialog(String caption, String defaultfont,@NotNilptr QWidget parent){
20 return (String)QtXnl.openfile_dlg_string3_obj(Constant.GETFONT, caption, defaultfont, nilptr, (parent != nilptr) ? parent.nativehandle : 0l);
21 }
22 };
23
24 @SuppressWarnings public class QColorDialog : QNative{
25 public static String getColor(String caption, QWidget parent){
26 return (String)QtXnl.openfile_dlg_string3_obj(Constant.QCOLORSELECTOR, caption, nilptr, nilptr, (parent != nilptr) ? parent.nativehandle : 0l);
27 }
28 };
29};
static String getColor(String caption, QWidget parent)
static String [] getOpenFileNames(String caption, String defaultPath, String pattern,@NotNilptr QWidget parent)
static String getFolderPath(String caption, String defaultPath, String optionNum,@NotNilptr QWidget parent)
static String getSaveFileName(String caption, String defaultPath, String pattern,@NotNilptr QWidget parent)
static String getFontDialog(String caption, String defaultfont,@NotNilptr QWidget parent)
字符串类