Subversion Repositories svn1-original

Rev

Rev 240 | Rev 317 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 240 Rev 290
Line 24... Line 24...
24
 
24
 
25
    verticalLayout->addWidget(scrollArea);
25
    verticalLayout->addWidget(scrollArea);
26
 
26
 
27
    buttonBox = new QDialogButtonBox(this);
27
    buttonBox = new QDialogButtonBox(this);
28
    buttonBox->setOrientation(Qt::Horizontal);
28
    buttonBox->setOrientation(Qt::Horizontal);
-
 
29
    buttonBox->setContentsMargins(0,0,5,5);
29
    buttonBox->addButton( new QPushButton("Recalc"),QDialogButtonBox::AcceptRole);
30
    buttonBox->addButton( new QPushButton("Recalc"),QDialogButtonBox::AcceptRole);
30
    QObject::connect(buttonBox, SIGNAL(accepted()), this, SLOT(calculate()));
31
    QObject::connect(buttonBox, SIGNAL(accepted()), this, SLOT(calculate()));
31
 
32
 
32
    verticalLayout->addWidget(buttonBox);
33
    verticalLayout->addWidget(buttonBox);
33
 
34