For tool point along line default type of line is "no line".
--HG-- branch : develop
This commit is contained in:
parent
33a98de0d1
commit
900261cb7f
|
@ -46,6 +46,7 @@ DialogAlongLine::DialogAlongLine(const VContainer *data, Draw::Draws mode, QWidg
|
||||||
QPushButton *bCansel = ui->buttonBox->button(QDialogButtonBox::Cancel);
|
QPushButton *bCansel = ui->buttonBox->button(QDialogButtonBox::Cancel);
|
||||||
connect(bCansel, &QPushButton::clicked, this, &DialogAlongLine::DialogRejected);
|
connect(bCansel, &QPushButton::clicked, this, &DialogAlongLine::DialogRejected);
|
||||||
FillComboBoxTypeLine(ui->comboBoxLineType);
|
FillComboBoxTypeLine(ui->comboBoxLineType);
|
||||||
|
ui->comboBoxLineType->setCurrentIndex(1);
|
||||||
FillComboBoxPoints(ui->comboBoxFirstPoint);
|
FillComboBoxPoints(ui->comboBoxFirstPoint);
|
||||||
FillComboBoxPoints(ui->comboBoxSecondPoint);
|
FillComboBoxPoints(ui->comboBoxSecondPoint);
|
||||||
|
|
||||||
|
|
|
@ -92,6 +92,7 @@ void DialogTool::FillComboBoxPoints(QComboBox *box, const qint64 &id) const{
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogTool::FillComboBoxTypeLine(QComboBox *box) const{
|
void DialogTool::FillComboBoxTypeLine(QComboBox *box) const{
|
||||||
|
Q_ASSERT(box != 0);
|
||||||
QStringList list;
|
QStringList list;
|
||||||
list<<tr("Line")<<tr("No line");
|
list<<tr("Line")<<tr("No line");
|
||||||
box->addItems(list);
|
box->addItems(list);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user