Turn on context menu in dialog piece path.
--HG-- branch : feature
This commit is contained in:
parent
c7d61aec49
commit
0c9a0347e9
|
@ -87,6 +87,9 @@ DialogPiecePath::DialogPiecePath(const VContainer *data, quint32 toolId, QWidget
|
||||||
connect(ui->comboBoxAngle, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
connect(ui->comboBoxAngle, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
||||||
&DialogPiecePath::NodeAngleChanged);
|
&DialogPiecePath::NodeAngleChanged);
|
||||||
|
|
||||||
|
ui->listWidget->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
|
connect(ui->listWidget, &QListWidget::customContextMenuRequested, this, &DialogPiecePath::ShowContextMenu);
|
||||||
|
|
||||||
vis = new VisToolPiecePath(data);
|
vis = new VisToolPiecePath(data);
|
||||||
|
|
||||||
ui->tabWidget->removeTab(1);
|
ui->tabWidget->removeTab(1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user