rpms/subcommander/devel subcommander-2.0.0b4-gui.patch,NONE,1.1
Jochen Schmitt
s4504kr at fedoraproject.org
Wed Nov 5 19:55:00 UTC 2008
Author: s4504kr
Update of /cvs/extras/rpms/subcommander/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21991
Added Files:
subcommander-2.0.0b4-gui.patch
Log Message:
Add forgotten GUI-patch
subcommander-2.0.0b4-gui.patch:
--- NEW FILE subcommander-2.0.0b4-gui.patch ---
diff -up subcommander-2.0.0b4/subcommander/ProjectWizard.cpp.gui subcommander-2.0.0b4/subcommander/ProjectWizard.cpp
--- subcommander-2.0.0b4/subcommander/ProjectWizard.cpp.gui 2008-08-03 23:10:59.000000000 +0200
+++ subcommander-2.0.0b4/subcommander/ProjectWizard.cpp 2008-10-09 20:16:45.000000000 +0200
@@ -20,6 +20,7 @@
#include <QtGui/QLineEdit>
#include <QtGui/QTextEdit>
#include <QtGui/QFileDialog>
+#include <QtGui/QScrollArea>
#include <QtCore/QVariant>
#include <QtCore/QRegExp>
@@ -241,12 +242,15 @@ public:
QLabel* lBranchesUrl = new QLabel( branchesUrl, _q("branches URL:"), this );
QLabel* lTagsName = new QLabel( tagsName, _q("tags Name:"), this );
QLabel* lTagsUrl = new QLabel( tagsUrl, _q("tags URL:"), this );
- _std = new QPushButton( _q("Standard Layout"), this );
+
+ _std = new QPushButton( _q("Standard Layout"), this );
QLabel* text = new QLabel( _q("enter the branches and tags url for "
"your project. If you don't use branches or tags just press finish."), this );
text->setWordWrap(true);
+ QScrollArea* sv = new QScrollArea( this);
+
QLabel* info = new QLabel( _q("Setting both makes branching and tagging "
"a lot easier because you will not have to select or enter a target url "
"for a branch or tag when you like to create one. You will only have to "
@@ -257,10 +261,14 @@ public:
"If you do not set the urls the bookmarks will not be visible. Both "
"bookmarks can be added or changed at any time from the project (context) "
"menu or the bookmark (context) menu. Their names can also be changed by "
- "'in place' editing the corresponding bookmark."), this );
+ "'in place' editing the corresponding bookmark."), sv );
info->setWordWrap(true);
+ sv->setMinimumHeight(50);
+ sv->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff);
+ sv->setFocusPolicy(Qt::NoFocus);
+ sv->setWidget (info);
- l->setSpacing(10);
+ l->setSpacing(5);
l->addWidget( text, 0, 0, 1, 2 );
l->addWidget( lBranchesName, 1, 0 );
l->addWidget( branchesName, 1, 1 );
@@ -271,7 +279,7 @@ public:
l->addWidget( lTagsUrl, 4, 0 );
l->addWidget( tagsUrl, 4, 1 );
l->addWidget( _std, 5, 1 );
- l->addWidget( info, 6, 0, 1, 2 );
+ l->addWidget( sv, 6, 0, 1, 2 );
l->setRowStretch( 7, 1 );
registerField("BranchesName*", branchesName);
More information about the fedora-extras-commits
mailing list