ExportDialog first part code
This commit is contained in:
parent
b690db4a2d
commit
a8ab6ce298
2 changed files with 14 additions and 0 deletions
|
@ -24,6 +24,7 @@ ExportDialog::ExportDialog(QWidget *parent) :
|
|||
ui(new Ui::ExportDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
success = false;
|
||||
}
|
||||
|
||||
ExportDialog::~ExportDialog()
|
||||
|
@ -31,7 +32,17 @@ ExportDialog::~ExportDialog()
|
|||
delete ui;
|
||||
}
|
||||
|
||||
bool ExportDialog::isSucceeded()
|
||||
{
|
||||
return success;
|
||||
}
|
||||
|
||||
void ExportDialog::on_cmdSnapmaticClose_clicked()
|
||||
{
|
||||
this->close();
|
||||
}
|
||||
|
||||
void ExportDialog::setupPictureExport()
|
||||
{
|
||||
ui->swExport->setCurrentWidget(ui->pageSnapmatic);
|
||||
}
|
||||
|
|
|
@ -31,6 +31,8 @@ class ExportDialog : public QDialog
|
|||
|
||||
public:
|
||||
explicit ExportDialog(QWidget *parent = 0);
|
||||
void setupPictureExport();
|
||||
bool isSucceeded();
|
||||
~ExportDialog();
|
||||
|
||||
private slots:
|
||||
|
@ -38,6 +40,7 @@ private slots:
|
|||
|
||||
private:
|
||||
Ui::ExportDialog *ui;
|
||||
bool success;
|
||||
};
|
||||
|
||||
#endif // EXPORTDIALOG_H
|
||||
|
|
Loading…
Reference in a new issue