summaryrefslogtreecommitdiff
path: root/noncore/settings/tabmanager/app.cpp
Unidiff
Diffstat (limited to 'noncore/settings/tabmanager/app.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/tabmanager/app.cpp111
1 files changed, 111 insertions, 0 deletions
diff --git a/noncore/settings/tabmanager/app.cpp b/noncore/settings/tabmanager/app.cpp
new file mode 100644
index 0000000..aa17bfe
--- a/dev/null
+++ b/noncore/settings/tabmanager/app.cpp
@@ -0,0 +1,111 @@
1/*
2
3               =. This file is part of the OPIE Project
4             .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com>
5           .>+-=
6 _;:,     .>    :=|. This library is free software; you can
7.> <`_,   >  .   <= redistribute it and/or modify it under
8:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
9.="- .-=="i,     .._ License as published by the Free Software
10 - .   .-<_>     .<> Foundation; either version 2 of the License,
11     ._= =}       : or (at your option) any later version.
12    .%`+i>       _;_.
13    .i_,=:_.      -<s. This library is distributed in the hope that
14     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
15    : ..    .:,     . . . without even the implied warranty of
16    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
18..}^=.=       =       ; Library General Public License for more
19++=   -.     .`     .: details.
20 :     =  ...= . :.=-
21 -.   .:....=;==+<; You should have received a copy of the GNU
22  -_. . .   )=.  = Library General Public License along with
23    --        :-=` this library; see the file COPYING.LIB.
24 If not, write to the Free Software Foundation,
25 Inc., 59 Temple Place - Suite 330,
26 Boston, MA 02111-1307, USA.
27
28*/
29/****************************************************************************
30** Form implementation generated from reading ui file 'app.ui'
31**
32** Created: Fri May 3 14:38:15 2002
33** by: The User Interface Compiler (uic)
34**
35** WARNING! All changes made in this file will be lost!
36****************************************************************************/
37#include "app.h"
38
39#include <qlabel.h>
40#include <qlineedit.h>
41#include <qpushbutton.h>
42#include <qlayout.h>
43#include <qvariant.h>
44#include <qtooltip.h>
45#include <qwhatsthis.h>
46
47/*
48 * Constructs a AppEdit which is a child of 'parent', with the
49 * name 'name' and widget flags set to 'f'
50 *
51 * The dialog will by default be modeless, unless you set 'modal' to
52 * TRUE to construct a modal dialog.
53 */
54AppEdit::AppEdit( QWidget* parent, const char* name, bool modal, WFlags fl )
55 : QDialog( parent, name, modal, fl )
56{
57 if ( !name )
58 setName( "AppEdit" );
59 resize( 211, 241 );
60 setCaption( tr( "Application" ) );
61 AppEditLayout = new QGridLayout( this );
62 AppEditLayout->setSpacing( 6 );
63 AppEditLayout->setMargin( 11 );
64
65 TextLabel3 = new QLabel( this, "TextLabel3" );
66 TextLabel3->setText( tr( "Exec" ) );
67
68 AppEditLayout->addWidget( TextLabel3, 2, 0 );
69
70 TextLabel4 = new QLabel( this, "TextLabel4" );
71 TextLabel4->setText( tr( "Comment" ) );
72
73 AppEditLayout->addWidget( TextLabel4, 3, 0 );
74
75 TextLabel2 = new QLabel( this, "TextLabel2" );
76 TextLabel2->setText( tr( "Icon" ) );
77
78 AppEditLayout->addWidget( TextLabel2, 1, 0 );
79
80 TextLabel1 = new QLabel( this, "TextLabel1" );
81 TextLabel1->setText( tr( "Name" ) );
82
83 AppEditLayout->addWidget( TextLabel1, 0, 0 );
84
85 iconLineEdit = new QLineEdit( this, "iconLineEdit" );
86
87 AppEditLayout->addWidget( iconLineEdit, 1, 1 );
88
89 nameLineEdit = new QLineEdit( this, "nameLineEdit" );
90
91 AppEditLayout->addWidget( nameLineEdit, 0, 1 );
92
93 commentLineEdit = new QLineEdit( this, "commentLineEdit" );
94
95 AppEditLayout->addWidget( commentLineEdit, 3, 1 );
96
97 execLineEdit = new QLineEdit( this, "execLineEdit" );
98
99 AppEditLayout->addWidget( execLineEdit, 2, 1 );
100 QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
101 AppEditLayout->addItem( spacer, 4, 1 );
102}
103
104/*
105 * Destroys the object and frees any allocated resources
106 */
107AppEdit::~AppEdit()
108{
109 // no need to delete child widgets, Qt does it all for us
110}
111