[vlc-commits] Qt: increase the size for the license and network dialog
Jean-Baptiste Kempf
git at videolan.org
Thu Dec 6 23:53:28 CET 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Dec 6 23:44:59 2012 +0100| [14793f5c7616d51b824e477c0ca52c800ed8f7c5] | committer: Jean-Baptiste Kempf
Qt: increase the size for the license and network dialog
Close #6556
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=14793f5c7616d51b824e477c0ca52c800ed8f7c5
---
modules/gui/qt4/components/open_panels.cpp | 4 ++++
modules/gui/qt4/ui/about.ui | 14 --------------
modules/gui/qt4/ui/open_net.ui | 22 +++++++++-------------
3 files changed, 13 insertions(+), 27 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 0da8b63..2c9a186 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -656,6 +656,10 @@ NetOpenPanel::NetOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
else
b_recentList = false;
+ QFont smallFont = QApplication::font();
+ smallFont.setPointSize( smallFont.pointSize() - 1 );
+ ui.examples->setFont( smallFont );
+
/* Use a simple validator for URLs */
ui.urlComboBox->setValidator( new UrlValidator( this ) );
ui.urlComboBox->setFocus();
diff --git a/modules/gui/qt4/ui/about.ui b/modules/gui/qt4/ui/about.ui
index 109853b..cbaf7ec 100644
--- a/modules/gui/qt4/ui/about.ui
+++ b/modules/gui/qt4/ui/about.ui
@@ -134,25 +134,11 @@
<property name="font">
<font>
<family>Courier</family>
- <pointsize>9</pointsize>
</font>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
- <property name="html">
- <string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-<html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Courier'; font-size:9pt; font-weight:400; font-style:normal;">
-<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
-<tr>
-<td style="border: none;">
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p></td></tr></table></body></html></string>
- </property>
<property name="acceptRichText">
<bool>false</bool>
</property>
diff --git a/modules/gui/qt4/ui/open_net.ui b/modules/gui/qt4/ui/open_net.ui
index 35799cd..e565ff3 100644
--- a/modules/gui/qt4/ui/open_net.ui
+++ b/modules/gui/qt4/ui/open_net.ui
@@ -35,20 +35,16 @@
</widget>
</item>
<item row="2" column="0">
- <widget class="QLabel" name="label">
+ <widget class="QLabel" name="examples">
+ <property name="styleSheet">
+ <string notr="true">color: #838383; </string>
+ </property>
<property name="text">
- <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-<html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
-p { margin: 0; -qt-block-indent: 0; text-indent: 0;}
-body { font-family: 'sans'; font-size: 8pt; font-weight: 400; }
-p > span { color: #838383; }
-</style></head><body>
-<p><span>http://www.example.com/stream.avi</span></p>
-<p><span>rtp://@:1234</span></p>
-<p><span>mms://mms.examples.com/stream.asx</span></p>
-<p><span>rtsp://server.example.org:8080/test.sdp</span></p>
-<p><span>http://www.yourtube.com/watch?v=gg64x</span></p></body></html></string>
+ <string notr="true">http://www.example.com/stream.avi
+rtp://@:1234
+mms://mms.examples.com/stream.asx
+rtsp://server.example.org:8080/test.sdp
+http://www.yourtube.com/watch?v=gg64x</string>
</property>
<property name="margin">
<number>5</number>
More information about the vlc-commits
mailing list