Little bugs fixes.
--HG-- branch : develop
This commit is contained in:
parent
08ea33aff1
commit
939b18fb4e
|
@ -19,6 +19,11 @@ syntax: glob
|
||||||
# Ignore this directory.
|
# Ignore this directory.
|
||||||
html/
|
html/
|
||||||
latex/
|
latex/
|
||||||
|
bin/
|
||||||
|
moc/
|
||||||
|
obj/
|
||||||
|
uic/
|
||||||
|
rcc/
|
||||||
|
|
||||||
# Ignore file used QtCreator for user profile.
|
# Ignore file used QtCreator for user profile.
|
||||||
*.pro.user
|
*.pro.user
|
||||||
|
@ -28,3 +33,6 @@ latex/
|
||||||
|
|
||||||
# Ignore Mercurial .orig files
|
# Ignore Mercurial .orig files
|
||||||
*.orig
|
*.orig
|
||||||
|
|
||||||
|
# Ignore Makefile
|
||||||
|
Makefile
|
||||||
|
|
|
@ -42,8 +42,8 @@ DialogAlongLine::DialogAlongLine(const VContainer *data, QWidget *parent)
|
||||||
|
|
||||||
flagFormula = false;
|
flagFormula = false;
|
||||||
flagName = false;
|
flagName = false;
|
||||||
CheckState();
|
|
||||||
InitOkCansel(ui);
|
InitOkCansel(ui);
|
||||||
|
CheckState();
|
||||||
|
|
||||||
FillComboBoxTypeLine(ui->comboBoxLineType);
|
FillComboBoxTypeLine(ui->comboBoxLineType);
|
||||||
ui->comboBoxLineType->setCurrentIndex(0);
|
ui->comboBoxLineType->setCurrentIndex(0);
|
||||||
|
|
|
@ -987,14 +987,14 @@ void MainWindow::PatternWasModified()
|
||||||
void MainWindow::ChangedSize(const QString & text)
|
void MainWindow::ChangedSize(const QString & text)
|
||||||
{
|
{
|
||||||
qint32 size = text.toInt();
|
qint32 size = text.toInt();
|
||||||
pattern->SetSize(size*10);
|
pattern->SetSize(size);
|
||||||
doc->FullUpdateTree();
|
doc->FullUpdateTree();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::ChangedHeight(const QString &text)
|
void MainWindow::ChangedHeight(const QString &text)
|
||||||
{
|
{
|
||||||
qint32 growth = text.toInt();
|
qint32 growth = text.toInt();
|
||||||
pattern->SetHeight(growth*10);
|
pattern->SetHeight(growth);
|
||||||
doc->FullUpdateTree();
|
doc->FullUpdateTree();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user