QTfrontend/AbstractPage.h
changeset 6048 ae213ef7030a
parent 6044 728ce9acbaf7
child 6052 5e3e7d19bdb5
equal deleted inserted replaced
6046:d681b8127523 6048:ae213ef7030a
    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