Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1c7ddfff
Commit
1c7ddfff
authored
Jan 28, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: clean up of WebView properties
parent
b7cbc9b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qmldesigner/propertyeditor/Qt/WebViewSpecifics.qml
View file @
1c7ddfff
...
...
@@ -8,20 +8,13 @@ GroupBox {
caption
:
"
WebView
"
;
id
:
webViewSpecifics
;
layout
:
QVBoxLayout
{
topMargin
:
18
;
bottomMargin
:
2
;
leftMargin
:
8
;
rightMargin
:
8
;
layout
:
VerticalLayout
{
QWidget
{
layout
:
QHBox
Layout
{
layout
:
Horizontal
Layout
{
leftMargin
:
0
;
rightMargin
:
0
;
QLabel
{
minimumHeight
:
20
;
text
:
"
Url:
"
font.bold
:
true
;
Label
{
text
:
"
Url
"
}
QLineEdit
{
text
:
backendValues
.
url
.
value
;
...
...
@@ -32,12 +25,10 @@ GroupBox {
}
}
IntEditor
{
id
:
preferredWidth
;
backendValue
:
backendValues
.
preferredWidth
;
caption
:
"
Prefered Width
:
"
caption
:
"
Prefered Width
"
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
...
...
@@ -47,7 +38,7 @@ GroupBox {
IntEditor
{
id
:
webPageWidth
;
backendValue
:
backendValues
.
preferredHeight
;
caption
:
"
Web
Page Height
:
"
caption
:
"
Page Height
"
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
...
...
@@ -55,38 +46,32 @@ GroupBox {
}
QWidget
{
layout
:
QHBoxLayout
{
topMargin
:
10
;
bottomMargin
:
0
;
leftMargin
:
0
;
rightMargin
:
0
;
spacing
:
20
;
layout
:
HorizontalLayout
{
Q
Label
{
Label
{
minimumHeight
:
20
;
text
:
"
ZommFactor:
"
font.bold
:
true
;
text
:
"
Zoom Factor
"
}
DoubleSpinBox
{
id
:
ZoomSpinBox
;
objectName
:
"
ZommSpinBox
"
;
backendValue
:
backendValues
.
zoomFactor
;
minimumWidth
:
60
;
text
:
""
backendValue
:
backendValues
.
zoomFactor
;
minimum
:
0.01
maximum
:
10
singleStep
:
0.1
baseStateFlag
:
isBaseState
;
onBackendValueChanged
:
{
Z
oomSlider
.
value
=
backendValue
.
value
*
10
;
z
oomSlider
.
value
=
backendValue
.
value
*
10
;
}
}
QSlider
{
id
:
Z
oomSlider
;
id
:
z
oomSlider
;
orientation
:
"
Qt::Horizontal
"
;
minimum
:
1
;
maximum
:
100
;
singleStep
:
1
;
onValueChanged
:
{
onValueChanged
:
{
backendValues
.
zoomFactor
.
value
=
value
/
10
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment