1234567891011121314151617181920212223242526272829303132 |
- #ifndef RESFILEDIALOG_H
- #define RESFILEDIALOG_H
- #include <QDialog>
- namespace Ui {
- class ResFileDialog;
- }
- class ResFileDialog : public QDialog
- {
- Q_OBJECT
- public:
- explicit ResFileDialog(QWidget *parent = nullptr);
- ~ResFileDialog();
- QString getResName();
- void setResName(QString resName);
- protected:
- void dragEnterEvent(QDragEnterEvent *event);
- void dropEvent(QDropEvent *event);
- private slots:
- void on_buttonBox_accepted();
- private:
- Ui::ResFileDialog *ui;
- QString res;
- };
- #endif // RESFILEDIALOG_H
|