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);
|
||||
connect(bCansel, &QPushButton::clicked, this, &DialogAlongLine::DialogRejected);
|
||||
FillComboBoxTypeLine(ui->comboBoxLineType);
|
||||
ui->comboBoxLineType->setCurrentIndex(1);
|
||||
FillComboBoxPoints(ui->comboBoxFirstPoint);
|
||||
FillComboBoxPoints(ui->comboBoxSecondPoint);
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
void setSecondPointId(const qint64 &value, const qint64 &id);
|
||||
public slots:
|
||||
virtual void ChoosedObject(qint64 id, Scene::Scenes type);
|
||||
virtual void DialogAccepted();
|
||||
virtual void DialogAccepted();
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogAlongLine)
|
||||
Ui::DialogAlongLine *ui;
|
||||
|
|
|
@ -92,6 +92,7 @@ void DialogTool::FillComboBoxPoints(QComboBox *box, const qint64 &id) const{
|
|||
}
|
||||
|
||||
void DialogTool::FillComboBoxTypeLine(QComboBox *box) const{
|
||||
Q_ASSERT(box != 0);
|
||||
QStringList list;
|
||||
list<<tr("Line")<<tr("No line");
|
||||
box->addItems(list);
|
||||
|
|
Loading…
Reference in New Issue
Block a user