Implement a basic UI for showing connected clients
[quassel.git] / src / qtui / ui / coresessionwidget.ui
diff --git a/src/qtui/ui/coresessionwidget.ui b/src/qtui/ui/coresessionwidget.ui
new file mode 100644 (file)
index 0000000..83096f2
--- /dev/null
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+    <class>CoreSessionWidget</class>
+    <widget class="QWidget" name="CoreSessionWidget">
+        <property name="geometry">
+            <rect>
+                <x>0</x>
+                <y>0</y>
+                <width>509</width>
+                <height>204</height>
+            </rect>
+        </property>
+        <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+                <horstretch>0</horstretch>
+                <verstretch>0</verstretch>
+            </sizepolicy>
+        </property>
+        <property name="minimumSize">
+            <size>
+                <width>480</width>
+                <height>0</height>
+            </size>
+        </property>
+        <property name="maximumSize">
+            <size>
+                <width>16777215</width>
+                <height>16777215</height>
+            </size>
+        </property>
+        <layout class="QGridLayout" name="gridLayout_4">
+            <item row="0" column="0">
+                <layout class="QGridLayout" name="mainLayout" rowstretch="0,0,0">
+                    <item row="0" column="0">
+                        <layout class="QHBoxLayout" name="titleLayout">
+                            <item>
+                                <widget class="QLabel" name="labelRemoteAddress">
+                                    <property name="font">
+                                        <font>
+                                            <pointsize>13</pointsize>
+                                            <weight>75</weight>
+                                            <bold>true</bold>
+                                        </font>
+                                    </property>
+                                    <property name="text">
+                                        <string>86.103.223.212</string>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item>
+                                <widget class="QLabel" name="iconSecure">
+                                    <property name="sizePolicy">
+                                        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                                            <horstretch>0</horstretch>
+                                            <verstretch>0</verstretch>
+                                        </sizepolicy>
+                                    </property>
+                                    <property name="minimumSize">
+                                        <size>
+                                            <width>32</width>
+                                            <height>32</height>
+                                        </size>
+                                    </property>
+                                    <property name="text">
+                                        <string/>
+                                    </property>
+                                    <property name="alignment">
+                                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                                    </property>
+                                    <property name="textInteractionFlags">
+                                        <set>Qt::NoTextInteraction</set>
+                                    </property>
+                                </widget>
+                            </item>
+                        </layout>
+                    </item>
+                    <item row="1" column="0">
+                        <layout class="QGridLayout" name="contentLayout" columnstretch="1,3">
+                            <item row="0" column="0">
+                                <widget class="QLabel" name="labelClientTitle">
+                                    <property name="styleSheet">
+                                        <string notr="true">color: rgb(119, 119, 119);</string>
+                                    </property>
+                                    <property name="text">
+                                        <string>Client:</string>
+                                    </property>
+                                    <property name="alignment">
+                                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item row="0" column="1">
+                                <widget class="QLabel" name="labelClient">
+                                    <property name="text">
+                                        <string>v0.13-pre (0.12.0+372 git-12df418)</string>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item row="2" column="0">
+                                <widget class="QLabel" name="labelLocationTitle">
+                                    <property name="styleSheet">
+                                        <string notr="true">color: rgb(119, 119, 119);</string>
+                                    </property>
+                                    <property name="text">
+                                        <string>Location:</string>
+                                    </property>
+                                    <property name="alignment">
+                                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item row="2" column="1">
+                                <widget class="QLabel" name="labelLocation">
+                                    <property name="text">
+                                        <string>Kiel, Germany</string>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item row="1" column="1">
+                                <widget class="QLabel" name="labelVersionDate">
+                                    <property name="text">
+                                        <string>Sun Aug 27 04:29:53 2017</string>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item row="1" column="0">
+                                <widget class="QLabel" name="labelVersionDateTitle">
+                                    <property name="styleSheet">
+                                        <string notr="true">color: rgb(119, 119, 119);</string>
+                                    </property>
+                                    <property name="text">
+                                        <string>Version Date:</string>
+                                    </property>
+                                    <property name="alignment">
+                                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item row="3" column="1">
+                                <widget class="QLabel" name="labelUptime">
+                                    <property name="text">
+                                        <string>Sun Aug 27 15:03:10 2017</string>
+                                    </property>
+                                </widget>
+                            </item>
+                            <item row="3" column="0">
+                                <widget class="QLabel" name="labelUptimeTitle">
+                                    <property name="styleSheet">
+                                        <string notr="true">color: rgb(119, 119, 119);</string>
+                                    </property>
+                                    <property name="text">
+                                        <string>Connected Since:</string>
+                                    </property>
+                                    <property name="alignment">
+                                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                                    </property>
+                                </widget>
+                            </item>
+                        </layout>
+                    </item>
+                    <item row="2" column="0">
+                        <layout class="QHBoxLayout" name="actionsLayout">
+                            <item>
+                                <spacer name="horizontalSpacer">
+                                    <property name="orientation">
+                                        <enum>Qt::Horizontal</enum>
+                                    </property>
+                                    <property name="sizeHint" stdset="0">
+                                        <size>
+                                            <width>40</width>
+                                            <height>20</height>
+                                        </size>
+                                    </property>
+                                </spacer>
+                            </item>
+                            <item>
+                                <widget class="QPushButton" name="disconnectButton">
+                                    <property name="text">
+                                        <string>End Session</string>
+                                    </property>
+                                </widget>
+                            </item>
+                        </layout>
+                    </item>
+                </layout>
+            </item>
+            <item row="2" column="0">
+                <widget class="Line" name="line">
+                    <property name="orientation">
+                        <enum>Qt::Horizontal</enum>
+                    </property>
+                </widget>
+            </item>
+        </layout>
+    </widget>
+    <resources/>
+    <connections/>
+</ui>