Converted LocalImportPage to designer file

This commit is contained in:
feedc0de committed 2019-04-07 20:14:10 +02:00
1 parent 0f9983b6be
commit 49dd451930
9 files changed
+180 -64

No files matched your search

+45 -2
View File
@@ -20,10 +20,22 @@
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="page">
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,1">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="FileSelectionWidget" name="fileSelectionWidget" native="true"/>
</item>
@@ -44,6 +56,18 @@
</widget>
<widget class="QWidget" name="page_2">
<layout class="QFormLayout" name="formLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEditUsername"/>
</item>
@@ -55,6 +79,9 @@
<property name="text">
<string>&lt;b&gt;Hostname:&lt;/b&gt;</string>
</property>
<property name="buddy">
<cstring>lineEditHostname</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
@@ -62,6 +89,9 @@
<property name="text">
<string>&lt;b&gt;Username:&lt;/b&gt;</string>
</property>
<property name="buddy">
<cstring>lineEditUsername</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
@@ -69,6 +99,9 @@
<property name="text">
<string>&lt;b&gt;Password:&lt;/b&gt;</string>
</property>
<property name="buddy">
<cstring>lineEditPassword</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
@@ -76,6 +109,9 @@
<property name="text">
<string>&lt;b&gt;Database:&lt;/b&gt;</string>
</property>
<property name="buddy">
<cstring>lineEditDatabase</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
@@ -102,6 +138,13 @@
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>comboBox</tabstop>
<tabstop>lineEditHostname</tabstop>
<tabstop>lineEditUsername</tabstop>
<tabstop>lineEditPassword</tabstop>
<tabstop>lineEditDatabase</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
+1
View File
@@ -9,6 +9,7 @@ namespace Ui { class FileSelectionWidget; }
class FileSelectionWidget : public QWidget
{
Q_OBJECT
Q_PROPERTY(QString path READ path WRITE setPath NOTIFY pathChanged USER true)
public:
enum class Mode {
+12
View File
@@ -14,6 +14,18 @@
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="lineEdit"/>
</item>