[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src/gui
From: Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date: 2003-11-09 22:05:31
[Download RAW message or body]
CVS commit by uga:
Set a minimum size hint. Still the elements do not fit, but hopefully I'll fix it soon
M +12 -0 pagesetupdialog.cpp 1.8
M +2 -0 pagesetupdialog.h 1.6
--- kdenonbeta/krecipes/src/gui/pagesetupdialog.cpp #1.7:1.8
@@ -43,2 +45,12 @@ void PageSetupDialog::accept()
QDialog::accept();
}
+
+QSize PageSetupDialog::minimumSize() const
+{
+return(QSize(300,400));
+}
+
+QSize PageSetupDialog::sizeHint(void) const
+{
+return (minimumSize());
+}
\ No newline at end of file
--- kdenonbeta/krecipes/src/gui/pagesetupdialog.h #1.5:1.6
@@ -29,4 +29,6 @@ public:
PageSetupDialog( QWidget *parent, const Recipe &sample );
~PageSetupDialog(){}
+ QSize minimumSize(void) const;
+ virtual QSize sizeHint(void) const;
protected:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic