[Kde-imaging] extragear/libs/kipi-plugins/batchprocessimages
Aurélien Gâteau
aurelien.gateau at free.fr
Wed Aug 3 23:30:58 CEST 2005
SVN commit 442786 by gateau:
Make use of the available room when the user resizes the dialog.
CCMAIL: kde-imaging at kde.org
M +2 -4 batchprocessimagesdialog.cpp
--- trunk/extragear/libs/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp #442785:442786
@@ -204,7 +204,7 @@
m_upload = new KIPI::UploadWidget( m_interface, groupBox3, "m_upload" );
QWhatsThis::add( m_upload, i18n("<p>Here you can select the target folder which "
"will used by the process."));
- m_upload->setFixedHeight( 130 );
+ m_upload->setMinimumHeight( 130 );
QWidget* add = new QWidget( groupBox3 );
QVBoxLayout* lay = new QVBoxLayout( add );
@@ -227,9 +227,7 @@
m_listFiles = new BatchProcessImagesList( box41 );
lay2->addWidget( m_listFiles );
- // This line is needed to ensure that the dialog do get a decent minimum size
- // I believe it is a bug in Qt somewhere - 27 May. 2004 10:55 -- Jesper K. Pedersen
- m_listFiles->setFixedHeight( m_listFiles->sizeHint().height() );
+ m_listFiles->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
QVBoxLayout* lay3 = new QVBoxLayout( lay2 );
m_addImagesButton = new QPushButton ( i18n( "&Add..." ), box41 );
More information about the Kde-imaging
mailing list