summaryrefslogtreecommitdiff
path: root/noncore/tools/formatter/inputDialog.cpp
authorllornkcor <llornkcor>2002-04-25 00:11:44 (UTC)
committer llornkcor <llornkcor>2002-04-25 00:11:44 (UTC)
commitfd9fe8316525d3d7dac85d8d71dd8267b5abbd8f (patch) (unidiff)
treefaf04b23270a222baae30e5ea29c77f308f0328e /noncore/tools/formatter/inputDialog.cpp
parent5d3d95245768f7949208d367db1b5dc1d7f5e314 (diff)
downloadopie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.zip
opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.tar.gz
opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.tar.bz2
initial commit
Diffstat (limited to 'noncore/tools/formatter/inputDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/formatter/inputDialog.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/noncore/tools/formatter/inputDialog.cpp b/noncore/tools/formatter/inputDialog.cpp
new file mode 100644
index 0000000..373db3b
--- a/dev/null
+++ b/noncore/tools/formatter/inputDialog.cpp
@@ -0,0 +1,44 @@
1/****************************************************************************
2 inputDialog.cpp
3 -------------------
4** Created: Sat Mar 9 23:33:09 2002
5 copyright : (C) 2002 by ljp
6 email : ljp@llornkcor.com
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
11 ***************************************************************************/
12
13#include "inputDialog.h"
14
15#include <qlineedit.h>
16#include <qlayout.h>
17#include <qvariant.h>
18#include <qtooltip.h>
19#include <qwhatsthis.h>
20
21
22InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
23 : QDialog( parent, name, modal, fl )
24{
25 if ( !name )
26 setName( "InputDialog" );
27 resize( 234, 50 );
28 setMaximumSize( QSize( 240, 50 ) );
29 setCaption( tr(name ) );
30
31 LineEdit1 = new QLineEdit( this, "LineEdit1" );
32 LineEdit1->setGeometry( QRect( 10, 10, 216, 22 ) );
33}
34
35InputDialog::~InputDialog()
36{
37 inputText= LineEdit1->text();
38
39}
40
41void InputDialog::setTextEdit(const QString &string)
42{
43 LineEdit1->setText(string);
44}