You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
449 B
C++
33 lines
449 B
C++
#ifndef FORMDIALOG_H
|
|
#define FORMDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QWidget>
|
|
|
|
#include "iform.h"
|
|
|
|
namespace Ui {
|
|
class FormDialog;
|
|
}
|
|
|
|
class FormDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FormDialog(QWidget *parent = 0);
|
|
~FormDialog();
|
|
|
|
void setForm(IForm *formWidget);
|
|
|
|
private slots:
|
|
void on_buttonBox_accepted();
|
|
|
|
private:
|
|
bool m_formSet;
|
|
IForm *m_form;
|
|
Ui::FormDialog *ui;
|
|
};
|
|
|
|
#endif // FORMDIALOG_H
|