asset browser: overlay ui update

This commit is contained in:
Balkron
2020-11-18 00:25:56 +05:00
parent 22f89b6f02
commit 143f9a7ba3
3 changed files with 88 additions and 5 deletions

Binary file not shown.

View File

@@ -31,12 +31,12 @@
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing"> <property name="spacing">
<number>-1</number> <number>6</number>
</property> </property>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_8"> <layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="spacing"> <property name="spacing">
<number>-1</number> <number>6</number>
</property> </property>
<property name="sizeConstraint"> <property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum> <enum>QLayout::SetDefaultConstraint</enum>
@@ -67,6 +67,12 @@
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
@@ -101,6 +107,12 @@
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
@@ -135,6 +147,12 @@
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
@@ -169,6 +187,12 @@
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
@@ -203,6 +227,12 @@
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
@@ -234,6 +264,12 @@
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
@@ -330,7 +366,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton"> <widget class="QPushButton" name="cameraResetButton">
<property name="text"> <property name="text">
<string>Reset</string> <string>Reset</string>
</property> </property>
@@ -353,13 +389,19 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="accessibleName">
<string>overlay_label</string>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="text"> <property name="text">
<string>Doodadset:</string> <string>Doodadset:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="comboBox"/> <widget class="QComboBox" name="doodadSetSelector"/>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_4"> <spacer name="horizontalSpacer_4">
@@ -376,6 +418,9 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="accessibleName">
<string>overlay_label</string>
</property>
<property name="text"> <property name="text">
<string>Move sensitivity:</string> <string>Move sensitivity:</string>
</property> </property>
@@ -383,6 +428,12 @@
</item> </item>
<item> <item>
<widget class="QSlider" name="moveSensitivitySlider"> <widget class="QSlider" name="moveSensitivitySlider">
<property name="accessibleName">
<string>overlay_slider_horizontal</string>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@@ -424,6 +475,12 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="accessibleName">
<string>overlay_label</string>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="text"> <property name="text">
<string>Light direction:</string> <string>Light direction:</string>
</property> </property>
@@ -454,6 +511,9 @@
<height>100</height> <height>100</height>
</size> </size>
</property> </property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="minimum"> <property name="minimum">
<number>-180</number> <number>-180</number>
</property> </property>
@@ -491,6 +551,9 @@
<height>100</height> <height>100</height>
</size> </size>
</property> </property>
<property name="accessibleName">
<string>overlay_slider_vertical</string>
</property>
<property name="minimum"> <property name="minimum">
<number>-180</number> <number>-180</number>
</property> </property>
@@ -503,6 +566,12 @@
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@@ -101,7 +101,21 @@ namespace noggit
VISIBILITY_HOLE_LINES = 0xf8b7, VISIBILITY_HOLE_LINES = 0xf8b7,
VISIBILITY_ANIMATION = 0xf8b8, VISIBILITY_ANIMATION = 0xf8b8,
VISIBILITY_ANIMATION_2 = 0xf8b8, VISIBILITY_ANIMATION_2 = 0xf8b8,
VISIBILITY_LIGHT = 0xf8ba VISIBILITY_LIGHT = 0xf8ba,
INFO = 0xf8bb,
VISIBILITY_PARTICLES = 0xf8bc,
TIME_NORMAL = 0xf8bd,
TIME_PAUSE = 0xf8be,
TIME_SPEED = 0xf8bf,
CAMERA_TURN = 0xf8c0,
CAMERA_SPEED_SLOWER = 0xf8c1,
CAMERA_SPEED_FASTER = 0xf8c2,
TEXTURE_PALETTE = 0xf8c3,
TEXTURE_PALETTE_FAVORITE = 0xf8c4,
MOUSE_INVERT = 0xf8c5,
UI_TOGGLE = 0xf8c6,
VIEW_MODE_2D = 0xf8c7,
VIEW_AXIS = 0xf8c8
}; };
}; };