You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-2.2-install.../src/installerpage.h

33 lines
613 B

#pragma once
#include <QWidget>
#include <QEvent>
class InstallerPage : public QWidget
{
Q_OBJECT
public:
InstallerPage( QWidget* parent = 0, const QString& title = QString() ) : QWidget(parent), m_Title(title) {}
virtual ~InstallerPage() {}
protected:
virtual void setupUi() = 0;
public:
QString getTitle() const { return m_Title; }
void setTitle(const QString& title ) { m_Title = title; }
virtual bool validate() { return true; }
virtual void retranslateUi() = 0;
signals:
void changeNext(bool);
void changePrev(bool);
public slots:
virtual void show() {}
protected:
QString m_Title;
};