/**************************************************************** ** ** Implementation of PrintPanel class, translation tutorial 3 ** ****************************************************************/ #include "printpanel.h" #include #include #include PrintPanel::PrintPanel( TQWidget *tqparent, const char *name ) : TQVBox( tqparent, name ) { setMargin( 10 ); setSpacing( 10 ); /* TQLabel *lab = new TQLabel( tr("TROLL PRINT"), this ); lab->tqsetAlignment( AlignCenter ); */ TQRadioButton *but; TQHButtonGroup *twoSided = new TQHButtonGroup( this ); twoSided->setTitle( tr("2-sided") ); but = new TQRadioButton( tr("Enabled"), twoSided ); but = new TQRadioButton( tr("Disabled"), twoSided ); but->toggle(); TQHButtonGroup *colors = new TQHButtonGroup( this ); colors->setTitle( tr("Colors") ); but = new TQRadioButton( tr("Enabled"), colors ); but = new TQRadioButton( tr("Disabled"), colors ); but->toggle(); }