mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 08:50:36 +05:00
0022311: EDF 2687 GEOM: Management of Publish Objects
- Sort in ascending order by default
This commit is contained in:
parent
1c0802a514
commit
1688b97eda
@ -191,13 +191,13 @@ void GEOMToolsGUI_PublishDlg::initData() {
|
|||||||
|
|
||||||
buildTree(aStudy, myGeomRoot);
|
buildTree(aStudy, myGeomRoot);
|
||||||
|
|
||||||
|
|
||||||
myTreeWidget->resizeColumnToContents(0);
|
myTreeWidget->resizeColumnToContents(0);
|
||||||
myTreeWidget->resizeColumnToContents(1);
|
myTreeWidget->resizeColumnToContents(1);
|
||||||
|
myTreeWidget->sortByColumn(0, Qt::AscendingOrder);
|
||||||
}
|
}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
// function : buildTree()
|
// function : createItem()
|
||||||
// purpose :
|
// purpose :
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
QTreeWidgetItem* GEOMToolsGUI_PublishDlg::createItem(QTreeWidgetItem* theParent, Pair theAttributes, bool isCheckable) {
|
QTreeWidgetItem* GEOMToolsGUI_PublishDlg::createItem(QTreeWidgetItem* theParent, Pair theAttributes, bool isCheckable) {
|
||||||
@ -224,7 +224,7 @@ QTreeWidgetItem* GEOMToolsGUI_PublishDlg::createItem(QTreeWidgetItem* theParent,
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
// function : buildTree()
|
// function : findParentItem()
|
||||||
// purpose :
|
// purpose :
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
QTreeWidgetItem* GEOMToolsGUI_PublishDlg::findParentItem(_PTR(Study) theStudy, SalomeApp_DataObject* theObject, BufferedList& theList ) {
|
QTreeWidgetItem* GEOMToolsGUI_PublishDlg::findParentItem(_PTR(Study) theStudy, SalomeApp_DataObject* theObject, BufferedList& theList ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user