summaryrefslogtreecommitdiff
path: root/noncore/settings/tabmanager/app.cpp
blob: aa17bfe56d096bb4dfa29f418314ed50dd847fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*

               =.            This file is part of the OPIE Project
             .=l.            Copyright (c)  2002 Benjamin Meyer <meyerb@sharpsec.com>
           .>+-=
 _;:,     .>    :=|.         This library is free software; you can
.> <`_,   >  .   <=          redistribute it and/or  modify it under
:`=1 )Y*s>-.--   :           the terms of the GNU Library General Public
.="- .-=="i,     .._         License as published by the Free Software
 - .   .-<_>     .<>         Foundation; either version 2 of the License,
     ._= =}       :          or (at your option) any later version.
    .%`+i>       _;_.
    .i_,=:_.      -<s.       This library is distributed in the hope that
     +  .  -:.       =       it will be useful,  but WITHOUT ANY WARRANTY;
    : ..    .:,     . . .    without even the implied warranty of
    =_        +     =;=|`    MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>`:     PARTICULAR PURPOSE. See the GNU
..}^=.=       =       ;      Library General Public License for more
++=   -.     .`     .:       details.
 :     =  ...= . :.=-
 -.   .:....=;==+<;          You should have received a copy of the GNU
  -_. . .   )=.  =           Library General Public License along with
    --        :-=`           this library; see the file COPYING.LIB.
                             If not, write to the Free Software Foundation,
                             Inc., 59 Temple Place - Suite 330,
                             Boston, MA 02111-1307, USA.

*/
/****************************************************************************
** Form implementation generated from reading ui file 'app.ui'
**
** Created: Fri May 3 14:38:15 2002
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "app.h"

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

/*
 *  Constructs a AppEdit 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.
 */
AppEdit::AppEdit( QWidget* parent,  const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "AppEdit" );
    resize( 211, 241 );
    setCaption( tr( "Application" ) );
    AppEditLayout = new QGridLayout( this );
    AppEditLayout->setSpacing( 6 );
    AppEditLayout->setMargin( 11 );

    TextLabel3 = new QLabel( this, "TextLabel3" );
    TextLabel3->setText( tr( "Exec" ) );

    AppEditLayout->addWidget( TextLabel3, 2, 0 );

    TextLabel4 = new QLabel( this, "TextLabel4" );
    TextLabel4->setText( tr( "Comment" ) );

    AppEditLayout->addWidget( TextLabel4, 3, 0 );

    TextLabel2 = new QLabel( this, "TextLabel2" );
    TextLabel2->setText( tr( "Icon" ) );

    AppEditLayout->addWidget( TextLabel2, 1, 0 );

    TextLabel1 = new QLabel( this, "TextLabel1" );
    TextLabel1->setText( tr( "Name" ) );

    AppEditLayout->addWidget( TextLabel1, 0, 0 );

    iconLineEdit = new QLineEdit( this, "iconLineEdit" );

    AppEditLayout->addWidget( iconLineEdit, 1, 1 );

    nameLineEdit = new QLineEdit( this, "nameLineEdit" );

    AppEditLayout->addWidget( nameLineEdit, 0, 1 );

    commentLineEdit = new QLineEdit( this, "commentLineEdit" );

    AppEditLayout->addWidget( commentLineEdit, 3, 1 );

    execLineEdit = new QLineEdit( this, "execLineEdit" );

    AppEditLayout->addWidget( execLineEdit, 2, 1 );
    QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
    AppEditLayout->addItem( spacer, 4, 1 );
}

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