31 lines
546 B
C++
31 lines
546 B
C++
#ifndef WNEWPROGRAM_H
|
|
#define WNEWPROGRAM_H
|
|
|
|
#include <basedlg.h>
|
|
#include <QDateTime>
|
|
|
|
namespace Ui {
|
|
class wNewProgram;
|
|
}
|
|
|
|
class wNewProgram : public BaseDlg
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit wNewProgram(QWidget *parent = nullptr);
|
|
wNewProgram(QString name, QSize res, QString remarks, QWidget *parent = nullptr, bool lockName = false);
|
|
~wNewProgram();
|
|
|
|
signals:
|
|
void sigAcceptData(QString name, QSize res, QString remarks);
|
|
|
|
protected slots:
|
|
void onAccepted();
|
|
|
|
private:
|
|
Ui::wNewProgram *ui;
|
|
};
|
|
|
|
#endif // WNEWPROGRAM_H
|