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
a931a680
Commit
a931a680
authored
May 14, 2010
by
Friedemann Kleint
Browse files
Checkable Messagebox: Fix layout, handle URL.
For usage with
709cb294
.
parent
709cb294
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/checkablemessagebox.h
View file @
a931a680
...
...
@@ -42,7 +42,7 @@ struct CheckableMessageBoxPrivate;
/* A messagebox suitable for questions with a
* "Do not ask me again" checkbox. Emulates the QMessageBox API with
* static conveniences. */
* static conveniences.
The message label can open external URLs.
*/
class
QTCREATOR_UTILS_EXPORT
CheckableMessageBox
:
public
QDialog
{
...
...
src/libs/utils/checkablemessagebox.ui
View file @
a931a680
...
...
@@ -2,14 +2,6 @@
<ui
version=
"4.0"
>
<class>
Utils::CheckableMessageBox
</class>
<widget
class=
"QDialog"
name=
"Utils::CheckableMessageBox"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
195
</width>
<height>
107
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
Dialog
</string>
</property>
...
...
@@ -19,7 +11,14 @@
<item>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<widget
class=
"QLabel"
name=
"pixmapLabel"
/>
<widget
class=
"QLabel"
name=
"pixmapLabel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<spacer
name=
"pixmapSpacer"
>
...
...
@@ -41,8 +40,23 @@
</item>
<item>
<widget
class=
"QLabel"
name=
"messageLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
300
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
TextLabel
</string>
<string
notr=
"true"
>
dummyText
</string>
</property>
<property
name=
"wordWrap"
>
<bool>
true
</bool>
</property>
<property
name=
"openExternalLinks"
>
<bool>
true
</bool>
</property>
<property
name=
"textInteractionFlags"
>
<set>
Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse
</set>
</property>
</widget>
</item>
...
...
@@ -66,7 +80,7 @@
<item>
<widget
class=
"QCheckBox"
name=
"checkBox"
>
<property
name=
"text"
>
<string>
CheckBox
</string>
<string
notr=
"true"
>
CheckBox
</string>
</property>
</widget>
</item>
...
...
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