Changeset View
Changeset View
Standalone View
Standalone View
b/qt4/main.cpp
Context not available. | |||||
for ( size_t i = 0 ; i < sizeof buttonLabels / sizeof *buttonLabels ; ++i ) | for ( size_t i = 0 ; i < sizeof buttonLabels / sizeof *buttonLabels ; ++i ) | ||||
if ( (buttons & buttonLabels[i].button) && !buttonLabels[i].label.isEmpty() ) { | if ( (buttons & buttonLabels[i].button) && !buttonLabels[i].label.isEmpty() ) { | ||||
box.button( buttonLabels[i].button )->setText( buttonLabels[i].label ); | box.button( buttonLabels[i].button )->setText( buttonLabels[i].label ); | ||||
#ifndef QT_NO_ACCESSIBILITY | |||||
box.button( buttonLabels[i].button )->setAccessibleDescription ( buttonLabels[i].label ); | box.button( buttonLabels[i].button )->setAccessibleDescription ( buttonLabels[i].label ); | ||||
#endif | |||||
} | } | ||||
box.setIconPixmap( icon() ); | box.setIconPixmap( icon() ); | ||||
Context not available. |