.
--HG-- branch : develop
This commit is contained in:
parent
aa054e2507
commit
1feabdfe05
|
@ -673,7 +673,7 @@ void MainWindow::ToolBarOption()
|
||||||
comboBoxGrow->setCurrentIndex(14);
|
comboBoxGrow->setCurrentIndex(14);
|
||||||
ui->toolBarOption->addWidget(comboBoxGrow);
|
ui->toolBarOption->addWidget(comboBoxGrow);
|
||||||
connect(comboBoxGrow, static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::currentIndexChanged),
|
connect(comboBoxGrow, static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::currentIndexChanged),
|
||||||
this, &MainWindow::ChangedGrowth);
|
this, &MainWindow::ChangedHeight);
|
||||||
|
|
||||||
QLabel * labelSize = new QLabel;
|
QLabel * labelSize = new QLabel;
|
||||||
labelSize->setText(tr(" Size: "));
|
labelSize->setText(tr(" Size: "));
|
||||||
|
@ -1113,7 +1113,7 @@ void MainWindow::ChangedSize(const QString & text)
|
||||||
doc->FullUpdateTree();
|
doc->FullUpdateTree();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::ChangedGrowth(const QString &text)
|
void MainWindow::ChangedHeight(const QString &text)
|
||||||
{
|
{
|
||||||
qint32 growth = text.toInt();
|
qint32 growth = text.toInt();
|
||||||
pattern->SetGrowth(growth*10);
|
pattern->SetGrowth(growth*10);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user