UI: Add H/VSeparator controls.

This commit is contained in:
Nodir Temirkhodjaev 2018-01-11 09:23:51 +05:00
parent ba73b2745e
commit 7861fd0f51
6 changed files with 25 additions and 12 deletions

View File

@ -3,6 +3,7 @@
<file>qml/boxes/PasswordBox.qml</file> <file>qml/boxes/PasswordBox.qml</file>
<file>qml/controls/ButtonMenu.qml</file> <file>qml/controls/ButtonMenu.qml</file>
<file>qml/controls/ButtonPopup.qml</file> <file>qml/controls/ButtonPopup.qml</file>
<file>qml/controls/HSeparator.qml</file>
<file>qml/controls/LinkButton.qml</file> <file>qml/controls/LinkButton.qml</file>
<file>qml/controls/ListViewControl.qml</file> <file>qml/controls/ListViewControl.qml</file>
<file>qml/controls/RoundButtonTip.qml</file> <file>qml/controls/RoundButtonTip.qml</file>
@ -12,6 +13,7 @@
<file>qml/controls/TextAreaFrame.qml</file> <file>qml/controls/TextAreaFrame.qml</file>
<file>qml/controls/TextContextMenu.qml</file> <file>qml/controls/TextContextMenu.qml</file>
<file>qml/controls/TextFieldFrame.qml</file> <file>qml/controls/TextFieldFrame.qml</file>
<file>qml/controls/VSeparator.qml</file>
<file>qml/main.qml</file> <file>qml/main.qml</file>
<file>qml/pages/AddressesPage.qml</file> <file>qml/pages/AddressesPage.qml</file>
<file>qml/pages/ApplicationsPage.qml</file> <file>qml/pages/ApplicationsPage.qml</file>

View File

@ -0,0 +1,10 @@
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 1
color: palette.mid
}

View File

@ -0,0 +1,10 @@
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
Rectangle {
Layout.preferredWidth: 1
Layout.fillHeight: true
color: palette.mid
}

View File

@ -129,10 +129,7 @@ BasePage {
} }
} }
Frame { HSeparator {}
Layout.fillWidth: true
Layout.preferredHeight: 1
}
AppsColumn { AppsColumn {
id: appsColumn id: appsColumn

View File

@ -87,10 +87,7 @@ BasePage {
} }
} }
Frame { HSeparator {}
Layout.fillWidth: true
Layout.preferredHeight: 1
}
ListView { ListView {
Layout.fillWidth: true Layout.fillWidth: true

View File

@ -209,10 +209,7 @@ BasePage {
} }
} }
Frame { HSeparator {}
Layout.fillWidth: true
Layout.preferredHeight: 1
}
ListView { ListView {
id: trafListView id: trafListView