KDialogBase subclass ui does not respect minimum size
Karim Ryde
karim at bredband.net
Fri Feb 24 16:00:31 GMT 2006
Hi!
I set minimumSize but the dialog can be resized to very small.
Any clues to fix it?
Code:
...
PackageInspector::PackageInspector( QWidget *parent )
: KDialogBase( KDialogBase::Swallow, 0, parent, i18n( "Package Inspector" ),
false, i18n( "Package Inspector" ), KDialogBase::Ok | KDialogBase::Apply |
KDialogBase::Cancel, KDialogBase::Apply, false )
hardMaskComment( QString::null )
{
dialog = new InspectorBase( this );
setMainWidget( dialog );
dialog->setMinimumSize( 600, 480 );
...
}
Thanks!
/Karim
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list