Show
Ignore:
Timestamp:
03/23/06 18:48:53 (3 years ago)
Author:
hipplej
Message:

Replace evil rich text on forms with good ol' plaintext. Wrap strings sprinkled throughout code in a blanket of tr() goodness.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/config/configdialog.ui

    r437 r469  
    99    <x>0</x> 
    1010    <y>0</y> 
    11     <width>334</width> 
    12     <height>322</height> 
     11    <width>566</width> 
     12    <height>403</height> 
    1313   </rect> 
    1414  </property> 
     
    871871                 </property> 
    872872                 <property name="text" > 
    873                   <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#000000;">Address:&lt;/span>&lt;/p>&lt;/body>&lt;/html></string> 
     873                  <string>Address:</string> 
    874874                 </property> 
    875875                 <property name="alignment" > 
     
    917917               </item> 
    918918               <item row="6" column="0" colspan="3" > 
    919                 <widget class="QLabel" name="label_5" > 
     919                <widget class="QLabel" name="lblRequired" > 
    920920                 <property name="layoutDirection" > 
    921921                  <enum>Qt::LeftToRight</enum> 
    922922                 </property> 
    923923                 <property name="text" > 
    924                   <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#ff0000;">Required Fields&lt;/span>&lt;/p>&lt;/body>&lt;/html></string> 
     924                  <string>Nickname and Server Port are required</string> 
     925                 </property> 
     926                 <property name="textFormat" > 
     927                  <enum>Qt::AutoText</enum> 
    925928                 </property> 
    926929                 <property name="alignment" > 
     
    980983                     </property> 
    981984                     <property name="text" > 
    982                       <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Directory Port:&lt;/p>&lt;/body>&lt;/html></string> 
     985                      <string>Directory Port:</string> 
    983986                     </property> 
    984987                    </widget> 
     
    10481051                   </property> 
    10491052                   <item> 
    1050                     <widget class="QLabel" name="label" > 
     1053                    <widget class="QLabel" name="lblServerPort" > 
    10511054                     <property name="contextMenuPolicy" > 
    10521055                      <enum>Qt::NoContextMenu</enum> 
    10531056                     </property> 
    10541057                     <property name="text" > 
    1055                       <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#ff0000;">Server Port:&lt;/span>&lt;/p>&lt;/body>&lt;/html></string> 
     1058                      <string>Server Port:</string> 
    10561059                     </property> 
    10571060                     <property name="alignment" > 
     
    11241127                   </property> 
    11251128                   <property name="text" > 
    1126                     <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Contact Info:&lt;/p>&lt;/body>&lt;/html></string> 
     1129                    <string>Contact Info:</string> 
    11271130                   </property> 
    11281131                   <property name="alignment" > 
     
    11551158                 </property> 
    11561159                 <item> 
    1157                   <widget class="QLabel" name="label_2" > 
     1160                  <widget class="QLabel" name="lblNickname" > 
    11581161                   <property name="contextMenuPolicy" > 
    11591162                    <enum>Qt::NoContextMenu</enum> 
    11601163                   </property> 
    11611164                   <property name="text" > 
    1162                     <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#ff0000;">Nickname:&lt;/span>&lt;/p>&lt;/body>&lt;/html></string> 
     1165                    <string>Nickname:</string> 
     1166                   </property> 
     1167                   <property name="textFormat" > 
     1168                    <enum>Qt::AutoText</enum> 
    11631169                   </property> 
    11641170                   <property name="alignment" > 
     
    17591765                </property> 
    17601766                <property name="text" > 
    1761                  <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#000000;">Run as User:&lt;/span>&lt;/p>&lt;/body>&lt;/html></string> 
     1767                 <string>Run as User:</string> 
    17621768                </property> 
    17631769                <property name="indent" > 
     
    17921798                </property> 
    17931799                <property name="text" > 
    1794                  <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Arial; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#000000;">Run as Group:&lt;/span>&lt;/p>&lt;/body>&lt;/html></string> 
     1800                 <string>Run as Group:</string> 
    17951801                </property> 
    17961802               </widget>