[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Bluedevil] de58e91: simplify rich text
From:       Pino Toscano <pino () kde ! org>
Date:       2010-11-13 17:34:13
Message-ID: 20101113173413.3C737A60A6 () git ! kde ! org
[Download RAW message or body]

commit de58e9149cb7d9f74a2989d6017c690d9c57be4c
branch master
Author: Pino Toscano <pino@kde.org>
Date:   Sat Nov 13 18:32:59 2010 +0100

    simplify rich text
    
    use a simpler hand-made html code which is equivalent to the qt one but without \
all the needed stuff, including the harcoded font information

diff --git a/src/wizard/pages/pin.ui b/src/wizard/pages/pin.ui
index 033af79..6ae86a3 100644
--- a/src/wizard/pages/pin.ui
+++ b/src/wizard/pages/pin.ui
@@ -113,11 +113,7 @@
        <item>
         <widget class="QLabel" name="label_2">
          <property name="text">
-          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; \
                &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; \
                /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; \
                font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Choose this option \
only if you know the PIN of your devices which &lt;span style=&quot; \
font-weight:600;&quot;&gt;cannot be empty&lt;/span&gt; and must be at least &lt;span \
style=&quot; font-weight:600;&quot;&gt;4 numbers \
&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> +          \
<string>&lt;html&gt;&lt;body&gt;&lt;p&gt;Choose this option only if you know the PIN \
of your devices which &lt;b&gt;cannot be empty&lt;/b&gt; and must be at least \
&lt;b&gt;4 numbers&lt;/b&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>  \
</property>  <property name="wordWrap">
           <bool>true</bool>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic