#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './navcfgbase.ui' ** ** Created: Вск Мар 4 15:40:57 2007 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.7 edited Aug 31 2005 $) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "navcfgbase.h" #include #include #include #include #include #include #include #include /* * Constructs a NavCfgBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ NavCfgBase::NavCfgBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "Form1" ); Form1Layout = new QVBoxLayout( this, 11, 6, "Form1Layout"); chkKDE = new QCheckBox( this, "chkKDE" ); Form1Layout->addWidget( chkKDE ); lblBrowser = new QLabel( this, "lblBrowser" ); Form1Layout->addWidget( lblBrowser ); edtBrowser = new QLineEdit( this, "edtBrowser" ); Form1Layout->addWidget( edtBrowser ); lblMailer = new QLabel( this, "lblMailer" ); Form1Layout->addWidget( lblMailer ); edtMailer = new QLineEdit( this, "edtMailer" ); Form1Layout->addWidget( edtMailer ); chkNew = new QCheckBox( this, "chkNew" ); Form1Layout->addWidget( chkNew ); Spacer1 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); Form1Layout->addItem( Spacer1 ); languageChange(); resize( QSize(278, 192).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ NavCfgBase::~NavCfgBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void NavCfgBase::languageChange() { setCaption( i18n( "Form1" ) ); chkKDE->setText( i18n( "Use KDE settings" ) ); lblBrowser->setText( i18n( "Browser:" ) ); lblMailer->setText( i18n( "Mailer:" ) ); chkNew->setText( i18n( "Open links in &new window" ) ); } #include "navcfgbase.moc"