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(new Ui::ExportDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
success = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ExportDialog::~ExportDialog()
|
ExportDialog::~ExportDialog()
|
||||||
|
@ -31,7 +32,17 @@ ExportDialog::~ExportDialog()
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ExportDialog::isSucceeded()
|
||||||
|
{
|
||||||
|
return success;
|
||||||
|
}
|
||||||
|
|
||||||
void ExportDialog::on_cmdSnapmaticClose_clicked()
|
void ExportDialog::on_cmdSnapmaticClose_clicked()
|
||||||
{
|
{
|
||||||
this->close();
|
this->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ExportDialog::setupPictureExport()
|
||||||
|
{
|
||||||
|
ui->swExport->setCurrentWidget(ui->pageSnapmatic);
|
||||||
|
}
|
||||||
|
|
|
@ -31,6 +31,8 @@ class ExportDialog : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ExportDialog(QWidget *parent = 0);
|
explicit ExportDialog(QWidget *parent = 0);
|
||||||
|
void setupPictureExport();
|
||||||
|
bool isSucceeded();
|
||||||
~ExportDialog();
|
~ExportDialog();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
@ -38,6 +40,7 @@ private slots:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::ExportDialog *ui;
|
Ui::ExportDialog *ui;
|
||||||
|
bool success;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // EXPORTDIALOG_H
|
#endif // EXPORTDIALOG_H
|
||||||
|
|
Loading…
Reference in a new issue