From b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 15:57:00 -0500 Subject: Initial import from kshowmail 3.3.1 sources --- doc/html/CommandDlg_8cpp-source.html | 186 +++++++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 doc/html/CommandDlg_8cpp-source.html (limited to 'doc/html/CommandDlg_8cpp-source.html') diff --git a/doc/html/CommandDlg_8cpp-source.html b/doc/html/CommandDlg_8cpp-source.html new file mode 100644 index 0000000..d1c77e0 --- /dev/null +++ b/doc/html/CommandDlg_8cpp-source.html @@ -0,0 +1,186 @@ + + +kshowmail: kshowmail/CommandDlg.cpp Source File + + + + +
+
+ +

CommandDlg.cpp

00001 #include <kdialog.h>
+00002 #include <klocale.h>
+00003 /****************************************************************************
+00004 ** Form implementation generated from reading ui file '/home/kuddel/Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/CommandDlg.ui'
+00005 **
+00006 ** Created: Di Mai 15 19:57:53 2007
+00007 **      by: The User Interface Compiler ($Id: CommandDlg_8cpp-source.html,v 1.8 2007/05/16 20:11:59 kuddel-fl Exp $)
+00008 **
+00009 ** WARNING! All changes made in this file will be lost!
+00010 ****************************************************************************/
+00011 
+00012 #include "CommandDlg.h"
+00013 
+00014 #include <qvariant.h>
+00015 #include <qpushbutton.h>
+00016 #include <qgroupbox.h>
+00017 #include <qcombobox.h>
+00018 #include <qlayout.h>
+00019 #include <qtooltip.h>
+00020 #include <qwhatsthis.h>
+00021 
+00022 /*
+00023  *  Constructs a CommandDlg as a child of 'parent', with the
+00024  *  name 'name' and widget flags set to 'f'.
+00025  *
+00026  *  The dialog will by default be modeless, unless you set 'modal' to
+00027  *  TRUE to construct a modal dialog.
+00028  */
+00029 CommandDlg::CommandDlg( QWidget* parent, const char* name, bool modal, WFlags fl )
+00030     : QDialog( parent, name, modal, fl )
+00031 {
+00032     if ( !name )
+00033        setName( "CommandDlg" );
+00034     setSizeGripEnabled( FALSE );
+00035     CommandDlgLayout = new QGridLayout( this, 1, 1, 11, 6, "CommandDlgLayout"); 
+00036 
+00037     Layout6 = new QHBoxLayout( 0, 0, 6, "Layout6"); 
+00038     Spacer11 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
+00039     Layout6->addItem( Spacer11 );
+00040 
+00041     m_ButtonOk = new QPushButton( this, "m_ButtonOk" );
+00042     Layout6->addWidget( m_ButtonOk );
+00043 
+00044     m_ButtonCancel = new QPushButton( this, "m_ButtonCancel" );
+00045     Layout6->addWidget( m_ButtonCancel );
+00046 
+00047     CommandDlgLayout->addLayout( Layout6, 1, 0 );
+00048 
+00049     QGroupBox_1 = new QGroupBox( this, "QGroupBox_1" );
+00050     QGroupBox_1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, QGroupBox_1->sizePolicy().hasHeightForWidth() ) );
+00051     QGroupBox_1->setColumnLayout(0, Qt::Vertical );
+00052     QGroupBox_1->layout()->setSpacing( 6 );
+00053     QGroupBox_1->layout()->setMargin( 11 );
+00054     QGroupBox_1Layout = new QGridLayout( QGroupBox_1->layout() );
+00055     QGroupBox_1Layout->setAlignment( Qt::AlignTop );
+00056 
+00057     m_ButtonAdd = new QPushButton( QGroupBox_1, "m_ButtonAdd" );
+00058     m_ButtonAdd->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, m_ButtonAdd->sizePolicy().hasHeightForWidth() ) );
+00059 
+00060     QGroupBox_1Layout->addWidget( m_ButtonAdd, 1, 0 );
+00061 
+00062     m_ButtonEdit = new QPushButton( QGroupBox_1, "m_ButtonEdit" );
+00063     m_ButtonEdit->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, m_ButtonEdit->sizePolicy().hasHeightForWidth() ) );
+00064 
+00065     QGroupBox_1Layout->addWidget( m_ButtonEdit, 1, 1 );
+00066 
+00067     m_ButtonCopy = new QPushButton( QGroupBox_1, "m_ButtonCopy" );
+00068     m_ButtonCopy->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, m_ButtonCopy->sizePolicy().hasHeightForWidth() ) );
+00069 
+00070     QGroupBox_1Layout->addWidget( m_ButtonCopy, 1, 2 );
+00071 
+00072     m_ButtonDelete = new QPushButton( QGroupBox_1, "m_ButtonDelete" );
+00073     m_ButtonDelete->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, m_ButtonDelete->sizePolicy().hasHeightForWidth() ) );
+00074 
+00075     QGroupBox_1Layout->addWidget( m_ButtonDelete, 1, 3 );
+00076 
+00077     m_ComboCommand = new QComboBox( FALSE, QGroupBox_1, "m_ComboCommand" );
+00078     m_ComboCommand->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, m_ComboCommand->sizePolicy().hasHeightForWidth() ) );
+00079     m_ComboCommand->setInsertionPolicy( QComboBox::AtTop );
+00080 
+00081     QGroupBox_1Layout->addMultiCellWidget( m_ComboCommand, 0, 0, 0, 3 );
+00082 
+00083     CommandDlgLayout->addWidget( QGroupBox_1, 0, 0 );
+00084     languageChange();
+00085     resize( QSize(378, 146).expandedTo(minimumSizeHint()) );
+00086     clearWState( WState_Polished );
+00087 
+00088     // signals and slots connections
+00089     connect( m_ButtonAdd, SIGNAL( clicked() ), this, SLOT( slotAdd() ) );
+00090     connect( m_ButtonEdit, SIGNAL( clicked() ), this, SLOT( slotEdit() ) );
+00091     connect( m_ButtonCopy, SIGNAL( clicked() ), this, SLOT( slotCopy() ) );
+00092     connect( m_ButtonDelete, SIGNAL( clicked() ), this, SLOT( slotDelete() ) );
+00093     connect( m_ButtonOk, SIGNAL( clicked() ), this, SLOT( slotOk() ) );
+00094     connect( m_ButtonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
+00095     connect( m_ComboCommand, SIGNAL( activated(int) ), this, SLOT( slotCommandActivated(int) ) );
+00096 
+00097     // tab order
+00098     setTabOrder( m_ComboCommand, m_ButtonAdd );
+00099     setTabOrder( m_ButtonAdd, m_ButtonEdit );
+00100     setTabOrder( m_ButtonEdit, m_ButtonCopy );
+00101     setTabOrder( m_ButtonCopy, m_ButtonDelete );
+00102     setTabOrder( m_ButtonDelete, m_ButtonOk );
+00103     setTabOrder( m_ButtonOk, m_ButtonCancel );
+00104 }
+00105 
+00106 /*
+00107  *  Destroys the object and frees any allocated resources
+00108  */
+00109 CommandDlg::~CommandDlg()
+00110 {
+00111     // no need to delete child widgets, Qt does it all for us
+00112 }
+00113 
+00114 /*
+00115  *  Sets the strings of the subwidgets using the current
+00116  *  language.
+00117  */
+00118 void CommandDlg::languageChange()
+00119 {
+00120     setCaption( tr2i18n( "Command" ) );
+00121     m_ButtonOk->setText( tr2i18n( "OK" ) );
+00122     m_ButtonCancel->setText( tr2i18n( "Cancel" ) );
+00123     QGroupBox_1->setTitle( tr2i18n( "User commands" ) );
+00124     m_ButtonAdd->setText( tr2i18n( "Add" ) );
+00125     QToolTip::add( m_ButtonAdd, tr2i18n( "Add user command" ) );
+00126     m_ButtonEdit->setText( tr2i18n( "Edit" ) );
+00127     QToolTip::add( m_ButtonEdit, tr2i18n( "Edit user command" ) );
+00128     m_ButtonCopy->setText( tr2i18n( "Copy" ) );
+00129     QToolTip::add( m_ButtonCopy, tr2i18n( "Copy user command" ) );
+00130     m_ButtonDelete->setText( tr2i18n( "Delete" ) );
+00131     QToolTip::add( m_ButtonDelete, tr2i18n( "Delete user command" ) );
+00132 }
+00133 
+00134 void CommandDlg::slotCommandActivated(int)
+00135 {
+00136     qWarning( "CommandDlg::slotCommandActivated(int): Not implemented yet" );
+00137 }
+00138 
+00139 void CommandDlg::slotAdd()
+00140 {
+00141     qWarning( "CommandDlg::slotAdd(): Not implemented yet" );
+00142 }
+00143 
+00144 void CommandDlg::slotCopy()
+00145 {
+00146     qWarning( "CommandDlg::slotCopy(): Not implemented yet" );
+00147 }
+00148 
+00149 void CommandDlg::slotDelete()
+00150 {
+00151     qWarning( "CommandDlg::slotDelete(): Not implemented yet" );
+00152 }
+00153 
+00154 void CommandDlg::slotEdit()
+00155 {
+00156     qWarning( "CommandDlg::slotEdit(): Not implemented yet" );
+00157 }
+00158 
+00159 void CommandDlg::slotOk()
+00160 {
+00161     qWarning( "CommandDlg::slotOk(): Not implemented yet" );
+00162 }
+00163 
+00164 #include "CommandDlg.moc"
+

Generated on Wed May 16 21:15:18 2007 for kshowmail by  + +doxygen 1.5.0
+ + -- cgit v1.2.1