Logo Search packages:      
Sourcecode: bbconf version File versions  Download package

editcommand_base.cc

/****************************************************************************
** Form implementation generated from reading ui file 'ui/editcommand_base.ui'
**
** Created: Sun Jun 23 01:45:24 2002
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "editcommand_base.h"

#include <qvariant.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a EditCommandBase which is 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.
 */
EditCommandBase::EditCommandBase( QWidget* parent,  const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
      setName( "EditCommandBase" );
    resize( 429, 82 ); 
    setCaption( trUtf8( "Edit Command" ) );
    EditCommandBaseLayout = new QVBoxLayout( this, 11, 6, "EditCommandBaseLayout"); 

    Layout18 = new QHBoxLayout( 0, 0, 6, "Layout18"); 

    TextLabel1 = new QLabel( this, "TextLabel1" );
    TextLabel1->setMinimumSize( QSize( 0, 0 ) );
    TextLabel1->setText( trUtf8( "Command:" ) );
    Layout18->addWidget( TextLabel1 );

    LineEdit1 = new QLineEdit( this, "LineEdit1" );
    LineEdit1->setMinimumSize( QSize( 200, 0 ) );
    Layout18->addWidget( LineEdit1 );

    PushButton13 = new QPushButton( this, "PushButton13" );
    PushButton13->setText( trUtf8( "&Delete Command" ) );
    Layout18->addWidget( PushButton13 );
    EditCommandBaseLayout->addLayout( Layout18 );
    QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
    EditCommandBaseLayout->addItem( spacer );

    Layout15 = new QHBoxLayout( 0, 0, 6, "Layout15"); 

    PushButton1 = new QPushButton( this, "PushButton1" );
    PushButton1->setText( trUtf8( "&OK" ) );
    PushButton1->setDefault( TRUE );
    Layout15->addWidget( PushButton1 );

    PushButton2 = new QPushButton( this, "PushButton2" );
    PushButton2->setText( trUtf8( "&Cancel" ) );
    Layout15->addWidget( PushButton2 );
    EditCommandBaseLayout->addLayout( Layout15 );

    // signals and slots connections
    connect( PushButton1, SIGNAL( clicked() ), this, SLOT( accept() ) );
    connect( PushButton2, SIGNAL( clicked() ), this, SLOT( reject() ) );
    connect( PushButton13, SIGNAL( clicked() ), this, SLOT( setDeleteCommand() ) );
    connect( PushButton13, SIGNAL( clicked() ), this, SLOT( reject() ) );
}

/*  
 *  Destroys the object and frees any allocated resources
 */
EditCommandBase::~EditCommandBase()
{
    // no need to delete child widgets, Qt does it all for us
}

void EditCommandBase::setDeleteCommand()
{
    qWarning( "EditCommandBase::setDeleteCommand(): Not implemented yet!" );
}


Generated by  Doxygen 1.6.0   Back to index