Ref T195, launcher uses DBus UI component and new application arguments functions

This commit is contained in:
Klaus Basan
2017-11-16 02:19:51 +01:00
parent f33c198d5d
commit 35e6dbda67
3 changed files with 34 additions and 175 deletions

View File

@@ -82,7 +82,7 @@
<item>
<widget class="QToolBox" name="tb_Launcher">
<property name="currentIndex">
<number>3</number>
<number>2</number>
</property>
<property name="tabSpacing">
<number>6</number>
@@ -92,8 +92,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>98</width>
<height>88</height>
<width>392</width>
<height>349</height>
</rect>
</property>
<attribute name="label">
@@ -123,8 +123,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>199</width>
<height>63</height>
<width>392</width>
<height>349</height>
</rect>
</property>
<attribute name="label">
@@ -188,8 +188,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>277</width>
<height>244</height>
<width>392</width>
<height>349</height>
</rect>
</property>
<attribute name="label">
@@ -310,97 +310,19 @@
<number>4</number>
</property>
<item>
<widget class="QRadioButton" name="rb_DBusSession">
<property name="text">
<string>DBus session server</string>
<widget class="BlackGui::Components::CDBusServerAddressSelector" name="comp_DBusSelector">
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_DBusSystem">
<property name="text">
<string>DBus system server</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_DBusP2P">
<property name="text">
<string>DBus peer to peer server (P2P)</string>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="fr_DBusServerAddress">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gl_DBusServerAddressDetails">
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>20</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="2">
<widget class="QComboBox" name="cb_DBusServerAddress">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lbl_DBusServerAddress">
<property name="text">
<string>Address:</string>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lbl_DBusServerPort">
<property name="text">
<string>Port:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="le_DBusServerPort">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>45000</string>
</property>
<property name="maxLength">
<number>5</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
@@ -565,8 +487,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>98</width>
<height>88</height>
<width>392</width>
<height>349</height>
</rect>
</property>
<attribute name="label">
@@ -843,6 +765,12 @@ p, li { white-space: pre-wrap; }
<header>blackgui/components/distributioninfocomponent.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>BlackGui::Components::CDBusServerAddressSelector</class>
<extends>QFrame</extends>
<header>blackgui/components/dbusserveraddressselector.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="../blackmisc/blackmisc.qrc"/>