blob: 183a6f5b9d416a25e6277748455e339733a7f2fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/****************************************************************
**
** Implementation of PrintPanel class, translation tutorial 3
**
****************************************************************/
#include "printpanel.h"
#include <ntqlabel.h>
#include <ntqradiobutton.h>
#include <ntqhbuttongroup.h>
PrintPanel::PrintPanel( TQWidget *parent, const char *name )
: TQVBox( parent, name )
{
setMargin( 10 );
setSpacing( 10 );
/*
TQLabel *lab = new TQLabel( tr("<b>TROLL PRINT</b>"), this );
lab->setAlignment( 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();
}
|