Constructor:
{
this->setAttribute(Qt::WA_DeleteOnClose);
this->setLayout(userInputLayout);
this->constructUserInput(form, subWindowTabWidget); ........
}
UserInput::UserInput(QWidget *parent, int form, QTabWidget *subWindowTabWidget) : QWidget(parent)
{
this->setAttribute(Qt::WA_DeleteOnClose);
this->setLayout(userInputLayout);
this->constructUserInput(form, subWindowTabWidget); ........
}
To copy to clipboard, switch view to plain text mode
Constructormethod:
void UserInput
::constructUserInput(int constructForm,
QTabWidget *) {
....
connect(startButton,
SIGNAL(clicked
()),
this,
SLOT(calculationAlgoStart
(QTabWidget *)));
....
}
void UserInput::constructUserInput(int constructForm, QTabWidget *)
{
....
connect(startButton,SIGNAL(clicked()),this, SLOT(calculationAlgoStart(QTabWidget *)));
....
}
To copy to clipboard, switch view to plain text mode
CalculateAlgorithm...:
void UserInput
::calculationAlgoStart(QTabWidget *) {
....
void UserInput::calculationAlgoStart(QTabWidget *)
{
....
To copy to clipboard, switch view to plain text mode
Bookmarks