Fixed: Layout of some interfaces in Ryzom Configuration

This commit is contained in:
kervala 2016-10-31 18:56:55 +01:00
parent e3f19b09c4
commit 4147409762
5 changed files with 94 additions and 216 deletions

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>941</width> <width>941</width>
<height>567</height> <height>558</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -31,7 +31,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="resources.qrc">:/resources/left_bitmap_0.png</pixmap> <pixmap resource="../resources/resources.qrc">:/resources/left_bitmap_0.png</pixmap>
</property> </property>
</widget> </widget>
</item> </item>
@ -51,7 +51,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,1">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>
@ -60,7 +60,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="resources.qrc">:/resources/general_icon.png</pixmap> <pixmap resource="../resources/resources.qrc">:/resources/general_icon.png</pixmap>
</property> </property>
</widget> </widget>
</item> </item>
@ -269,6 +269,7 @@
</layout> </layout>
</widget> </widget>
<resources> <resources>
<include location="../resources/resources.qrc"/>
<include location="resources.qrc"/> <include location="resources.qrc"/>
</resources> </resources>
<connections/> <connections/>

View file

@ -6,46 +6,29 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>391</width> <width>530</width>
<height>429</height> <height>573</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Display details</string> <string>Display details</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_5">
<item> <item>
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="landscapeGroupBox">
<property name="title"> <property name="title">
<string>Landscape</string> <string>Landscape</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout"> <widget class="QLabel" name="landscapeLabel">
<item> <property name="text">
<layout class="QHBoxLayout" name="horizontalLayout"> <string>Level of detail</string>
<item> </property>
<widget class="QLabel" name="label"> </widget>
<property name="text"> </item>
<string>Level of detail</string> <item>
</property> <layout class="QHBoxLayout" name="landscapeHorizontalLayout" stretch="1,0">
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>98</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<widget class="QSlider" name="landscapeSlider"> <widget class="QSlider" name="landscapeSlider">
<property name="sizePolicy"> <property name="sizePolicy">
@ -65,25 +48,8 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item> <item>
<spacer name="horizontalSpacer_2"> <widget class="QLabel" name="landscapeValLabel">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>78</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="landscapeLabel">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -101,37 +67,20 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_2"> <widget class="QGroupBox" name="charactersGroupBox">
<property name="title"> <property name="title">
<string>Characters</string> <string>Characters</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_2"> <widget class="QLabel" name="charactersLabel">
<item> <property name="text">
<layout class="QHBoxLayout" name="horizontalLayout_3"> <string>Level of detail</string>
<item> </property>
<widget class="QLabel" name="label_3"> </widget>
<property name="text"> </item>
<string>Level of detail</string> <item>
</property> <layout class="QHBoxLayout" name="charactersHorizontalLayout" stretch="1,0">
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>98</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<widget class="QSlider" name="charactersSlider"> <widget class="QSlider" name="charactersSlider">
<property name="sizePolicy"> <property name="sizePolicy">
@ -151,25 +100,8 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item> <item>
<spacer name="horizontalSpacer_6"> <widget class="QLabel" name="characterValLabel">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>78</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="characterLabel">
<property name="text"> <property name="text">
<string>Low</string> <string>Low</string>
</property> </property>
@ -181,37 +113,20 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="fxGroupBox">
<property name="title"> <property name="title">
<string>FX</string> <string>FX</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_3"> <widget class="QLabel" name="fxLabel">
<item> <property name="text">
<layout class="QHBoxLayout" name="horizontalLayout_4"> <string>Level of detail</string>
<item> </property>
<widget class="QLabel" name="label_5"> </widget>
<property name="text"> </item>
<string>Level of detail</string> <item>
</property> <layout class="QHBoxLayout" name="fxHorizontalLayout" stretch="1,0">
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>98</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<widget class="QSlider" name="fxSlider"> <widget class="QSlider" name="fxSlider">
<property name="sizePolicy"> <property name="sizePolicy">
@ -231,25 +146,8 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item> <item>
<spacer name="horizontalSpacer_7"> <widget class="QLabel" name="fxValLabel">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>78</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="fxLabel">
<property name="text"> <property name="text">
<string>Low</string> <string>Low</string>
</property> </property>
@ -261,37 +159,20 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_4"> <widget class="QGroupBox" name="texturesGroupBox">
<property name="title"> <property name="title">
<string>Textures</string> <string>Textures</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_8"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_4"> <widget class="QLabel" name="texturesLabel">
<item> <property name="text">
<layout class="QHBoxLayout" name="horizontalLayout_5"> <string>Level of detail</string>
<item> </property>
<widget class="QLabel" name="label_7"> </widget>
<property name="text"> </item>
<string>Level of detail</string> <item>
</property> <layout class="QHBoxLayout" name="texturesHorizontalLayout" stretch="1,0">
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>98</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<widget class="QSlider" name="texturesSlider"> <widget class="QSlider" name="texturesSlider">
<property name="sizePolicy"> <property name="sizePolicy">
@ -311,25 +192,8 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item> <item>
<spacer name="horizontalSpacer_8"> <widget class="QLabel" name="texturesValLabel">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>78</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="textureLabel">
<property name="text"> <property name="text">
<string>Low</string> <string>Low</string>
</property> </property>
@ -340,6 +204,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>224</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>391</width> <width>391</width>
<height>388</height> <height>467</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -135,6 +135,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>294</width> <width>294</width>
<height>317</height> <height>415</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -125,22 +125,22 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>391</width> <width>391</width>
<height>429</height> <height>463</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -129,19 +129,6 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>99</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">