mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 03:00:33 +05:00
Qt4 porting.
This commit is contained in:
parent
24702e4b6a
commit
33396d09d4
@ -72,6 +72,7 @@
|
|||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
#include <QKeyEvent>
|
#include <QKeyEvent>
|
||||||
|
#include <QButtonGroup>
|
||||||
|
|
||||||
// IDL includes
|
// IDL includes
|
||||||
#include <SALOMEconfig.h>
|
#include <SALOMEconfig.h>
|
||||||
@ -105,6 +106,7 @@ SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg( SMESHGUI* theModule )
|
|||||||
|
|
||||||
/***************************************************************/
|
/***************************************************************/
|
||||||
GroupConstructors = new QGroupBox(tr("SMESH_SMOOTHING"), this);
|
GroupConstructors = new QGroupBox(tr("SMESH_SMOOTHING"), this);
|
||||||
|
QButtonGroup* ButtonGroup = new QButtonGroup(this);
|
||||||
QHBoxLayout* GroupConstructorsLayout = new QHBoxLayout(GroupConstructors);
|
QHBoxLayout* GroupConstructorsLayout = new QHBoxLayout(GroupConstructors);
|
||||||
GroupConstructorsLayout->setSpacing(SPACING);
|
GroupConstructorsLayout->setSpacing(SPACING);
|
||||||
GroupConstructorsLayout->setMargin(MARGIN);
|
GroupConstructorsLayout->setMargin(MARGIN);
|
||||||
@ -113,7 +115,7 @@ SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg( SMESHGUI* theModule )
|
|||||||
Constructor1->setIcon(image0);
|
Constructor1->setIcon(image0);
|
||||||
Constructor1->setChecked(true);
|
Constructor1->setChecked(true);
|
||||||
GroupConstructorsLayout->addWidget(Constructor1);
|
GroupConstructorsLayout->addWidget(Constructor1);
|
||||||
GroupConstructorsLayout->addStretch();
|
ButtonGroup->addButton(Constructor1, 0);
|
||||||
|
|
||||||
/***************************************************************/
|
/***************************************************************/
|
||||||
GroupArguments = new QGroupBox(tr("SMESH_ARGUMENTS"), this);
|
GroupArguments = new QGroupBox(tr("SMESH_ARGUMENTS"), this);
|
||||||
|
Loading…
Reference in New Issue
Block a user