-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextInputDialog.qml
More file actions
47 lines (39 loc) · 989 Bytes
/
TextInputDialog.qml
File metadata and controls
47 lines (39 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import QtQuick 2.13
import QtQuick.Dialogs 1.2 as QDialogs // Dialogs
// Dialog
QDialogs.Dialog {
// Alias for TextEdit Text
property alias textValue: textInputDialog_TextEdit.text
// Text Height
property real textHeight: 12
// ID
id: textInputDialog_id
// Width
width: 180
// Height
height: 60
// Title
title: "No Title"
// Text-Field
TextEdit {
// ID
id: textInputDialog_TextEdit
// X
x: 0
// Y
y: 0
// Text
text: "rss://qt.io"
// Width
width: textInputDialog_id.width
// Height
height: textHeight + 2
// Wrap-Mode
wrapMode: TextEdit.NoWrap
// Flags
inputMethodHints: Qt.ImhUrlCharactersOnly || Qt.ImhNoAutoUppercase || Qt.ImhNoPredictiveText
// Alignment
verticalAlignment: TextEdit.AlignVCenter
horizontalAlignment: TextEdit.AlignLeft
} /// Text-Field
} /// Dialog