| 1 | /**************************************************************************** |
| 2 | ****************************************************************************/ |
| 3 | #include "audc_p.h" |
| 4 | |
| 5 | #include <qcombobox.h> |
| 6 | #include <qlabel.h> |
| 7 | #include <qpushbutton.h> |
| 8 | #include <qlayout.h> |
| 9 | //#include <qvariant.h> |
| 10 | #include <qtooltip.h> |
| 11 | #include <qwhatsthis.h> |
| 12 | |
| 13 | /* |
| 14 | */ |
| 15 | QtavOrderedDialogG::QtavOrderedDialogG( QWidget* parent, const char* name, bool modal, WFlags fl ) |
| 16 | : QDialog( parent, name, modal, fl ) |
| 17 | { |
| 18 | if ( !name ) |
| 19 | setName( "AudioCompress" ); |
| 20 | resize( 256, 102 ); |
| 21 | setCaption( tr( "Audio compression format" ) ); |
| 22 | |
| 23 | PushButton1_2 = new QPushButton( this, "PushButton1_2" ); |
| 24 | PushButton1_2->setGeometry( QRect( 162, 56, 80, 26 ) ); |
| 25 | PushButton1_2->setText( tr( "Cancel" ) ); |
| 26 | |
| 27 | TextLabel1 = new QLabel( this, "TextLabel1" ); |
| 28 | TextLabel1->setGeometry( QRect( 14, 19, 92, 22 ) ); |
| 29 | TextLabel1->setText( tr( "Audio compression:" ) ); |
| 30 | |
| 31 | ComboBox1 = new QComboBox( FALSE, this, "ComboBox1" ); |
| 32 | ComboBox1->insertItem( tr( "None" ) ); |
| 33 | ComboBox1->insertItem( tr( "MP3" ) ); |
| 34 | ComboBox1->setGeometry( QRect( 112, 19, 130, 22 ) ); |
| 35 | |
| 36 | PushButton1 = new QPushButton( this, "PushButton1" ); |
| 37 | PushButton1->setGeometry( QRect( 67, 56, 89, 26 ) ); |
| 38 | PushButton1->setText( tr( "Ok" ) ); |
| 39 | |
| 40 | // signals and slots connections |
| 41 | connect( PushButton1, SIGNAL( clicked() ), this, SLOT( accept() ) ); |
| 42 | connect( PushButton1_2, SIGNAL( clicked() ), this, SLOT( reject() ) ); |
| 43 | } |
| 44 | |
| 45 | /* |
| 46 | * Destroys the object and frees any allocated resources |
| 47 | */ |
| 48 | QtavOrderedDialogG::~QtavOrderedDialogG() |
| 49 | { |
| 50 | // no need to delete child widgets, Qt does it all for us |
| 51 | } |
| 52 | |
| 53 | #include "audc_p.moc" |