12345678910111213141516171819202122232425262728293031 |
- #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();
- protected:
- void dragEnterEvent(QDragEnterEvent *event);
- void dropEvent(QDropEvent *event);
- private slots:
- void on_buttonBox_accepted();
- private:
- Ui::ResFileDialog *ui;
- QString res;
- };
- #endif // RESFILEDIALOG_H
|