76 // signals to your page signals |
76 // signals to your page signals |
77 virtual void connectSignals() {}; |
77 virtual void connectSignals() {}; |
78 |
78 |
79 virtual ~AbstractPage() {}; |
79 virtual ~AbstractPage() {}; |
80 |
80 |
|
81 QPushButton * formattedButton(const QString & btname, bool hasIcon); |
81 QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, bool hasIcon = false); |
82 QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, bool hasIcon = false); |
82 QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, int rowSpan, int columnSpan, bool hasIcon = false); |
83 QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, int rowSpan, int columnSpan, bool hasIcon = false); |
83 QPushButton * addButton(const QString & btname, QBoxLayout * box, int where, bool hasIcon = false); |
84 QPushButton * addButton(const QString & btname, QBoxLayout * box, int where, bool hasIcon = false); |
84 |
85 |
85 void setBackButtonVisible(bool visible = true); |
86 void setBackButtonVisible(bool visible = true); |
86 |
87 |
87 QFont * font14; |
88 QFont * font14; |
88 |
89 |
89 private: |
90 private: |
90 QPushButton * formattedButton(const QString & btname, bool hasIcon); |
|
91 |
91 |
92 QPushButton * btnBack; |
92 QPushButton * btnBack; |
93 }; |
93 }; |
94 |
94 |
95 #endif |
95 #endif |