Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WidgetMultiSelector preparation to use ModelAPI_AttributeRefAttrList.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_PageWidget.cpp
diff --git
a/src/ModuleBase/ModuleBase_PageWidget.cpp
b/src/ModuleBase/ModuleBase_PageWidget.cpp
index f49e53eea1fed66f299c38036c746a983ba82af2..9d32e79e7946699d7bb6c9f0d7e8866389eb5ee8 100644
(file)
--- a/
src/ModuleBase/ModuleBase_PageWidget.cpp
+++ b/
src/ModuleBase/ModuleBase_PageWidget.cpp
@@
-11,6
+11,8
@@
#include <QGridLayout>
#include <QGridLayout>
+#include <iostream>
+
ModuleBase_PageWidget::ModuleBase_PageWidget(QWidget* theParent)
: QFrame(theParent)
{
ModuleBase_PageWidget::ModuleBase_PageWidget(QWidget* theParent)
: QFrame(theParent)
{
@@
-33,6
+35,7
@@
void ModuleBase_PageWidget::placeModelWidget(ModuleBase_ModelWidget* theWidget)
const int kCol = 0;
const int kRow = myMainLayout->count();
myMainLayout->addWidget(theWidget, kRow, kCol);
const int kCol = 0;
const int kRow = myMainLayout->count();
myMainLayout->addWidget(theWidget, kRow, kCol);
+ myMainLayout->setRowStretch(kRow, 0);
}
void ModuleBase_PageWidget::placePageWidget(ModuleBase_PageBase* theWidget)
}
void ModuleBase_PageWidget::placePageWidget(ModuleBase_PageBase* theWidget)
@@
-46,7
+49,8
@@
void ModuleBase_PageWidget::placePageWidget(ModuleBase_PageBase* theWidget)
}
const int kCol = 0;
const int kRow = myMainLayout->count();
}
const int kCol = 0;
const int kRow = myMainLayout->count();
- myMainLayout->addWidget(aWidget, kRow, kCol);//, Qt::AlignTop | Qt::AlignLeft);
+ myMainLayout->addWidget(aWidget, kRow, kCol);
+ myMainLayout->setRowStretch(kRow, 0);
}
QLayout* ModuleBase_PageWidget::pageLayout()
}
QLayout* ModuleBase_PageWidget::pageLayout()