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) (side-by-side diff)
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 @@
+/****************************************************************************
+ inputDialog.cpp
+ -------------------
+** Created: Sat Mar 9 23:33:09 2002
+ copyright : (C) 2002 by ljp
+ email : ljp@llornkcor.com
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+
+#include "inputDialog.h"
+
+#include <qlineedit.h>
+#include <qlayout.h>
+#include <qvariant.h>
+#include <qtooltip.h>
+#include <qwhatsthis.h>
+
+
+InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
+ : QDialog( parent, name, modal, fl )
+{
+ if ( !name )
+ setName( "InputDialog" );
+ resize( 234, 50 );
+ setMaximumSize( QSize( 240, 50 ) );
+ setCaption( tr(name ) );
+
+ LineEdit1 = new QLineEdit( this, "LineEdit1" );
+ LineEdit1->setGeometry( QRect( 10, 10, 216, 22 ) );
+}
+
+InputDialog::~InputDialog()
+{
+ inputText= LineEdit1->text();
+
+}
+
+void InputDialog::setTextEdit(const QString &string)
+{
+ LineEdit1->setText(string);
+}