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.

32 lines
436 B
C++

#ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include <QSharedPointer>
#include "data/person.h"
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
void setData(QSharedPointer<Person> data);
private slots:
void on_buttonBox_accepted();
private:
Ui::Dialog *ui;
QSharedPointer<Person> m_data;
};
#endif // DIALOG_H