#include #include /**************************************************************************** ** 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 #include #include #include #include #include #include /* * 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"