mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
fix: Properties Window
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -12,12 +12,12 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>900</width>
|
<width>640</width>
|
||||||
<height>0</height>
|
<height>480</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Dialog</string>
|
<string>Properties</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="templateStyleSheet" stdset="0">
|
<property name="templateStyleSheet" stdset="0">
|
||||||
<string>QDialog {
|
<string>QDialog {
|
||||||
@@ -96,100 +96,34 @@
|
|||||||
width: 0px;
|
width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton {
|
QPushButton#tabButton {
|
||||||
background-color: #383838;
|
background-color: #383838;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding: 10px 14px;
|
padding: 8px 18px;
|
||||||
margin: 2px;
|
margin-right: 2px;
|
||||||
border-top-left-radius: 8px;
|
border-top-left-radius: 8px;
|
||||||
border-top-right-radius: 8px;
|
border-top-right-radius: 8px;
|
||||||
border-bottom-left-radius: 8px;
|
border-bottom: none;
|
||||||
border-bottom-right-radius: 8px;
|
min-width: 100px;
|
||||||
min-width: 85px;
|
font-weight: bold;
|
||||||
max-width: 160px;
|
font-size: 10pt;
|
||||||
font-weight: 500;
|
border: 1px solid #3d3d3d;
|
||||||
border: 1px solid #3d3d3d;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton:checked {
|
QPushButton#tabButton:checked {
|
||||||
background-color: %%ACCENT_COLOR%%;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-color: %%ACCENT_COLOR%%;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton:hover:!checked {
|
QPushButton#tabButton:hover:!checked {
|
||||||
background-color: #4d4d4d;
|
background-color: #4d4d4d;
|
||||||
border-color: #5d5d5d;
|
border-color: #5d5d5d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton:pressed {
|
QPushButton#tabButton:pressed {
|
||||||
background-color: %%ACCENT_COLOR_PRESSED%%;
|
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||||
}
|
|
||||||
|
|
||||||
QTabWidget {
|
|
||||||
background-color: #2b2b2b;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabWidget::pane {
|
|
||||||
border: 1px solid #3d3d3d;
|
|
||||||
background-color: #2b2b2b;
|
|
||||||
border-radius: 8px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabWidget::tab-bar {
|
|
||||||
alignment: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabBar {
|
|
||||||
background-color: #2b2b2b;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabBar::tab {
|
|
||||||
background-color: #383838;
|
|
||||||
color: #ffffff;
|
|
||||||
padding: 8px 14px;
|
|
||||||
margin-right: 2px;
|
|
||||||
border-top-left-radius: 8px;
|
|
||||||
border-top-right-radius: 8px;
|
|
||||||
min-width: 85px;
|
|
||||||
font-weight: 500;
|
|
||||||
border: 1px solid #3d3d3d;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabBar::tab:selected {
|
|
||||||
background-color: %%ACCENT_COLOR%%;
|
|
||||||
color: #ffffff;
|
|
||||||
font-weight: bold;
|
|
||||||
border-color: %%ACCENT_COLOR%%;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabBar::tab:hover:!selected {
|
|
||||||
background-color: #4d4d4d;
|
|
||||||
border-color: #5d5d5d;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabBar QToolButton {
|
|
||||||
background-color: #383838;
|
|
||||||
border: 1px solid #3d3d3d;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 4px;
|
|
||||||
margin: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabBar QToolButton:hover {
|
|
||||||
background-color: #4d4d4d;
|
|
||||||
border-color: %%ACCENT_COLOR%%;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTabBar::scroller {
|
|
||||||
width: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox {
|
QGroupBox {
|
||||||
@@ -374,10 +308,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QSlider::groove:horizontal {
|
QSlider::groove:horizontal {
|
||||||
border: 1px solid #5d5d5d;
|
height: 8px;
|
||||||
height: 8px;
|
background: #3d3d3d;
|
||||||
background-color: #3d3d3d;
|
border-radius: 4px;
|
||||||
border-radius: 4px;
|
border: 1px solid #5d5d5d;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::sub-page:horizontal {
|
||||||
|
background: %%ACCENT_COLOR%%;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::add-page:horizontal {
|
||||||
|
background: #3d3d3d;
|
||||||
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSlider::handle:horizontal {
|
QSlider::handle:horizontal {
|
||||||
@@ -447,9 +391,6 @@
|
|||||||
<height>0</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="horizontalScrollBarPolicy">
|
|
||||||
<enum>Qt::ScrollBarAsNeeded</enum>
|
|
||||||
</property>
|
|
||||||
<property name="widgetResizable">
|
<property name="widgetResizable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@@ -459,9 +400,15 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>318</width>
|
<width>318</width>
|
||||||
<height>538</height>
|
<height>600</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>600</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_5">
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||||
<property name="leftMargin">
|
<property name="leftMargin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
@@ -484,7 +431,7 @@
|
|||||||
<item alignment="Qt::AlignHCenter">
|
<item alignment="Qt::AlignHCenter">
|
||||||
<widget class="QGraphicsView" name="icon_view">
|
<widget class="QGraphicsView" name="icon_view">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
@@ -516,180 +463,97 @@
|
|||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<item row="6" column="1">
|
<item row="6" column="1">
|
||||||
<widget class="QLineEdit" name="display_size">
|
<widget class="QLineEdit" name="display_size">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<item row="3" column="1">
|
||||||
<widget class="QLineEdit" name="display_version">
|
<widget class="QLineEdit" name="display_version">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label"><property name="text"><string>Name</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Name</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="4" column="0">
|
||||||
<widget class="QLabel" name="label_4">
|
<widget class="QLabel" name="label_4"><property name="text"><string>Title ID</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Title ID</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="1">
|
<item row="4" column="1">
|
||||||
<widget class="QLineEdit" name="display_title_id">
|
<widget class="QLineEdit" name="display_title_id">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="7" column="1">
|
<item row="7" column="1">
|
||||||
<widget class="QLineEdit" name="display_filename">
|
<widget class="QLineEdit" name="display_filename">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="1">
|
<item row="5" column="1">
|
||||||
<widget class="QLineEdit" name="display_format">
|
<widget class="QLineEdit" name="display_format">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="7" column="0">
|
<item row="7" column="0">
|
||||||
<widget class="QLabel" name="label_7">
|
<widget class="QLabel" name="label_7"><property name="text"><string>Filename</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Filename</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QLineEdit" name="display_name">
|
<widget class="QLineEdit" name="display_name">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1">
|
<item row="2" column="1">
|
||||||
<widget class="QLineEdit" name="display_developer">
|
<widget class="QLineEdit" name="display_developer">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="0">
|
<item row="5" column="0">
|
||||||
<widget class="QLabel" name="label_5">
|
<widget class="QLabel" name="label_5"><property name="text"><string>Format</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Format</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="3" column="0">
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3"><property name="text"><string>Version</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Version</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="0">
|
<item row="6" column="0">
|
||||||
<widget class="QLabel" name="label_6">
|
<widget class="QLabel" name="label_6"><property name="text"><string>Size</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Size</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2"><property name="text"><string>Developer</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Developer</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="0">
|
<item row="8" column="0">
|
||||||
<widget class="QLabel" name="label_build_id">
|
<widget class="QLabel" name="label_build_id"><property name="text"><string>Base Build ID</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Base Build ID</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="1">
|
<item row="8" column="1">
|
||||||
<widget class="QLineEdit" name="display_build_id">
|
<widget class="QLineEdit" name="display_build_id">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="9" column="0">
|
<item row="9" column="0">
|
||||||
<widget class="QLabel" name="label_update_build_id">
|
<widget class="QLabel" name="label_update_build_id"><property name="text"><string>Update Build ID</string></property></widget>
|
||||||
<property name="text">
|
|
||||||
<string>Update Build ID</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="9" column="1">
|
<item row="9" column="1">
|
||||||
<widget class="QLineEdit" name="display_update_build_id">
|
<widget class="QLineEdit" name="display_update_build_id">
|
||||||
<property name="enabled">
|
<property name="enabled"><bool>true</bool></property>
|
||||||
<bool>true</bool>
|
<property name="readOnly"><bool>true</bool></property>
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="10" column="0" colspan="2">
|
<item row="10" column="0" colspan="2">
|
||||||
<widget class="QPushButton" name="trim_xci_button">
|
<widget class="QPushButton" name="trim_xci_button">
|
||||||
<property name="text">
|
<property name="text"><string>Trim XCI File</string></property>
|
||||||
<string>Trim XCI File</string>
|
<property name="toolTip"><string>Remove unused space from XCI file to reduce file size</string></property>
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Remove unused space from XCI file to reduce file size</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer">
|
<spacer name="verticalSpacer">
|
||||||
<property name="orientation">
|
<property name="orientation"><enum>Qt::Vertical</enum></property>
|
||||||
<enum>Qt::Vertical</enum>
|
<property name="sizeHint" stdset="0"><size><width>20</width><height>40</height></size></property>
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
@@ -702,16 +566,19 @@
|
|||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="VerticalLayout">
|
<layout class="QVBoxLayout" name="VerticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2"/>
|
<widget class="QScrollArea" name="tabButtonsScrollArea">
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QScrollArea" name="tabScrollArea">
|
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>60</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="verticalScrollBarPolicy">
|
<property name="verticalScrollBarPolicy">
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
@@ -721,45 +588,37 @@
|
|||||||
<property name="widgetResizable">
|
<property name="widgetResizable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tabScrollAreaWidgetContents">
|
<widget class="QWidget" name="tabButtonsContainer">
|
||||||
<property name="geometry">
|
<layout class="QHBoxLayout" name="tabButtonsLayout">
|
||||||
<rect>
|
<property name="spacing">
|
||||||
<x>0</x>
|
<number>2</number>
|
||||||
<y>0</y>
|
</property>
|
||||||
<width>560</width>
|
<property name="leftMargin">
|
||||||
<height>538</height>
|
<number>0</number>
|
||||||
</rect>
|
</property>
|
||||||
</property>
|
<property name="topMargin">
|
||||||
<layout class="QVBoxLayout" name="tabScrollAreaLayout">
|
<number>0</number>
|
||||||
<item>
|
</property>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<property name="rightMargin">
|
||||||
<property name="enabled">
|
<number>0</number>
|
||||||
<bool>true</bool>
|
</property>
|
||||||
</property>
|
<property name="bottomMargin">
|
||||||
<property name="sizePolicy">
|
<number>0</number>
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
</property>
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="currentIndex">
|
|
||||||
<number>-1</number>
|
|
||||||
</property>
|
|
||||||
<property name="usesScrollButtons">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="documentMode">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="tabsClosable">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QStackedWidget" name="stackedWidget">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
Reference in New Issue
Block a user