| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef VDIRINFODIALOG_H
- #define VDIRINFODIALOG_H
- #include <QDialog>
- class QLabel;
- class QLineEdit;
- class QDialogButtonBox;
- class QString;
- class VDirectory;
- class VDirInfoDialog : public QDialog
- {
- Q_OBJECT
- public:
- VDirInfoDialog(const QString &title,
- const QString &info,
- const VDirectory *directory,
- VDirectory *parentDirectory,
- QWidget *parent = 0);
- QString getNameInput() const;
- private slots:
- void handleInputChanged();
- private:
- void setupUI();
- QLabel *infoLabel;
- QLabel *nameLabel;
- QLineEdit *nameEdit;
- QLabel *m_warnLabel;
- QDialogButtonBox *m_btnBox;
- QString title;
- QString info;
- const VDirectory *m_directory;
- VDirectory *m_parentDirectory;
- };
- #endif // VDIRINFODIALOG_H
|