mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 04:46:11 +00:00
ab27e09b91
Sometimes it is not necessary to include the whole Cutter.h file Hence, it's been splitted so you can include only what you require E.g. #include "core/CutterCommon.h" to have access to the common types
30 lines
504 B
C++
30 lines
504 B
C++
#ifndef OPENFILEDIALOG_H
|
|
#define OPENFILEDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <memory>
|
|
#include "core/Cutter.h"
|
|
|
|
namespace Ui {
|
|
class OpenFileDialog;
|
|
}
|
|
|
|
class OpenFileDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit OpenFileDialog(QWidget *parent = nullptr);
|
|
~OpenFileDialog();
|
|
|
|
private slots:
|
|
void on_selectFileButton_clicked();
|
|
void on_buttonBox_accepted();
|
|
void on_buttonBox_rejected();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::OpenFileDialog> ui;
|
|
};
|
|
|
|
#endif // OPENFILEDIALOG_H
|