kdenonbeta/kdedebian/kapture/libkapture
CVS commit by mornfall:
Further improvements for errordialog...
M +8 -2 errordialog.cpp 1.6
--- kdenonbeta/kdedebian/kapture/libkapture/errordialog.cpp #1.5:1.6
@@ -14,7 +14,13 @@ ErrorDialog::ErrorDialog (QWidget *paren
: KDialogBase (parent, name, true, "Errors and Warnings", Close, Close)
{
- QLabel *l = new QLabel (this);
+ QScrollView *sv = new QScrollView (this);
+ QLabel *l = new QLabel (sv -> viewport ());
l -> setMinimumSize (QSize (300, 90));
- setMainWidget (l);
+ l -> setAlignment (Qt::AlignTop | Qt::AlignJustify);
+ l -> setMargin (4);
+ sv -> addChild (l);
+ sv -> setResizePolicy (QScrollView::AutoOneFit);
+ sv -> setMinimumSize (QSize (350, 100));
+ setMainWidget (sv);
string s;
string m ("<qt>");
Reply to: