The width of the main window has been slightly changed, widget layouts have been added, and the label "Peer ID (IPv6):" has been added before the LineEdit "peerID".

This commit is contained in:
ChronosX 2018-07-28 14:07:56 +03:00
parent 61533a5989
commit e4780b0b05

View File

@ -6,19 +6,19 @@
<rect>
<x>0</x>
<y>0</y>
<width>331</width>
<width>411</width>
<height>132</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>331</width>
<width>411</width>
<height>132</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>331</width>
<width>411</width>
<height>132</height>
</size>
</property>
@ -29,40 +29,58 @@
<string>Influence</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0" colspan="4">
<widget class="QLineEdit" name="peerID">
<property name="text">
<string/>
</property>
</widget>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="text">
<string>My IPv6:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="peerID">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="text">
<string>My IPv6:</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="connectToPeer">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="myIP">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="text">
<string>PeerID (IPv6):</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="myIP">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="connectToPeer">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>