mirror of
https://github.com/tnodir/fort
synced 2024-11-15 03:46:13 +00:00
UI: Migrate to Qt 5.12
This commit is contained in:
parent
49075fd6ad
commit
3e54261f58
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.Button {
|
||||
id: control
|
||||
@ -46,11 +46,9 @@ T.Button {
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 6
|
||||
leftPadding: padding + 2
|
||||
rightPadding: padding + 2
|
||||
horizontalPadding: padding + 2
|
||||
spacing: 6
|
||||
|
||||
icon.width: 24
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Templates 2.5 as T
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
|
||||
T.CheckDelegate {
|
||||
id: control
|
||||
@ -47,7 +47,6 @@ T.CheckDelegate {
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 12
|
||||
spacing: 12
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.ItemDelegate {
|
||||
id: control
|
||||
@ -47,7 +47,6 @@ T.ItemDelegate {
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 12
|
||||
spacing: 8
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Templates 2.5 as T
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
|
||||
T.MenuBarItem {
|
||||
id: control
|
||||
@ -47,7 +47,6 @@ T.MenuBarItem {
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
spacing: 6
|
||||
padding: 6
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.MenuItem {
|
||||
id: control
|
||||
@ -47,7 +47,6 @@ T.MenuItem {
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 6
|
||||
spacing: 6
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.RadioDelegate {
|
||||
id: control
|
||||
@ -47,7 +47,6 @@ T.RadioDelegate {
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 12
|
||||
spacing: 12
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.RoundButton {
|
||||
id: control
|
||||
@ -46,7 +46,6 @@ T.RoundButton {
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 6
|
||||
spacing: 6
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.SwipeDelegate {
|
||||
id: control
|
||||
@ -47,7 +47,6 @@ T.SwipeDelegate {
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 12
|
||||
spacing: 12
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Templates 2.5 as T
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
|
||||
T.SwitchDelegate {
|
||||
id: control
|
||||
@ -47,7 +47,6 @@ T.SwitchDelegate {
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 12
|
||||
spacing: 12
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.TabButton {
|
||||
id: control
|
||||
@ -46,7 +46,6 @@ T.TabButton {
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 6
|
||||
spacing: 6
|
||||
|
@ -34,10 +34,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Controls.impl 2.4
|
||||
import QtQuick.Templates 2.4 as T
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Controls.impl 2.5
|
||||
import QtQuick.Templates 2.5 as T
|
||||
|
||||
T.ToolButton {
|
||||
id: control
|
||||
@ -46,7 +46,6 @@ T.ToolButton {
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(background ? background.implicitHeight : 0,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
baselineOffset: contentItem.y + contentItem.baselineOffset
|
||||
|
||||
padding: 6
|
||||
spacing: 6
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
Button {
|
||||
id: bt
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
Button {
|
||||
id: bt
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
Rectangle {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
Label {
|
||||
id: bt
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
ListView {
|
||||
id: listView
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
RoundButton {
|
||||
id: bt
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
ScrollBar {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
RowLayout {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import com.fortfirewall 1.0
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
SwipeView {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
Frame {
|
||||
id: frame
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
Menu {
|
||||
id: contextMenu
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
TextField {
|
||||
id: textField
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
HSeparator {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import "controls"
|
||||
import "pages"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../controls"
|
||||
import "addresses"
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../controls"
|
||||
import "apps"
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
Pane {
|
||||
id: page
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../controls"
|
||||
import "log"
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../controls"
|
||||
import "schedule"
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../controls"
|
||||
import "log"
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import com.fortfirewall 1.0
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import com.fortfirewall 1.0
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import "../../controls"
|
||||
import com.fortfirewall 1.0
|
||||
|
Loading…
Reference in New Issue
Block a user