Commit 7d017dea authored by Jan Möbius's avatar Jan Möbius

layouts and filepts

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12716 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a26eeecb
...@@ -116,9 +116,11 @@ void SplatCloudRenderingControlPlugin::initializePlugin() ...@@ -116,9 +116,11 @@ void SplatCloudRenderingControlPlugin::initializePlugin()
// options layout // options layout
QVBoxLayout *toolboxOptionsLayout = new QVBoxLayout(); QVBoxLayout *toolboxOptionsLayout = new QVBoxLayout();
toolboxOptionsLayout->setAlignment( Qt::AlignTop );
toolboxOptionsLayout->setSpacing( 6 ); toolboxOptionsLayout->setSpacing( 6 );
toolboxOptionsLayout->addItem ( toolboxPointsizeScaleLayout ); toolboxOptionsLayout->addItem ( toolboxPointsizeScaleLayout );
toolboxOptionsLayout->addItem ( toolboxButtonsALayout ); toolboxOptionsLayout->addItem ( toolboxButtonsALayout );
toolboxOptionsLayout->addItem ( new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Expanding ) );
toolboxOptionsLayout->addWidget( toolboxSeparatorFrame ); toolboxOptionsLayout->addWidget( toolboxSeparatorFrame );
toolboxOptionsLayout->addItem ( toolboxButtonsBLayout ); toolboxOptionsLayout->addItem ( toolboxButtonsBLayout );
...@@ -209,6 +211,7 @@ void SplatCloudRenderingControlPlugin::initializePlugin() ...@@ -209,6 +211,7 @@ void SplatCloudRenderingControlPlugin::initializePlugin()
// defaults layout // defaults layout
QVBoxLayout *toolboxDefaultsLayout = new QVBoxLayout(); QVBoxLayout *toolboxDefaultsLayout = new QVBoxLayout();
toolboxDefaultsLayout->setAlignment( Qt::AlignTop );
toolboxDefaultsLayout->setSpacing( 6 ); toolboxDefaultsLayout->setSpacing( 6 );
toolboxDefaultsLayout->addItem ( toolboxDefaultOptionsLayout ); toolboxDefaultsLayout->addItem ( toolboxDefaultOptionsLayout );
toolboxDefaultsLayout->addWidget( toolboxApplyDefaultsButton ); toolboxDefaultsLayout->addWidget( toolboxApplyDefaultsButton );
...@@ -303,6 +306,7 @@ void SplatCloudRenderingControlPlugin::initializePlugin() ...@@ -303,6 +306,7 @@ void SplatCloudRenderingControlPlugin::initializePlugin()
// widget layout // widget layout
QVBoxLayout *scaleWidgetLayout = new QVBoxLayout(); QVBoxLayout *scaleWidgetLayout = new QVBoxLayout();
scaleWidgetLayout->setAlignment( Qt::AlignTop );
scaleWidgetLayout->setSpacing( 6 ); scaleWidgetLayout->setSpacing( 6 );
scaleWidgetLayout->addItem( scaleWidgetPointsizeScaleLayout ); scaleWidgetLayout->addItem( scaleWidgetPointsizeScaleLayout );
...@@ -401,6 +405,7 @@ void SplatCloudRenderingControlPlugin::initializePlugin() ...@@ -401,6 +405,7 @@ void SplatCloudRenderingControlPlugin::initializePlugin()
// widget layout // widget layout
QVBoxLayout *defaultsWidgetLayout = new QVBoxLayout(); QVBoxLayout *defaultsWidgetLayout = new QVBoxLayout();
defaultsWidgetLayout->setAlignment( Qt::AlignTop );
defaultsWidgetLayout->setSpacing( 6 ); defaultsWidgetLayout->setSpacing( 6 );
defaultsWidgetLayout->addItem( defaultsWidgetDefaultOptionsLayout ); defaultsWidgetLayout->addItem( defaultsWidgetDefaultOptionsLayout );
defaultsWidgetLayout->addItem( defaultsWidgetButtonsLayout ); defaultsWidgetLayout->addItem( defaultsWidgetButtonsLayout );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment