/ src / bitmessageqt / networkstatus.ui
networkstatus.ui
  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <ui version="4.0">
  3   <class>networkstatus</class>
  4   <widget class="QWidget" name="networkstatus">
  5    <property name="geometry">
  6     <rect>
  7      <x>0</x>
  8      <y>0</y>
  9      <width>602</width>
 10      <height>254</height>
 11     </rect>
 12    </property>
 13    <property name="sizePolicy">
 14     <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
 15      <horstretch>0</horstretch>
 16      <verstretch>0</verstretch>
 17     </sizepolicy>
 18    </property>
 19    <property name="styleSheet">
 20     <string notr="true">
 21  STableWidget {
 22      background: palette(Button);
 23  }
 24  </string>
 25    </property>
 26    <layout class="QHBoxLayout" name="horizontalLayout_3">
 27     <item>
 28      <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0">
 29       <property name="spacing">
 30        <number>20</number>
 31       </property>
 32       <property name="sizeConstraint">
 33        <enum>QLayout::SetNoConstraint</enum>
 34       </property>
 35       <item>
 36        <layout class="QVBoxLayout" name="verticalLayout_5">
 37         <property name="spacing">
 38          <number>20</number>
 39         </property>
 40         <property name="sizeConstraint">
 41          <enum>QLayout::SetMinimumSize</enum>
 42         </property>
 43         <item>
 44          <widget class="QLabel" name="labelTotalConnections">
 45           <property name="text">
 46            <string>Total connections:</string>
 47           </property>
 48          </widget>
 49         </item>
 50         <item>
 51          <widget class="STableWidget" name="tableWidgetConnectionCount">
 52           <property name="focusPolicy">
 53            <enum>Qt::NoFocus</enum>
 54           </property>
 55           <property name="frameShape">
 56            <enum>QFrame::Box</enum>
 57           </property>
 58           <property name="frameShadow">
 59            <enum>QFrame::Plain</enum>
 60           </property>
 61           <property name="editTriggers">
 62            <set>QAbstractItemView::NoEditTriggers</set>
 63           </property>
 64           <property name="showDropIndicator" stdset="0">
 65            <bool>false</bool>
 66           </property>
 67           <property name="alternatingRowColors">
 68            <bool>false</bool>
 69           </property>
 70           <property name="selectionMode">
 71            <enum>QAbstractItemView::NoSelection</enum>
 72           </property>
 73           <property name="sortingEnabled">
 74            <bool>true</bool>
 75           </property>
 76           <attribute name="horizontalHeaderCascadingSectionResizes">
 77            <bool>true</bool>
 78           </attribute>
 79           <attribute name="horizontalHeaderDefaultSectionSize">
 80            <number>80</number>
 81           </attribute>
 82           <attribute name="horizontalHeaderHighlightSections">
 83            <bool>false</bool>
 84           </attribute>
 85           <attribute name="horizontalHeaderStretchLastSection">
 86            <bool>true</bool>
 87           </attribute>
 88           <attribute name="verticalHeaderVisible">
 89            <bool>false</bool>
 90           </attribute>
 91           <column>
 92            <property name="text">
 93             <string>Peer</string>
 94            </property>
 95            <property name="toolTip">
 96             <string>IP address or hostname</string>
 97            </property>
 98           </column>
 99           <column>
100            <property name="text">
101             <string>Rating</string>
102            </property>
103            <property name="toolTip">
104             <string>PyBitmessage tracks the success rate of connection attempts to individual nodes. The rating ranges from -1 to 1 and affects the likelihood of selecting the node in the future</string>
105            </property>
106           </column>
107           <column>
108            <property name="text">
109             <string>User agent</string>
110            </property>
111            <property name="toolTip">
112             <string>Peer's self-reported software</string>
113            </property>
114           </column>
115           <column>
116            <property name="text">
117             <string>TLS</string>
118            </property>
119            <property name="toolTip">
120             <string>Connection encryption</string>
121            </property>
122           </column>
123           <column>
124            <property name="text">
125             <string>Stream #</string>
126            </property>
127            <property name="toolTip">
128             <string>List of streams negotiated between you and the peer</string>
129            </property>
130           </column>
131          </widget>
132         </item>
133        </layout>
134       </item>
135       <item>
136        <layout class="QVBoxLayout" name="verticalLayout_6">
137         <property name="spacing">
138          <number>4</number>
139         </property>
140         <property name="sizeConstraint">
141          <enum>QLayout::SetNoConstraint</enum>
142         </property>
143         <item>
144          <widget class="QLabel" name="labelStartupTime">
145           <property name="sizePolicy">
146            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
147             <horstretch>0</horstretch>
148             <verstretch>9</verstretch>
149            </sizepolicy>
150           </property>
151           <property name="minimumSize">
152            <size>
153             <width>0</width>
154             <height>50</height>
155            </size>
156           </property>
157           <property name="text">
158            <string>Since startup:</string>
159           </property>
160           <property name="alignment">
161            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
162           </property>
163          </widget>
164         </item>
165         <item>
166          <widget class="QLabel" name="labelMessageCount">
167           <property name="sizePolicy">
168            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
169             <horstretch>0</horstretch>
170             <verstretch>0</verstretch>
171            </sizepolicy>
172           </property>
173           <property name="text">
174            <string>Processed 0 person-to-person messages.</string>
175           </property>
176           <property name="margin">
177            <number>0</number>
178           </property>
179          </widget>
180         </item>
181         <item>
182          <widget class="QLabel" name="labelBroadcastCount">
183           <property name="sizePolicy">
184            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
185             <horstretch>0</horstretch>
186             <verstretch>0</verstretch>
187            </sizepolicy>
188           </property>
189           <property name="text">
190            <string>Processed 0 broadcasts.</string>
191           </property>
192          </widget>
193         </item>
194         <item>
195          <widget class="QLabel" name="labelPubkeyCount">
196           <property name="sizePolicy">
197            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
198             <horstretch>0</horstretch>
199             <verstretch>0</verstretch>
200            </sizepolicy>
201           </property>
202           <property name="text">
203            <string>Processed 0 public keys.</string>
204           </property>
205          </widget>
206         </item>
207         <item>
208          <widget class="QLabel" name="labelSyncStatus">
209           <property name="sizePolicy">
210            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
211             <horstretch>0</horstretch>
212             <verstretch>0</verstretch>
213            </sizepolicy>
214           </property>
215           <property name="text">
216            <string>Objects to be synced:</string>
217           </property>
218          </widget>
219         </item>
220         <item>
221          <widget class="QLabel" name="labelBytesSentCount">
222           <property name="sizePolicy">
223            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
224             <horstretch>0</horstretch>
225             <verstretch>0</verstretch>
226            </sizepolicy>
227           </property>
228           <property name="text">
229            <string>Up: 0 kB/s</string>
230           </property>
231          </widget>
232         </item>
233         <item>
234          <widget class="QLabel" name="labelBytesRecvCount">
235           <property name="sizePolicy">
236            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
237             <horstretch>0</horstretch>
238             <verstretch>0</verstretch>
239            </sizepolicy>
240           </property>
241           <property name="text">
242            <string>Down: 0 kB/s</string>
243           </property>
244          </widget>
245         </item>
246         <item>
247          <widget class="QLabel" name="labelLookupsPerSecond">
248           <property name="sizePolicy">
249            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
250             <horstretch>0</horstretch>
251             <verstretch>0</verstretch>
252            </sizepolicy>
253           </property>
254           <property name="text">
255            <string>Inventory lookups per second: 0</string>
256           </property>
257           <property name="alignment">
258            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
259           </property>
260          </widget>
261         </item>
262        </layout>
263       </item>
264      </layout>
265     </item>
266    </layout>
267   </widget>
268   <customwidgets>
269    <customwidget>
270     <class>STableWidget</class>
271     <extends>QTableWidget</extends>
272     <header>bitmessageqt/settingsmixin.h</header>
273    </customwidget>
274   </customwidgets>
275   <resources>
276    <include location="bitmessage_icons.qrc"/>
277   </resources>
278   <connections/>
279  </ui>