Turn on context menu in dialog piece path.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-11-29 17:45:43 +02:00
parent c7d61aec49
commit 0c9a0347e9

View File

@ -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);