QTfrontend/AbstractPage.h
changeset 6044 728ce9acbaf7
parent 6042 8b5345758f62
child 6048 ae213ef7030a
equal deleted inserted replaced
6042:8b5345758f62 6044:728ce9acbaf7
    73             // you CAN but most likely want to implement this method in your subclass
    73             // you CAN but most likely want to implement this method in your subclass
    74             // keep in mind not to expose twidgets as public!
    74             // keep in mind not to expose twidgets as public!
    75             // instead define a signal with a meaningful name and connect the widget
    75             // instead define a signal with a meaningful name and connect the widget
    76             // signals to your page signals
    76             // signals to your page signals
    77             virtual void connectSignals() {};
    77             virtual void connectSignals() {};
    78 /*
       
    79 virtual QLayout * bodyLayoutDefinition()\n{\n    return new QGridLayout(); //TODO\n}\n\nvirtual QLayout * footerLayoutDefinition()\n{\n    // return NULL;\n}\n\nvirtual void connectSignals()\n{\n    //TODO\n}\n\n
       
    80 */
       
    81 
    78 
    82         virtual ~AbstractPage() {};
    79         virtual ~AbstractPage() {};
    83 
    80 
    84         QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, bool hasIcon = false);
    81         QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, bool hasIcon = false);
    85         QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, int rowSpan, int columnSpan, bool hasIcon = false);
    82         QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, int rowSpan, int columnSpan, bool hasIcon = false);