|
|
@ -108,14 +108,14 @@ MetadataWidget::MetadataWidget(TQWidget* parent, const char* name)
|
|
|
|
d->levelButtons->setFrameShape(TQFrame::NoFrame);
|
|
|
|
d->levelButtons->setFrameShape(TQFrame::NoFrame);
|
|
|
|
|
|
|
|
|
|
|
|
TQPushButton *simpleLevel = new TQPushButton( d->levelButtons );
|
|
|
|
TQPushButton *simpleLevel = new TQPushButton( d->levelButtons );
|
|
|
|
simpleLevel->setPixmap( iconLoader->loadIcon( ""text-vnd.tde.ascii", (TDEIcon::Group)TDEIcon::Toolbar ) );
|
|
|
|
simpleLevel->setPixmap( iconLoader->loadIcon( "text-vnd.tde.ascii", (TDEIcon::Group)TDEIcon::Toolbar ) );
|
|
|
|
simpleLevel->setToggleButton(true);
|
|
|
|
simpleLevel->setToggleButton(true);
|
|
|
|
TQWhatsThis::add( simpleLevel, i18n( "Switch the tags view to a simple human-readable list" ) );
|
|
|
|
TQWhatsThis::add( simpleLevel, i18n( "Switch the tags view to a simple human-readable list" ) );
|
|
|
|
TQToolTip::add( simpleLevel, i18n( "Simple list" ));
|
|
|
|
TQToolTip::add( simpleLevel, i18n( "Simple list" ));
|
|
|
|
d->levelButtons->insert(simpleLevel, SIMPLE);
|
|
|
|
d->levelButtons->insert(simpleLevel, SIMPLE);
|
|
|
|
|
|
|
|
|
|
|
|
TQPushButton *fullLevel = new TQPushButton( d->levelButtons );
|
|
|
|
TQPushButton *fullLevel = new TQPushButton( d->levelButtons );
|
|
|
|
fullLevel->setPixmap( iconLoader->loadIcon( ""text-x-generic", (TDEIcon::Group)TDEIcon::Toolbar ) );
|
|
|
|
fullLevel->setPixmap( iconLoader->loadIcon( "text-x-generic", (TDEIcon::Group)TDEIcon::Toolbar ) );
|
|
|
|
fullLevel->setToggleButton(true);
|
|
|
|
fullLevel->setToggleButton(true);
|
|
|
|
TQWhatsThis::add( fullLevel, i18n( "Switch the tags view to a full list" ) );
|
|
|
|
TQWhatsThis::add( fullLevel, i18n( "Switch the tags view to a full list" ) );
|
|
|
|
TQToolTip::add( fullLevel, i18n( "Full list" ));
|
|
|
|
TQToolTip::add( fullLevel, i18n( "Full list" ));
|
|
|
|