-rw-r--r-- | core/apps/embeddedkonsole/commandeditdialogbase.cpp | 101 | ||||
-rw-r--r-- | core/apps/embeddedkonsole/commandeditdialogbase.h | 46 |
2 files changed, 0 insertions, 147 deletions
diff --git a/core/apps/embeddedkonsole/commandeditdialogbase.cpp b/core/apps/embeddedkonsole/commandeditdialogbase.cpp deleted file mode 100644 index f25edb4..0000000 --- a/core/apps/embeddedkonsole/commandeditdialogbase.cpp +++ b/dev/null | |||
@@ -1,101 +0,0 @@ | |||
1 | /**************************************************************************** | ||
2 | ** Form implementation generated from reading ui file 'commandeditdialogbase.ui' | ||
3 | ** | ||
4 | ** Created: Sun Feb 3 15:23:58 2002 | ||
5 | ** by: The User Interface Compiler (uic) | ||
6 | ** | ||
7 | ** WARNING! All changes made in this file will be lost! | ||
8 | ****************************************************************************/ | ||
9 | #include "commandeditdialogbase.h" | ||
10 | |||
11 | #include <qheader.h> | ||
12 | #include <qlabel.h> | ||
13 | #include <qlistview.h> | ||
14 | #include <qpushbutton.h> | ||
15 | #include <qtoolbutton.h> | ||
16 | #include "playlistselection.h" | ||
17 | #include <qlayout.h> | ||
18 | #include <qvariant.h> | ||
19 | #include <qtooltip.h> | ||
20 | #include <qwhatsthis.h> | ||
21 | |||
22 | /* | ||
23 | * Constructs a CommandEditDialogBase which is a child of 'parent', with the | ||
24 | * name 'name' and widget flags set to 'f' | ||
25 | * | ||
26 | * The dialog will by default be modeless, unless you set 'modal' to | ||
27 | * TRUE to construct a modal dialog. | ||
28 | */ | ||
29 | CommandEditDialogBase::CommandEditDialogBase( QWidget* parent, const char* name, bool modal, WFlags fl ) | ||
30 | : QDialog( parent, name, modal, fl ) | ||
31 | { | ||
32 | if ( !name ) | ||
33 | setName( "CommandEditDialogBase" ); | ||
34 | resize( 196, 414 ); | ||
35 | setCaption( tr( "Commands" ) ); | ||
36 | CommandEditDialogBaseLayout = new QGridLayout( this ); | ||
37 | CommandEditDialogBaseLayout->setSpacing( 6 ); | ||
38 | CommandEditDialogBaseLayout->setMargin( 11 ); | ||
39 | |||
40 | TextLabel1 = new QLabel( this, "TextLabel1" ); | ||
41 | TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); | ||
42 | TextLabel1->setText( tr( "<B>Commands</B>:" ) ); | ||
43 | |||
44 | CommandEditDialogBaseLayout->addWidget( TextLabel1, 0, 0 ); | ||
45 | |||
46 | Layout2 = new QVBoxLayout; | ||
47 | Layout2->setSpacing( 6 ); | ||
48 | Layout2->setMargin( 0 ); | ||
49 | |||
50 | ToolButton1 = new QToolButton( this, "ToolButton1" ); | ||
51 | ToolButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, ToolButton1->sizePolicy().hasHeightForWidth() ) ); | ||
52 | Layout2->addWidget( ToolButton1 ); | ||
53 | |||
54 | ToolButton2 = new QToolButton( this, "ToolButton2" ); | ||
55 | ToolButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, ToolButton2->sizePolicy().hasHeightForWidth() ) ); | ||
56 | Layout2->addWidget( ToolButton2 ); | ||
57 | |||
58 | ToolButton3 = new QToolButton( this, "ToolButton3" ); | ||
59 | ToolButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, ToolButton3->sizePolicy().hasHeightForWidth() ) ); | ||
60 | Layout2->addWidget( ToolButton3 ); | ||
61 | |||
62 | ToolButton4 = new QToolButton( this, "ToolButton4" ); | ||
63 | ToolButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, ToolButton4->sizePolicy().hasHeightForWidth() ) ); | ||
64 | Layout2->addWidget( ToolButton4 ); | ||
65 | |||
66 | ToolButton5 = new QToolButton( this, "ToolButton5" ); | ||
67 | ToolButton5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, ToolButton5->sizePolicy().hasHeightForWidth() ) ); | ||
68 | Layout2->addWidget( ToolButton5 ); | ||
69 | |||
70 | CommandEditDialogBaseLayout->addLayout( Layout2, 1, 2 ); | ||
71 | QSpacerItem* spacer = new QSpacerItem( 21, 20, QSizePolicy::Fixed, QSizePolicy::Minimum ); | ||
72 | CommandEditDialogBaseLayout->addItem( spacer, 0, 2 ); | ||
73 | |||
74 | TextLabel1_2 = new QLabel( this, "TextLabel1_2" ); | ||
75 | TextLabel1_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, TextLabel1_2->sizePolicy().hasHeightForWidth() ) ); | ||
76 | TextLabel1_2->setText( tr( "<B>Suggested Commands</B>:" ) ); | ||
77 | |||
78 | CommandEditDialogBaseLayout->addWidget( TextLabel1_2, 2, 0 ); | ||
79 | |||
80 | m_PlayListSelection = new PlayListSelection( this, "m_PlayListSelection" ); | ||
81 | m_PlayListSelection->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, m_PlayListSelection->sizePolicy().hasHeightForWidth() ) ); | ||
82 | |||
83 | CommandEditDialogBaseLayout->addMultiCellWidget( m_PlayListSelection, 1, 1, 0, 1 ); | ||
84 | QSpacerItem* spacer_2 = new QSpacerItem( 20, 30, QSizePolicy::Minimum, QSizePolicy::Fixed ); | ||
85 | CommandEditDialogBaseLayout->addItem( spacer_2, 2, 1 ); | ||
86 | QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed ); | ||
87 | CommandEditDialogBaseLayout->addItem( spacer_3, 2, 2 ); | ||
88 | |||
89 | m_SuggestedCommandList = new QListView( this, "m_SuggestedCommandList" ); | ||
90 | |||
91 | CommandEditDialogBaseLayout->addMultiCellWidget( m_SuggestedCommandList, 3, 3, 0, 1 ); | ||
92 | } | ||
93 | |||
94 | /* | ||
95 | * Destroys the object and frees any allocated resources | ||
96 | */ | ||
97 | CommandEditDialogBase::~CommandEditDialogBase() | ||
98 | { | ||
99 | // no need to delete child widgets, Qt does it all for us | ||
100 | } | ||
101 | |||
diff --git a/core/apps/embeddedkonsole/commandeditdialogbase.h b/core/apps/embeddedkonsole/commandeditdialogbase.h deleted file mode 100644 index 6a37ec9..0000000 --- a/core/apps/embeddedkonsole/commandeditdialogbase.h +++ b/dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /**************************************************************************** | ||
2 | ** Form interface generated from reading ui file 'commandeditdialogbase.ui' | ||
3 | ** | ||
4 | ** Created: Sun Feb 3 15:23:28 2002 | ||
5 | ** by: The User Interface Compiler (uic) | ||
6 | ** | ||
7 | ** WARNING! All changes made in this file will be lost! | ||
8 | ****************************************************************************/ | ||
9 | #ifndef COMMANDEDITDIALOGBASE_H | ||
10 | #define COMMANDEDITDIALOGBASE_H | ||
11 | |||
12 | #include <qvariant.h> | ||
13 | #include <qdialog.h> | ||
14 | class QVBoxLayout; | ||
15 | class QHBoxLayout; | ||
16 | class QGridLayout; | ||
17 | class PlayListSelection; | ||
18 | class QLabel; | ||
19 | class QListView; | ||
20 | class QListViewItem; | ||
21 | class QToolButton; | ||
22 | |||
23 | class CommandEditDialogBase : public QDialog | ||
24 | { | ||
25 | Q_OBJECT | ||
26 | |||
27 | public: | ||
28 | CommandEditDialogBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | ||
29 | ~CommandEditDialogBase(); | ||
30 | |||
31 | QLabel* TextLabel1; | ||
32 | QToolButton* ToolButton1; | ||
33 | QToolButton* ToolButton2; | ||
34 | QToolButton* ToolButton3; | ||
35 | QToolButton* ToolButton4; | ||
36 | QToolButton* ToolButton5; | ||
37 | QLabel* TextLabel1_2; | ||
38 | PlayListSelection* m_PlayListSelection; | ||
39 | QListView* m_SuggestedCommandList; | ||
40 | |||
41 | protected: | ||
42 | QGridLayout* CommandEditDialogBaseLayout; | ||
43 | QVBoxLayout* Layout2; | ||
44 | }; | ||
45 | |||
46 | #endif // COMMANDEDITDIALOGBASE_H | ||