|
|
|
@ -112,14 +112,14 @@ void ModulesView::createRow( const TQString &parentPath, TQBoxLayout *boxLayout
|
|
|
|
|
// Heaer Icon
|
|
|
|
|
TQLabel *icon = new TQLabel( this, "groupicon" );
|
|
|
|
|
icon->setPixmap( SmallIcon( group->icon() ) );
|
|
|
|
|
icon->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1,
|
|
|
|
|
icon->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1,
|
|
|
|
|
(TQSizePolicy::SizeType)5, 0, 0, icon->sizePolicy().hasHeightForWidth() ) );
|
|
|
|
|
rowLayout->addWidget( icon );
|
|
|
|
|
|
|
|
|
|
// Header Name
|
|
|
|
|
TQLabel *textLabel = new TQLabel( this, "groupcaption" );
|
|
|
|
|
textLabel->setText( group->caption() );
|
|
|
|
|
textLabel->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7,
|
|
|
|
|
textLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7,
|
|
|
|
|
(TQSizePolicy::SizeType)5, 0, 0, textLabel->sizePolicy().hasHeightForWidth()));
|
|
|
|
|
TQFont textLabel_font( textLabel->font() );
|
|
|
|
|
textLabel_font.setBold( true );
|
|
|
|
@ -160,7 +160,7 @@ void ModulesView::createRow( const TQString &parentPath, TQBoxLayout *boxLayout
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Force the height for those items that have two words.
|
|
|
|
|
iconView->setMinimumHeight( iconView->tqminimumSizeHint().height() );
|
|
|
|
|
iconView->setMinimumHeight( iconView->minimumSizeHint().height() );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ModulesView::clearSelection() {
|
|
|
|
|