|
|
@ -146,15 +146,15 @@ BatchProgressDialog::BatchProgressDialog( TQWidget *parent, const TQString &capt
|
|
|
|
|
|
|
|
|
|
|
|
TQFrame *headerFrame = new TQFrame( box );
|
|
|
|
TQFrame *headerFrame = new TQFrame( box );
|
|
|
|
headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
|
|
|
|
headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
|
|
|
|
TQHBoxLayout* tqlayout = new TQHBoxLayout( headerFrame );
|
|
|
|
TQHBoxLayout* layout = new TQHBoxLayout( headerFrame );
|
|
|
|
tqlayout->setMargin( 2 ); // to make sure the frame gets displayed
|
|
|
|
layout->setMargin( 2 ); // to make sure the frame gets displayed
|
|
|
|
tqlayout->setSpacing( 0 );
|
|
|
|
layout->setSpacing( 0 );
|
|
|
|
TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" );
|
|
|
|
TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" );
|
|
|
|
pixmapLabelLeft->setScaledContents( false );
|
|
|
|
pixmapLabelLeft->setScaledContents( false );
|
|
|
|
tqlayout->addWidget( pixmapLabelLeft );
|
|
|
|
layout->addWidget( pixmapLabelLeft );
|
|
|
|
TQLabel *labelTitle = new TQLabel( caption, headerFrame, "labelTitle" );
|
|
|
|
TQLabel *labelTitle = new TQLabel( caption, headerFrame, "labelTitle" );
|
|
|
|
tqlayout->addWidget( labelTitle );
|
|
|
|
layout->addWidget( labelTitle );
|
|
|
|
tqlayout->setStretchFactor( labelTitle, 1 );
|
|
|
|
layout->setStretchFactor( labelTitle, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
TQString dir;
|
|
|
|
TQString dir;
|
|
|
|
KGlobal::dirs()->addResourceType("kipi_banner_left", KGlobal::dirs()->kde_default("data") + "kipi/data");
|
|
|
|
KGlobal::dirs()->addResourceType("kipi_banner_left", KGlobal::dirs()->kde_default("data") + "kipi/data");
|
|
|
|