00001 00004 #ifndef BPSDIALOG_H 00005 #define BPSDIALOG_H 00006 00007 #include "bpsgui_global.h" 00008 #include <QDialog> 00009 #include <QVariant> 00010 00011 class BpsDatastore; 00012 00039 class BPSGUI_EXPORT BpsTextInputDialog : public QDialog 00040 { 00041 Q_OBJECT 00042 BPS_PRIVATE(BpsTextInputDialog) 00043 00044 public: 00050 BpsTextInputDialog(QWidget* aParent, const QString& aTitle, const QString& aLabel); 00051 00052 virtual ~BpsTextInputDialog(); 00053 00057 QString text() const; 00058 00063 void setText(const QString& aText); 00064 00065 }; // BpsTextInputDialog 00066 00067 00068 /************************************************************************/ 00069 /* B p s S e l e c t U s e r D i a l o g */ 00070 /************************************************************************/ 00071 00090 class BPSGUI_EXPORT BpsSelectUserDialog : public QDialog 00091 { 00092 Q_OBJECT 00093 BPS_PRIVATE(BpsSelectUserDialog) 00094 00095 public: 00101 BpsSelectUserDialog(QWidget* aParent, const QString& aTitle, BpsDatastore* aDatastore); 00102 00103 virtual ~BpsSelectUserDialog(); 00104 00106 int exec(); 00108 00112 QVariant userKey() const; 00113 00118 void setUserKey(const QVariant& aUserKey); 00119 00120 }; // BpsSelectUserDialog 00121 00122 #endif // BPSDIALOG_H