Skip to content
Snippets Groups Projects
Commit ffb599da authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Prettify settings page for CodePaster service.

parent 5b2aefb4
No related branches found
No related tags found
No related merge requests found
...@@ -76,9 +76,14 @@ QWidget *CodePasterSettingsPage::createPage(QWidget *parent) ...@@ -76,9 +76,14 @@ QWidget *CodePasterSettingsPage::createPage(QWidget *parent)
QLineEdit *lineedit = new QLineEdit; QLineEdit *lineedit = new QLineEdit;
lineedit->setText(m_host); lineedit->setText(m_host);
connect(lineedit, SIGNAL(textChanged(QString)), this, SLOT(serverChanged(QString))); 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(); QGridLayout* layout = new QGridLayout();
layout->addWidget(label, 0, 0); layout->addWidget(label, 0, 0);
layout->addWidget(lineedit, 0, 1); 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); w->setLayout(layout);
return w; return w;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment