00001 00004 #ifndef BPSLABELSPLACEHOLDERDIALOG_H 00005 #define BPSLABELSPLACEHOLDERDIALOG_H 00006 00007 #include "bpsgui_global.h" 00008 #include <QDialog> 00009 00010 class BpsDatastore; 00011 00026 class BPSGUI_EXPORT BpsLabelerPlaceholderDialog : public QDialog 00027 { 00028 Q_OBJECT 00029 BPS_PRIVATE(BpsLabelerPlaceholderDialog) 00030 00031 public: 00036 BpsLabelerPlaceholderDialog(BpsDatastore* aDatastore, QWidget* aParent = 0); 00037 00042 void setPlaceholder(const QString& aPlaceholder); 00043 00047 QString placeholder() const; 00048 00050 virtual ~BpsLabelerPlaceholderDialog(); 00051 00052 public slots: 00053 int exec(); 00054 00055 protected: 00056 virtual void closeEvent(QCloseEvent* aEvent); 00058 }; 00059 00060 #endif // BPSLABELSPLACEHOLDERDIALOG_H