m_config = new MonitorSceneControlWidget(m_scene, m_ui.frameConfig);
QHBoxLayout *layout = new QHBoxLayout(m_ui.frameConfig);
- layout->addWidget(m_config->getShowHideButton());
+ layout->setContentsMargins(0, 0, 0, 0);
layout->addWidget(m_config);
+ QHBoxLayout *layout2 = new QHBoxLayout(m_ui.widgetConfigButton);
+ layout2->setContentsMargins(0, 0, 0, 0);
+ layout2->addWidget(m_config->getShowHideButton());
int width = m_monitor->render->frameRenderWidth();
int height = m_monitor->render->renderHeight();
QHBoxLayout *settingsLayout = new QHBoxLayout(m_ui.frameSettings);
settingsLayout->addWidget(m_config);
settingsLayout->setContentsMargins(0, 0, 0, 0);
- ((QGridLayout *)m_ui.widgetFirstColumn->layout())->addWidget(m_config->getShowHideButton(), 1, 2);
+ ((QGridLayout *)m_ui.widgetConfigButton->layout())->addWidget(m_config->getShowHideButton(), 1, 1);
connect(m_config, SIGNAL(showScene(bool)), this, SLOT(slotShowScene(bool)));
</property>
</widget>
</item>
- <item row="0" column="4" rowspan="5">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="5" column="0" colspan="5">
+ <item row="5" column="0" colspan="7">
<widget class="QFrame" name="frameConfig">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>10</height>
- </size>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
</property>
</widget>
</item>
- <item row="6" column="0" colspan="5">
+ <item row="6" column="0" colspan="7">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
+ <item row="0" column="4" rowspan="4" colspan="3">
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="4" column="6">
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="4" column="5">
+ <widget class="QWidget" name="widgetConfigButton" native="true"/>
+ </item>
</layout>
</widget>
<resources/>
<x>0</x>
<y>0</y>
<width>364</width>
- <height>183</height>
+ <height>187</height>
</rect>
</property>
<property name="windowTitle">
</layout>
</widget>
</item>
- <item row="1" column="2">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="0" colspan="3">
+ <item row="0" column="0" colspan="4">
<widget class="QWidget" name="widgetTimeWrapper" native="true">
<layout class="QGridLayout" name="gridLayout_4">
<property name="margin">
</layout>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QWidget" name="widgetFirstColumn" native="true">
+ <item row="3" column="0" colspan="4">
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="0" colspan="2">
+ <widget class="QFrame" name="frameSettings">
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QWidget" name="widgetConfigButton" native="true">
<layout class="QGridLayout" name="gridLayout_6">
<property name="leftMargin">
<number>0</number>
<property name="spacing">
<number>0</number>
</property>
- <item row="0" column="0" rowspan="2">
- <spacer name="horizontalSpacer_2">
+ <item row="0" column="1">
+ <spacer name="verticalSpacer">
<property name="orientation">
- <enum>Qt::Horizontal</enum>
+ <enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>40</width>
- <height>20</height>
+ <width>20</width>
+ <height>40</height>
</size>
</property>
</spacer>
</item>
- <item row="0" column="1">
- <spacer name="verticalSpacer">
+ <item row="0" column="2">
+ <spacer name="horizontalSpacer_2">
<property name="orientation">
- <enum>Qt::Vertical</enum>
+ <enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>20</width>
- <height>40</height>
+ <width>40</width>
+ <height>20</height>
</size>
</property>
</spacer>
</layout>
</widget>
</item>
- <item row="3" column="0" colspan="3">
- <spacer name="verticalSpacer_2">
+ <item row="1" column="0">
+ <spacer name="horizontalSpacer">
<property name="orientation">
- <enum>Qt::Vertical</enum>
+ <enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>20</width>
- <height>40</height>
+ <width>40</width>
+ <height>20</height>
</size>
</property>
</spacer>
</item>
- <item row="2" column="0" colspan="2">
- <widget class="QFrame" name="frameSettings">
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- </widget>
- </item>
</layout>
</widget>
<resources/>
<rect>
<x>0</x>
<y>0</y>
- <width>340</width>
- <height>114</height>
+ <width>332</width>
+ <height>80</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
+ <property name="margin">
+ <number>0</number>
+ </property>
<item row="0" column="2">
<widget class="QGroupBox" name="groupBox">
<property name="title">
- <string>Settings</string>
+ <string/>
</property>
<property name="flat">
<bool>true</bool>
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
+ <property name="margin">
+ <number>0</number>
+ </property>
<item row="1" column="0">
<widget class="QToolButton" name="buttonZoomFit">
<property name="text">