Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qsmbbase.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Form implementation generated from reading ui file 'qsmbbase.ui'
00003 **
00004 ** Created: Thu Aug 11 19:30:44 2005
00005 **      by:  The User Interface Compiler (uic)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 ****************************************************************************/
00009 #include "qsmbbase.h"
00010 
00011 #include <qcheckbox.h>
00012 #include <qcombobox.h>
00013 #include <qheader.h>
00014 #include <qlabel.h>
00015 #include <qlineedit.h>
00016 #include <qlistview.h>
00017 #include <qpushbutton.h>
00018 #include <qtabwidget.h>
00019 #include <qtextview.h>
00020 #include <qlayout.h>
00021 #include <qvariant.h>
00022 #include <qtooltip.h>
00023 #include <qwhatsthis.h>
00024 
00025 /* 
00026  *  Constructs a FormQPESMBBase which is a child of 'parent', with the 
00027  *  name 'name' and widget flags set to 'f' 
00028  */
00029 FormQPESMBBase::FormQPESMBBase( QWidget* parent,  const char* name, WFlags fl )
00030     : QWidget( parent, name, fl )
00031 {
00032     if ( !name )
00033         setName( "FormQPESMBBase" );
00034     resize( 254, 352 ); 
00035     QFont f( font() );
00036     setFont( f ); 
00037     setCaption( tr( "Opie Smb" ) );
00038     FormQPESMBBaseLayout = new QGridLayout( this ); 
00039     FormQPESMBBaseLayout->setSpacing( 2 );
00040     FormQPESMBBaseLayout->setMargin( 0 );
00041 
00042     TabWidget2 = new QTabWidget( this, "TabWidget2" );
00043 
00044     tab = new QWidget( TabWidget2, "tab" );
00045     tabLayout = new QGridLayout( tab ); 
00046     tabLayout->setSpacing( 0 );
00047     tabLayout->setMargin( 2 );
00048 
00049     CBHost = new QComboBox( FALSE, tab, "CBHost" );
00050 
00051     tabLayout->addMultiCellWidget( CBHost, 1, 1, 0, 3 );
00052 
00053     mountpt = new QComboBox( FALSE, tab, "mountpt" );
00054 
00055     tabLayout->addMultiCellWidget( mountpt, 4, 4, 1, 3 );
00056 
00057     LScan = new QLabel( tab, "LScan" );
00058     LScan->setText( tr( "" ) );
00059 
00060     tabLayout->addWidget( LScan, 0, 3 );
00061 
00062     textLabel1 = new QLabel( tab, "textLabel1" );
00063     textLabel1->setText( tr( "mount pt:" ) );
00064 
00065     tabLayout->addWidget( textLabel1, 4, 0 );
00066 
00067     ListViewScan = new QListView( tab, "ListViewScan" );
00068     ListViewScan->addColumn( tr( "Shares" ) );
00069 
00070     tabLayout->addMultiCellWidget( ListViewScan, 2, 2, 0, 3 );
00071 
00072     BtnScan = new QPushButton( tab, "BtnScan" );
00073     BtnScan->setText( tr( "&Scan" ) );
00074 
00075     tabLayout->addMultiCellWidget( BtnScan, 0, 0, 0, 1 );
00076 
00077     BtnClear = new QPushButton( tab, "BtnClear" );
00078     BtnClear->setText( tr( "&Clear" ) );
00079 
00080     tabLayout->addWidget( BtnClear, 0, 2 );
00081 
00082     onbootBtn = new QCheckBox( tab, "onbootBtn" );
00083     onbootBtn->setText( tr( "Reconnect on boot" ) );
00084 
00085     tabLayout->addMultiCellWidget( onbootBtn, 3, 3, 0, 2 );
00086 
00087     DoItBtn = new QPushButton( tab, "DoItBtn" );
00088     DoItBtn->setText( tr( "&Login" ) );
00089 
00090     tabLayout->addMultiCellWidget( DoItBtn, 5, 5, 0, 1 );
00091 
00092     Layout6 = new QGridLayout; 
00093     Layout6->setSpacing( 6 );
00094     Layout6->setMargin( 0 );
00095 
00096     Layout2 = new QHBoxLayout; 
00097     Layout2->setSpacing( 6 );
00098     Layout2->setMargin( 0 );
00099 
00100     pwdlabel = new QLabel( tab, "pwdlabel" );
00101     pwdlabel->setText( tr( "password" ) );
00102     Layout2->addWidget( pwdlabel );
00103 
00104     password = new QLineEdit( tab, "password" );
00105     Layout2->addWidget( password );
00106 
00107     Layout6->addLayout( Layout2, 1, 0 );
00108 
00109     Layout5 = new QHBoxLayout; 
00110     Layout5->setSpacing( 6 );
00111     Layout5->setMargin( 0 );
00112 
00113     usrlabel = new QLabel( tab, "usrlabel" );
00114     usrlabel->setText( tr( "username" ) );
00115     Layout5->addWidget( usrlabel );
00116 
00117     username = new QLineEdit( tab, "username" );
00118     Layout5->addWidget( username );
00119 
00120     Layout6->addLayout( Layout5, 0, 0 );
00121 
00122     tabLayout->addMultiCellLayout( Layout6, 5, 5, 2, 3 );
00123     TabWidget2->insertTab( tab, tr( "Scan" ) );
00124 
00125     tab_2 = new QWidget( TabWidget2, "tab_2" );
00126     tabLayout_2 = new QGridLayout( tab_2 ); 
00127     tabLayout_2->setSpacing( 6 );
00128     tabLayout_2->setMargin( 11 );
00129 
00130     TextViewOutput = new QTextView( tab_2, "TextViewOutput" );
00131     TextViewOutput->setTextFormat( QTextView::PlainText );
00132 
00133     tabLayout_2->addWidget( TextViewOutput, 0, 0 );
00134     TabWidget2->insertTab( tab_2, tr( "SMB Output" ) );
00135 
00136     FormQPESMBBaseLayout->addWidget( TabWidget2, 0, 0 );
00137 }
00138 
00139 /*  
00140  *  Destroys the object and frees any allocated resources
00141  */
00142 FormQPESMBBase::~FormQPESMBBase()
00143 {
00144     // no need to delete child widgets, Qt does it all for us
00145 }
00146 

Generated on Sat Nov 5 16:17:40 2005 for OPIE by  doxygen 1.4.2