mirror of
https://github.com/leozide/leocad
synced 2025-01-18 22:26:44 +01:00
Added close button to find/replace.
This commit is contained in:
parent
9430e339c9
commit
c75c645675
1 changed files with 6 additions and 0 deletions
|
@ -78,6 +78,12 @@ lcFindReplaceWidget::lcFindReplaceWidget(QWidget* Parent, lcModel* Model, bool R
|
||||||
mReplacePartComboBox->setCurrentIndex(0);
|
mReplacePartComboBox->setCurrentIndex(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QToolButton* CloseButton = new QToolButton(this);
|
||||||
|
CloseButton->setAutoRaise(true);
|
||||||
|
CloseButton->setDefaultAction(gMainWindow->mActions[LC_EDIT_CANCEL]);
|
||||||
|
CloseButton->setIcon(QIcon(":/stylesheet/close.png"));
|
||||||
|
Layout->addWidget(CloseButton, 0, 5);
|
||||||
|
|
||||||
lcPartsList PartsList;
|
lcPartsList PartsList;
|
||||||
Model->GetPartsList(gDefaultColor, false, true, PartsList);
|
Model->GetPartsList(gDefaultColor, false, true, PartsList);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue