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
ffb599da
Commit
ffb599da
authored
Oct 15, 2009
by
Daniel Molkentin
Browse files
Prettify settings page for CodePaster service.
parent
5b2aefb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpaster/codepastersettings.cpp
View file @
ffb599da
...
...
@@ -76,9 +76,14 @@ QWidget *CodePasterSettingsPage::createPage(QWidget *parent)
QLineEdit
*
lineedit
=
new
QLineEdit
;
lineedit
->
setText
(
m_host
);
connect
(
lineedit
,
SIGNAL
(
textChanged
(
QString
)),
this
,
SLOT
(
serverChanged
(
QString
)));
QLabel
*
noteLabel
=
new
QLabel
(
tr
(
"Note: Specify the host name for the CodePaster service "
"without any protocol prepended (e.g. codepaster.mycompany.com)."
));
noteLabel
->
setWordWrap
(
true
);
QGridLayout
*
layout
=
new
QGridLayout
();
layout
->
addWidget
(
label
,
0
,
0
);
layout
->
addWidget
(
lineedit
,
0
,
1
);
layout
->
addWidget
(
noteLabel
,
1
,
1
);
layout
->
addItem
(
new
QSpacerItem
(
1
,
1
,
QSizePolicy
::
Preferred
,
QSizePolicy
::
MinimumExpanding
),
2
,
0
);
w
->
setLayout
(
layout
);
return
w
;
}
...
...
Write
Preview
Markdown
is supported
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