Subversion Repositories svn1

Rev

Blame | Last modification | View Log | RSS feed

#include "qmbasicpage.h"
#include <QPushButton>

QmBasicPage::QmBasicPage(QWidget *parent) :QWidget(parent)
{
    resize ( 600,400);

    verticalLayout = new QVBoxLayout(this);
    verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
    verticalLayout->setContentsMargins(0, 0, 0, 0);

    centralWidget = new QWidget (this);
    verticalLayout->addWidget(centralWidget);

    buttonBox = new QDialogButtonBox(this);
    buttonBox->setOrientation(Qt::Horizontal);
    buttonBox->addButton( new QPushButton("Recalc"),QDialogButtonBox::AcceptRole);
    QObject::connect(buttonBox, SIGNAL(accepted()), this, SLOT(calculate()));

    verticalLayout->addWidget(buttonBox);

}