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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
#include <kdialog.h>
#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file '/home/mkulke/Development/kasablanca/src/Q_userinterfacepreferencesdialog.ui'
**
** Created: Mo Jan 31 15:02:09 2005
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "Q_userinterfacepreferencesdialog.h"
#include <ntqvariant.h>
#include <ntqlabel.h>
#include <ntqcheckbox.h>
#include <tdefontrequester.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
/*
* Constructs a KasablancaUserInterfacePreferencesDialog as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
KasablancaUserInterfacePreferencesDialog::KasablancaUserInterfacePreferencesDialog( TQWidget* parent, const char* name, bool modal, WFlags fl )
: TQDialog( parent, name, modal, fl )
{
if ( !name )
setName( "KasablancaUserInterfacePreferencesDialog" );
KasablancaUserInterfacePreferencesDialogLayout = new TQGridLayout( this, 1, 1, 11, 6, "KasablancaUserInterfacePreferencesDialogLayout");
spacer4 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
KasablancaUserInterfacePreferencesDialogLayout->addItem( spacer4, 4, 3 );
textLabel1_2_2_2_2 = new TQLabel( this, "textLabel1_2_2_2_2" );
KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( textLabel1_2_2_2_2, 0, 0, 0, 1 );
textLabel1_2_2_2_2_2 = new TQLabel( this, "textLabel1_2_2_2_2_2" );
KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( textLabel1_2_2_2_2_2, 1, 1, 0, 1 );
textLabel1_2_2_2_2_2_3 = new TQLabel( this, "textLabel1_2_2_2_2_2_3" );
KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( textLabel1_2_2_2_2_2_3, 2, 2, 0, 2 );
kcfg_SystrayIsEnabled = new TQCheckBox( this, "kcfg_SystrayIsEnabled" );
KasablancaUserInterfacePreferencesDialogLayout->addWidget( kcfg_SystrayIsEnabled, 0, 4 );
kcfg_CommandLineIsEnabled = new TQCheckBox( this, "kcfg_CommandLineIsEnabled" );
KasablancaUserInterfacePreferencesDialogLayout->addWidget( kcfg_CommandLineIsEnabled, 1, 4 );
kcfg_HideHiddenFilesIsEnabled = new TQCheckBox( this, "kcfg_HideHiddenFilesIsEnabled" );
KasablancaUserInterfacePreferencesDialogLayout->addWidget( kcfg_HideHiddenFilesIsEnabled, 2, 4 );
kcfg_LogwindowFont = new TDEFontRequester( this, "kcfg_LogwindowFont" );
KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( kcfg_LogwindowFont, 3, 3, 2, 4 );
textLabel1_2_2_2_2_2_2 = new TQLabel( this, "textLabel1_2_2_2_2_2_2" );
KasablancaUserInterfacePreferencesDialogLayout->addWidget( textLabel1_2_2_2_2_2_2, 3, 0 );
spacer3 = new TQSpacerItem( 140, 58, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
KasablancaUserInterfacePreferencesDialogLayout->addMultiCell( spacer3, 0, 1, 2, 3 );
spacer3_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
KasablancaUserInterfacePreferencesDialogLayout->addItem( spacer3_2, 3, 1 );
languageChange();
resize( TQSize(448, 165).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}
/*
* Destroys the object and frees any allocated resources
*/
KasablancaUserInterfacePreferencesDialog::~KasablancaUserInterfacePreferencesDialog()
{
// no need to delete child widgets, TQt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void KasablancaUserInterfacePreferencesDialog::languageChange()
{
setCaption( tr2i18n( "User Interface" ) );
textLabel1_2_2_2_2->setText( tr2i18n( "Show system tray icon:" ) );
textLabel1_2_2_2_2_2->setText( tr2i18n( "Show command lines:" ) );
textLabel1_2_2_2_2_2_3->setText( tr2i18n( "Hide hidden files from view:" ) );
kcfg_SystrayIsEnabled->setText( tr2i18n( "Enabled" ) );
kcfg_CommandLineIsEnabled->setText( tr2i18n( "Enabled" ) );
kcfg_HideHiddenFilesIsEnabled->setText( tr2i18n( "Enabled" ) );
textLabel1_2_2_2_2_2_2->setText( tr2i18n( "Logwindow Font:" ) );
}
#include "Q_userinterfacepreferencesdialog.moc"
|