00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _WIDGETS_H_
00022 #define _WIDGETS_H_
00023
00024 #include <tqwidget.h>
00025 #include <tqstring.h>
00026
00027 namespace Widgets
00028 {
00029 bool inputBox(TQWidget *parent, const TQString& title, const TQString& text, const TQString& init, TQString &result);
00030 bool passwordBox(TQWidget *parent, const TQString& title, const TQString& text, TQCString &result);
00031 int textBox(TQWidget *parent, int width, int height, const TQString& title, const TQString& file);
00032 int textInputBox(TQWidget *parent, int width, int height, const TQString& title, const TQStringList& args, TQCString &result);
00033 bool listBox(TQWidget *parent, const TQString& title, const TQString& text, const TQStringList& args, const TQString &defaultEntry, TQString &result);
00034 bool checkList(TQWidget *parent, const TQString& title, const TQString& text, const TQStringList& args, bool separateOutput, TQStringList &result);
00035 bool radioBox(TQWidget *parent, const TQString& title, const TQString& text, const TQStringList& args, TQString &result);
00036 bool comboBox(TQWidget *parent, const TQString& title, const TQString& text, const TQStringList& args, const TQString& defaultEntry, TQString &result);
00037 bool progressBar(TQWidget *parent, const TQString& title, const TQString& text, int totalSteps);
00038
00039 void handleXGeometry(TQWidget * dlg);
00040
00041 }
00042
00043 #endif