Seite 1 von 1

QT, QIconSet -> QIconSet::Active wird nicht angezeigt

Verfasst: 7. August 2005 22:54
von 27tod

Code: Alles auswählen

iconset=new QIconSet(QPixmap(Search_xpm)); 
 iconset->setPixmap(QPixmap(About_xpm), QIconSet::Large, QIconSet::Active, QIconSet::On); 
 iconset->setPixmap(QPixmap(Stop_xpm), QIconSet::Large, QIconSet::Disabled, QIconSet::Off); 
 
 bstop=new QToolButton(*iconset, "Stop", 
      "Bricht die Suche ab und löscht alle Einträge in der Tabelle", app, SLOT(removeAllEntrysThroughUserEvent()), toolbar, 0);
Hi,

Wenn der Benutzer mit der Maus über den ToolButton fährt oder auf ihn klickt, wieso wird dann About_xpm nicht angezeigt?