Changeset 430

Show
Ignore:
Timestamp:
03/14/06 17:15:42 (3 years ago)
Author:
hipplej
Message:

Attempt to fix the rest of the buttons. Hope this works.

Location:
trunk/src/gui
Files:
2 modified

Legend:

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

    r429 r430  
    99    <x>0</x> 
    1010    <y>0</y> 
    11     <width>416</width> 
    12     <height>342</height> 
     11    <width>334</width> 
     12    <height>322</height> 
    1313   </rect> 
    1414  </property> 
     
    848848            </property> 
    849849            <property name="spacing" > 
    850              <number>6</number> 
     850             <number>0</number> 
    851851            </property> 
    852852            <item> 
     
    858858               <string>Server Configuration</string> 
    859859              </property> 
    860               <layout class="QVBoxLayout" > 
     860              <layout class="QGridLayout" > 
    861861               <property name="margin" > 
    862862                <number>9</number> 
     
    865865                <number>6</number> 
    866866               </property> 
    867                <item> 
     867               <item row="3" column="0" > 
     868                <widget class="QLabel" name="label_4" > 
     869                 <property name="contextMenuPolicy" > 
     870                  <enum>Qt::NoContextMenu</enum> 
     871                 </property> 
     872                 <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> 
     874                 </property> 
     875                 <property name="alignment" > 
     876                  <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 
     877                 </property> 
     878                 <property name="margin" > 
     879                  <number>0</number> 
     880                 </property> 
     881                 <property name="indent" > 
     882                  <number>21</number> 
     883                 </property> 
     884                </widget> 
     885               </item> 
     886               <item row="3" column="2" > 
     887                <widget class="QPushButton" name="btnGetAddress" > 
     888                 <property name="minimumSize" > 
     889                  <size> 
     890                   <width>0</width> 
     891                   <height>0</height> 
     892                  </size> 
     893                 </property> 
     894                 <property name="contextMenuPolicy" > 
     895                  <enum>Qt::NoContextMenu</enum> 
     896                 </property> 
     897                 <property name="toolTip" > 
     898                  <string>Attempts to determine the correct address for your server</string> 
     899                 </property> 
     900                 <property name="text" > 
     901                  <string>Get Address</string> 
     902                 </property> 
     903                </widget> 
     904               </item> 
     905               <item row="3" column="1" > 
     906                <widget class="QLineEdit" name="lineServerAddress" > 
     907                 <property name="cursor" > 
     908                  <cursor>4</cursor> 
     909                 </property> 
     910                 <property name="contextMenuPolicy" > 
     911                  <enum>Qt::NoContextMenu</enum> 
     912                 </property> 
     913                 <property name="toolTip" > 
     914                  <string>Domain name or IP address of your server</string> 
     915                 </property> 
     916                </widget> 
     917               </item> 
     918               <item row="6" column="0" colspan="3" > 
     919                <widget class="QLabel" name="label_5" > 
     920                 <property name="layoutDirection" > 
     921                  <enum>Qt::LeftToRight</enum> 
     922                 </property> 
     923                 <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> 
     925                 </property> 
     926                 <property name="alignment" > 
     927                  <set>Qt::AlignCenter</set> 
     928                 </property> 
     929                </widget> 
     930               </item> 
     931               <item row="5" column="0" colspan="3" > 
     932                <widget class="QCheckBox" name="chkMiddleMan" > 
     933                 <property name="contextMenuPolicy" > 
     934                  <enum>Qt::NoContextMenu</enum> 
     935                 </property> 
     936                 <property name="toolTip" > 
     937                  <string>If selected, clients will not exit the Tor network through your server</string> 
     938                 </property> 
     939                 <property name="text" > 
     940                  <string>Only relay traffic between other Tor servers (middle-man)</string> 
     941                 </property> 
     942                </widget> 
     943               </item> 
     944               <item row="4" column="0" colspan="3" > 
    868945                <layout class="QHBoxLayout" > 
    869946                 <property name="margin" > 
     
    874951                 </property> 
    875952                 <item> 
    876                   <widget class="QLabel" name="label_2" > 
     953                  <widget class="QCheckBox" name="chkMirrorDirectory" > 
    877954                   <property name="contextMenuPolicy" > 
    878955                    <enum>Qt::NoContextMenu</enum> 
    879956                   </property> 
     957                   <property name="toolTip" > 
     958                    <string>Enable to mirror the server directory</string> 
     959                   </property> 
    880960                   <property name="text" > 
    881                     <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> 
    882                    </property> 
    883                    <property name="alignment" > 
    884                     <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 
    885                    </property> 
    886                    <property name="margin" > 
    887                     <number>-1</number> 
    888                    </property> 
    889                    <property name="indent" > 
    890                     <number>13</number> 
     961                    <string>Mirror the Server Directory </string> 
    891962                   </property> 
    892963                  </widget> 
    893964                 </item> 
    894965                 <item> 
    895                   <widget class="QLineEdit" name="lineServerNickname" > 
    896                    <property name="cursor" > 
    897                     <cursor>4</cursor> 
    898                    </property> 
    899                    <property name="contextMenuPolicy" > 
    900                     <enum>Qt::NoContextMenu</enum> 
    901                    </property> 
    902                    <property name="toolTip" > 
    903                     <string>Name of your server</string> 
    904                    </property> 
    905                    <property name="text" > 
    906                     <string/> 
    907                    </property> 
    908                   </widget> 
     966                  <layout class="QHBoxLayout" > 
     967                   <property name="margin" > 
     968                    <number>0</number> 
     969                   </property> 
     970                   <property name="spacing" > 
     971                    <number>6</number> 
     972                   </property> 
     973                   <item> 
     974                    <widget class="QLabel" name="lblDirPort" > 
     975                     <property name="enabled" > 
     976                      <bool>false</bool> 
     977                     </property> 
     978                     <property name="contextMenuPolicy" > 
     979                      <enum>Qt::NoContextMenu</enum> 
     980                     </property> 
     981                     <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> 
     983                     </property> 
     984                    </widget> 
     985                   </item> 
     986                   <item> 
     987                    <widget class="QLineEdit" name="lineDirPort" > 
     988                     <property name="enabled" > 
     989                      <bool>false</bool> 
     990                     </property> 
     991                     <property name="sizePolicy" > 
     992                      <sizepolicy> 
     993                       <hsizetype>0</hsizetype> 
     994                       <vsizetype>0</vsizetype> 
     995                       <horstretch>0</horstretch> 
     996                       <verstretch>0</verstretch> 
     997                      </sizepolicy> 
     998                     </property> 
     999                     <property name="maximumSize" > 
     1000                      <size> 
     1001                       <width>50</width> 
     1002                       <height>16777215</height> 
     1003                      </size> 
     1004                     </property> 
     1005                     <property name="cursor" > 
     1006                      <cursor>4</cursor> 
     1007                     </property> 
     1008                     <property name="contextMenuPolicy" > 
     1009                      <enum>Qt::NoContextMenu</enum> 
     1010                     </property> 
     1011                     <property name="toolTip" > 
     1012                      <string>Directory Port Number</string> 
     1013                     </property> 
     1014                    </widget> 
     1015                   </item> 
     1016                  </layout> 
     1017                 </item> 
     1018                 <item> 
     1019                  <spacer> 
     1020                   <property name="orientation" > 
     1021                    <enum>Qt::Horizontal</enum> 
     1022                   </property> 
     1023                   <property name="sizeHint" > 
     1024                    <size> 
     1025                     <width>40</width> 
     1026                     <height>20</height> 
     1027                    </size> 
     1028                   </property> 
     1029                  </spacer> 
    9091030                 </item> 
    9101031                </layout> 
    9111032               </item> 
    912                <item> 
    913                 <layout class="QHBoxLayout" > 
    914                  <property name="margin" > 
    915                   <number>0</number> 
    916                  </property> 
    917                  <property name="spacing" > 
    918                   <number>6</number> 
    919                  </property> 
    920                  <item> 
    921                   <widget class="QLabel" name="label_1" > 
    922                    <property name="contextMenuPolicy" > 
    923                     <enum>Qt::NoContextMenu</enum> 
    924                    </property> 
    925                    <property name="text" > 
    926                     <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> 
    927                    </property> 
    928                    <property name="alignment" > 
    929                     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 
    930                    </property> 
    931                   </widget> 
    932                  </item> 
    933                  <item> 
    934                   <widget class="QLineEdit" name="lineServerContact" > 
    935                    <property name="cursor" > 
    936                     <cursor>4</cursor> 
    937                    </property> 
    938                    <property name="contextMenuPolicy" > 
    939                     <enum>Qt::NoContextMenu</enum> 
    940                    </property> 
    941                    <property name="toolTip" > 
    942                     <string>Email address at which you may be reached if there is a problem with your server</string> 
    943                    </property> 
    944                   </widget> 
    945                  </item> 
    946                 </layout> 
    947                </item> 
    948                <item> 
     1033               <item row="2" column="0" colspan="3" > 
    9491034                <layout class="QHBoxLayout" > 
    9501035                 <property name="margin" > 
     
    10251110                </layout> 
    10261111               </item> 
    1027                <item> 
     1112               <item row="1" column="0" colspan="3" > 
    10281113                <layout class="QHBoxLayout" > 
    10291114                 <property name="margin" > 
     
    10341119                 </property> 
    10351120                 <item> 
    1036                   <widget class="QLabel" name="label_4" > 
     1121                  <widget class="QLabel" name="label_1" > 
    10371122                   <property name="contextMenuPolicy" > 
    10381123                    <enum>Qt::NoContextMenu</enum> 
    10391124                   </property> 
    10401125                   <property name="text" > 
    1041                     <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> 
     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> 
    10421127                   </property> 
    10431128                   <property name="alignment" > 
    1044                     <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 
    1045                    </property> 
    1046                    <property name="margin" > 
    1047                     <number>0</number> 
    1048                    </property> 
    1049                    <property name="indent" > 
    1050                     <number>21</number> 
     1129                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 
    10511130                   </property> 
    10521131                  </widget> 
    10531132                 </item> 
    10541133                 <item> 
    1055                   <widget class="QLineEdit" name="lineServerAddress" > 
     1134                  <widget class="QLineEdit" name="lineServerContact" > 
    10561135                   <property name="cursor" > 
    10571136                    <cursor>4</cursor> 
     
    10611140                   </property> 
    10621141                   <property name="toolTip" > 
    1063                     <string>Domain name or IP address of your server</string> 
    1064                    </property> 
    1065                   </widget> 
    1066                  </item> 
    1067                  <item> 
    1068                   <widget class="QPushButton" name="btnGetAddress" > 
    1069                    <property name="minimumSize" > 
    1070                     <size> 
    1071                      <width>0</width> 
    1072                      <height>30</height> 
    1073                     </size> 
    1074                    </property> 
    1075                    <property name="contextMenuPolicy" > 
    1076                     <enum>Qt::NoContextMenu</enum> 
    1077                    </property> 
    1078                    <property name="toolTip" > 
    1079                     <string>Attempts to determine the correct address for your server</string> 
    1080                    </property> 
    1081                    <property name="text" > 
    1082                     <string>Get Address</string> 
     1142                    <string>Email address at which you may be reached if there is a problem with your server</string> 
    10831143                   </property> 
    10841144                  </widget> 
     
    10861146                </layout> 
    10871147               </item> 
    1088                <item> 
     1148               <item row="0" column="0" colspan="3" > 
    10891149                <layout class="QHBoxLayout" > 
    10901150                 <property name="margin" > 
     
    10951155                 </property> 
    10961156                 <item> 
    1097                   <widget class="QCheckBox" name="chkMirrorDirectory" > 
     1157                  <widget class="QLabel" name="label_2" > 
    10981158                   <property name="contextMenuPolicy" > 
    10991159                    <enum>Qt::NoContextMenu</enum> 
    11001160                   </property> 
    1101                    <property name="toolTip" > 
    1102                     <string>Enable to mirror the server directory</string> 
    1103                    </property> 
    11041161                   <property name="text" > 
    1105                     <string>Mirror the Server Directory </string> 
     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> 
     1163                   </property> 
     1164                   <property name="alignment" > 
     1165                    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 
     1166                   </property> 
     1167                   <property name="margin" > 
     1168                    <number>-1</number> 
     1169                   </property> 
     1170                   <property name="indent" > 
     1171                    <number>13</number> 
    11061172                   </property> 
    11071173                  </widget> 
    11081174                 </item> 
    11091175                 <item> 
    1110                   <layout class="QHBoxLayout" > 
    1111                    <property name="margin" > 
    1112                     <number>0</number> 
    1113                    </property> 
    1114                    <property name="spacing" > 
    1115                     <number>6</number> 
    1116                    </property> 
    1117                    <item> 
    1118                     <widget class="QLabel" name="lblDirPort" > 
    1119                      <property name="enabled" > 
    1120                       <bool>false</bool> 
    1121                      </property> 
    1122                      <property name="contextMenuPolicy" > 
    1123                       <enum>Qt::NoContextMenu</enum> 
    1124                      </property> 
    1125                      <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;">Directory Port:&lt;/p>&lt;/body>&lt;/html></string> 
    1127                      </property> 
    1128                     </widget> 
    1129                    </item> 
    1130                    <item> 
    1131                     <widget class="QLineEdit" name="lineDirPort" > 
    1132                      <property name="enabled" > 
    1133                       <bool>false</bool> 
    1134                      </property> 
    1135                      <property name="sizePolicy" > 
    1136                       <sizepolicy> 
    1137                        <hsizetype>0</hsizetype> 
    1138                        <vsizetype>0</vsizetype> 
    1139                        <horstretch>0</horstretch> 
    1140                        <verstretch>0</verstretch> 
    1141                       </sizepolicy> 
    1142                      </property> 
    1143                      <property name="maximumSize" > 
    1144                       <size> 
    1145                        <width>50</width> 
    1146                        <height>16777215</height> 
    1147                       </size> 
    1148                      </property> 
    1149                      <property name="cursor" > 
    1150                       <cursor>4</cursor> 
    1151                      </property> 
    1152                      <property name="contextMenuPolicy" > 
    1153                       <enum>Qt::NoContextMenu</enum> 
    1154                      </property> 
    1155                      <property name="toolTip" > 
    1156                       <string>Directory Port Number</string> 
    1157                      </property> 
    1158                     </widget> 
    1159                    </item> 
    1160                   </layout> 
    1161                  </item> 
    1162                  <item> 
    1163                   <spacer> 
    1164                    <property name="orientation" > 
    1165                     <enum>Qt::Horizontal</enum> 
    1166                    </property> 
    1167                    <property name="sizeHint" > 
    1168                     <size> 
    1169                      <width>40</width> 
    1170                      <height>20</height> 
    1171                     </size> 
    1172                    </property> 
    1173                   </spacer> 
     1176                  <widget class="QLineEdit" name="lineServerNickname" > 
     1177                   <property name="cursor" > 
     1178                    <cursor>4</cursor> 
     1179                   </property> 
     1180                   <property name="contextMenuPolicy" > 
     1181                    <enum>Qt::NoContextMenu</enum> 
     1182                   </property> 
     1183                   <property name="toolTip" > 
     1184                    <string>Name of your server</string> 
     1185                   </property> 
     1186                   <property name="text" > 
     1187                    <string/> 
     1188                   </property> 
     1189                  </widget> 
    11741190                 </item> 
    11751191                </layout> 
    1176                </item> 
    1177                <item> 
    1178                 <widget class="QCheckBox" name="chkMiddleMan" > 
    1179                  <property name="contextMenuPolicy" > 
    1180                   <enum>Qt::NoContextMenu</enum> 
    1181                  </property> 
    1182                  <property name="toolTip" > 
    1183                   <string>If selected, clients will not exit the Tor network through your server</string> 
    1184                  </property> 
    1185                  <property name="text" > 
    1186                   <string>Only relay traffic between other Tor servers (middle-man)</string> 
    1187                  </property> 
    1188                 </widget> 
    1189                </item> 
    1190                <item> 
    1191                 <widget class="QLabel" name="label_5" > 
    1192                  <property name="layoutDirection" > 
    1193                   <enum>Qt::LeftToRight</enum> 
    1194                  </property> 
    1195                  <property name="text" > 
    1196                   <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> 
    1197                  </property> 
    1198                  <property name="alignment" > 
    1199                   <set>Qt::AlignCenter</set> 
    1200                  </property> 
    1201                 </widget> 
    12021192               </item> 
    12031193              </layout> 
     
    16861676            <string>Alternate Tor Configuration File</string> 
    16871677           </property> 
    1688            <layout class="QVBoxLayout" > 
     1678           <layout class="QHBoxLayout" > 
    16891679            <property name="margin" > 
    16901680             <number>9</number> 
     
    16941684            </property> 
    16951685            <item> 
    1696              <layout class="QHBoxLayout" > 
    1697               <property name="margin" > 
    1698                <number>0</number> 
    1699               </property> 
    1700               <property name="spacing" > 
    1701                <number>6</number> 
    1702               </property> 
    1703               <item> 
    1704                <widget class="QLineEdit" name="lineTorConfig" > 
    1705                 <property name="enabled" > 
    1706                  <bool>true</bool> 
    1707                 </property> 
    1708                 <property name="cursor" > 
    1709                  <cursor>4</cursor> 
    1710                 </property> 
    1711                 <property name="contextMenuPolicy" > 
    1712                  <enum>Qt::NoContextMenu</enum> 
    1713                 </property> 
    1714                 <property name="toolTip" > 
    1715                  <string>Start Tor with the specified configuration file (torrc)</string> 
    1716                 </property> 
    1717                </widget> 
    1718               </item> 
    1719               <item> 
    1720                <widget class="QPushButton" name="btnBrowseTorConfig" > 
    1721                 <property name="enabled" > 
    1722                  <bool>true</bool> 
    1723                 </property> 
    1724                 <property name="minimumSize" > 
    1725                  <size> 
    1726                   <width>0</width> 
    1727                   <height>30</height> 
    1728                  </size> 
    1729                 </property> 
    1730                 <property name="contextMenuPolicy" > 
    1731                  <enum>Qt::NoContextMenu</enum> 
    1732                 </property> 
    1733                 <property name="toolTip" > 
    1734                  <string>Select path to Tor configuration file</string> 
    1735                 </property> 
    1736                 <property name="text" > 
    1737                  <string>Browse</string> 
    1738                 </property> 
    1739                </widget> 
    1740               </item> 
    1741              </layout> 
     1686             <widget class="QLineEdit" name="lineTorConfig" > 
     1687              <property name="enabled" > 
     1688               <bool>true</bool> 
     1689              </property> 
     1690              <property name="cursor" > 
     1691               <cursor>4</cursor> 
     1692              </property> 
     1693              <property name="contextMenuPolicy" > 
     1694               <enum>Qt::NoContextMenu</enum> 
     1695              </property> 
     1696              <property name="toolTip" > 
     1697               <string>Start Tor with the specified configuration file (torrc)</string> 
     1698              </property> 
     1699             </widget> 
     1700            </item> 
     1701            <item> 
     1702             <widget class="QPushButton" name="btnBrowseTorConfig" > 
     1703              <property name="enabled" > 
     1704               <bool>true</bool> 
     1705              </property> 
     1706              <property name="minimumSize" > 
     1707               <size> 
     1708                <width>0</width> 
     1709                <height>0</height> 
     1710               </size> 
     1711              </property> 
     <