StyleSheet Rewrite

Use QDarkStyle to make Standard_Dark.qss and Standard_Light.qss
Use Widget name to stylize them.
This commit is contained in:
Phenom 2021-04-09 11:54:57 +02:00
parent 16ca0dc52c
commit d7981f3811
772 changed files with 12162 additions and 11459 deletions

View file

@ -375,7 +375,7 @@ void VOIPConfigPanel::on_qpbAudioWizard_clicked() {
void VOIPConfigPanel::on_changedCurrentInputDevice(int i)
{
QString s = dynamic_cast<QComboBox*>(sender())->itemData(i).toString();
QString s = dynamic_cast<RSComboBox*>(sender())->itemData(i).toString();
videoInput->stop();

View file

@ -63,7 +63,7 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="inputDevice_CB"/>
<widget class="RSComboBox" name="inputDevice_CB"/>
</item>
<item>
<widget class="QLabel" name="label_2">
@ -257,7 +257,7 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="qcbTransmit">
<widget class="RSComboBox" name="qcbTransmit">
<property name="toolTip">
<string>When to transmit your speech</string>
</property>
@ -510,6 +510,11 @@
<header>gui/AudioStats.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>RSComboBox</class>
<extends>QComboBox</extends>
<header>gui/common/RSComboBox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>qsDoublePush</tabstop>

View file

@ -22,7 +22,7 @@
<height>102</height>
</size>
</property>
<layout class="QHBoxLayout">
<layout class="QHBoxLayout" name="VOIPToasterItem_HL">
<property name="spacing">
<number>0</number>
</property>
@ -39,14 +39,14 @@
<number>0</number>
</property>
<item>
<widget class="QFrame" name="windowFrame">
<widget class="QFrame" name="toasterFrame">
<property name="frameShape">
<enum>QFrame::WinPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QGridLayout" name="toasterFrame_GL">
<property name="leftMargin">
<number>2</number>
</property>
@ -63,7 +63,7 @@
<number>2</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout">
<layout class="QHBoxLayout" name="toaster_HL">
<property name="spacing">
<number>6</number>
</property>
@ -97,13 +97,20 @@
</item>
<item>
<widget class="QLabel" name="toasterLabel">
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string notr="true">RetroShare</string>
</property>
</widget>
</item>
<item>
<spacer>
<spacer name="toaster_HSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -141,7 +148,7 @@
</layout>
</item>
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout">
<layout class="QGridLayout" name="buttons_GL">
<property name="spacing">
<number>6</number>
</property>
@ -240,7 +247,7 @@ background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.67,
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="StyledLabel" name="textLabel">
<widget class="QLabel" name="textLabel">
<property name="minimumSize">
<size>
<width>0</width>
@ -255,6 +262,7 @@ background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.67,
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
@ -272,11 +280,6 @@ background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.67,
</layout>
</widget>
<customwidgets>
<customwidget>
<class>StyledLabel</class>
<extends>QLabel</extends>
<header>gui/common/StyledLabel.h</header>
</customwidget>
<customwidget>
<class>AvatarWidget</class>
<extends>QLabel</extends>

View file

@ -1 +1 @@
/* Standard stylesheet for FeedReader */
/* Standard stylesheet for VOIP */

View file

@ -1,9 +1,3 @@
/* Default stylesheet
This file is used as default for all stylesheets and can be overloaded */
/* Font */
VOIPToasterItem QLabel#textLabel
{
qproperty-fontSizeFactor: 115;
}

View file

@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/qss/stylesheet/VOIP">
<file>VOIP_qss.default</file>
<file>VOIP_default.qss</file>
<file>VOIP_Standard.qss</file>
</qresource>
</RCC>