mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
Tidying
This commit is contained in:
parent
89eb073855
commit
1080e21afd
2 changed files with 11 additions and 11 deletions
|
@ -107,10 +107,10 @@ ModalWindow {
|
|||
|
||||
QtObject {
|
||||
id: d;
|
||||
readonly property int minWidth: 480;
|
||||
readonly property int maxWdith: 1280;
|
||||
readonly property int minHeight: 120;
|
||||
readonly property int maxHeight: 720;
|
||||
readonly property int minWidth: 480
|
||||
readonly property int maxWdith: 1280
|
||||
readonly property int minHeight: 120
|
||||
readonly property int maxHeight: 720
|
||||
|
||||
function resize() {
|
||||
var targetWidth = Math.max(titleWidth, pane.width);
|
||||
|
|
|
@ -12,7 +12,7 @@ import QtQuick 2.5
|
|||
import QtQuick.Controls 1.4
|
||||
import QtQuick.Dialogs 1.2 as OriginalDialogs
|
||||
|
||||
import "../controls-uit" as ControlsUIT
|
||||
import "../controls-uit"
|
||||
import "../styles-uit"
|
||||
import "../windows"
|
||||
|
||||
|
@ -160,7 +160,7 @@ TabletModalWindow {
|
|||
}
|
||||
|
||||
// FIXME make a text field type that can be bound to a history for autocompletion
|
||||
ControlsUIT.TextField {
|
||||
TextField {
|
||||
id: textField;
|
||||
label: root.textInput.label;
|
||||
focus: root.textInput ? true : false;
|
||||
|
@ -176,7 +176,7 @@ TabletModalWindow {
|
|||
property alias keyboardOverride: root.keyboardOverride
|
||||
property alias keyboardRaised: root.keyboardRaised
|
||||
property alias punctuationMode: root.punctuationMode
|
||||
ControlsUIT.Keyboard {
|
||||
Keyboard {
|
||||
id: keyboard
|
||||
raised: keyboardEnabled && keyboardRaised
|
||||
numeric: punctuationMode
|
||||
|
@ -205,7 +205,7 @@ TabletModalWindow {
|
|||
onWidthChanged: d.resize();
|
||||
z: 20
|
||||
|
||||
ControlsUIT.CheckBox {
|
||||
CheckBox {
|
||||
id: checkBoxField;
|
||||
text: root.checkBox.label;
|
||||
focus: Boolean(root.checkBox);
|
||||
|
@ -218,7 +218,7 @@ TabletModalWindow {
|
|||
}
|
||||
}
|
||||
|
||||
ControlsUIT.ComboBox {
|
||||
ComboBox {
|
||||
id: comboBoxField;
|
||||
label: root.comboBox.label;
|
||||
focus: Boolean(root.comboBox);
|
||||
|
@ -263,12 +263,12 @@ TabletModalWindow {
|
|||
warningText.width = rowWidth - buttonsWidth - warningIconWidth;
|
||||
}
|
||||
|
||||
ControlsUIT.Button {
|
||||
Button {
|
||||
id: cancelButton;
|
||||
action: cancelAction;
|
||||
}
|
||||
|
||||
ControlsUIT.Button {
|
||||
Button {
|
||||
id: acceptButton;
|
||||
action: acceptAction;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue