Removed fix font size from plugins (Patch from Henry).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8564 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-28 10:26:48 +00:00
parent 3a71b8b662
commit 2494f02bbb
6 changed files with 28 additions and 30 deletions

View File

@ -92,7 +92,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="titleLabel"> <widget class="StyledLabel" name="titleLabel">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -101,7 +101,6 @@
</property> </property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>11</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
@ -337,6 +336,13 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>StyledLabel</class>
<extends>QLabel</extends>
<header>gui/common/StyledLabel.h</header>
</customwidget>
</customwidgets>
<resources> <resources>
<include location="FeedReader_images.qrc"/> <include location="FeedReader_images.qrc"/>
<include location="../../../retroshare-gui/src/gui/images.qrc"/> <include location="../../../retroshare-gui/src/gui/images.qrc"/>

View File

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

View File

@ -32,11 +32,6 @@
<layout class="QGridLayout"> <layout class="QGridLayout">
<item row="0" column="0" colspan="13"> <item row="0" column="0" colspan="13">
<widget class="QTreeWidget" name="linkTreeWidget"> <widget class="QTreeWidget" name="linkTreeWidget">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="contextMenuPolicy"> <property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum> <enum>Qt::CustomContextMenu</enum>
</property> </property>
@ -522,7 +517,6 @@ background: white;}</string>
<widget class="QLabel" name="titleBarLabel"> <widget class="QLabel" name="titleBarLabel">
<property name="font"> <property name="font">
<font> <font>
<pointsize>10</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>

View File

@ -23,11 +23,6 @@
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text"> <property name="text">
<string>This is the audio tuning wizard for RetroShare. This will help you correctly set the input levels of your sound card, and also set the correct parameters for sound processing in Retroshare. </string> <string>This is the audio tuning wizard for RetroShare. This will help you correctly set the input levels of your sound card, and also set the correct parameters for sound processing in Retroshare. </string>
</property> </property>
@ -61,11 +56,6 @@
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
<widget class="QLabel" name="qliVolumeTuningText"> <widget class="QLabel" name="qliVolumeTuningText">
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text"> <property name="text">
<string>&lt;p &gt;Open your sound control panel and go to the recording settings. Make sure the microphone is selected as active input with maximum recording volume. If there's an option to enable a &amp;quot;Microphone boost&amp;quot; make sure it's checked. &lt;/p&gt; <string>&lt;p &gt;Open your sound control panel and go to the recording settings. Make sure the microphone is selected as active input with maximum recording volume. If there's an option to enable a &amp;quot;Microphone boost&amp;quot; make sure it's checked. &lt;/p&gt;
&lt;p&gt;Speak loudly, as when you are annoyed or excited. Decrease the volume in the sound control panel until the bar below stays as high as possible in the green and orange but not the red zone while you speak. &lt;/p&gt;</string> &lt;p&gt;Speak loudly, as when you are annoyed or excited. Decrease the volume in the sound control panel until the bar below stays as high as possible in the green and orange but not the red zone while you speak. &lt;/p&gt;</string>
@ -77,11 +67,6 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="qliAmpTuningText"> <widget class="QLabel" name="qliAmpTuningText">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text"> <property name="text">
<string>Talk normally, and adjust the slider below so that the bar moves into green when you talk, and doesn't go into the orange zone.</string> <string>Talk normally, and adjust the slider below so that the bar moves into green when you talk, and doesn't go into the orange zone.</string>
</property> </property>
@ -303,11 +288,6 @@
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<widget class="QLabel" name="qlDone"> <widget class="QLabel" name="qlDone">
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text"> <property name="text">
<string>Congratulations. You should now be ready to enjoy a richer sound experience with Retroshare.</string> <string>Congratulations. You should now be ready to enjoy a richer sound experience with Retroshare.</string>
</property> </property>

View File

@ -125,7 +125,7 @@
<item row="1" column="0"> <item row="1" column="0">
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLabel" name="textLabel"> <widget class="StyledLabel" name="textLabel">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
@ -140,7 +140,6 @@
</property> </property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>10</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
@ -214,6 +213,11 @@ background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.67,
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>StyledLabel</class>
<extends>QLabel</extends>
<header>gui/common/StyledLabel.h</header>
</customwidget>
<customwidget> <customwidget>
<class>AvatarWidget</class> <class>AvatarWidget</class>
<extends>QLabel</extends> <extends>QLabel</extends>

View File

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