Qucs-GUI
0.0.19
|
00001 /*************************************************************************** 00002 graphictextdialog.h 00003 --------------------- 00004 begin : Wed Nov 26 2003 00005 copyright : (C) 2003 by Michael Margraf 00006 email : michael.margraf@alumni.tu-berlin.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef GRAPHICTEXTDIALOG_H 00019 #define GRAPHICTEXTDIALOG_H 00020 00021 #include <QDialog> 00022 00023 class QLineEdit; 00024 class QTextEdit; 00025 class QPushButton; 00026 class QVBoxLayout; 00027 class QIntValidator; 00028 00029 00030 class GraphicTextDialog : public QDialog { 00031 Q_OBJECT 00032 public: 00033 GraphicTextDialog(QWidget *parent=0, const char *name=0); 00034 ~GraphicTextDialog(); 00035 00036 private slots: 00037 void slotSetColor(); 00038 void slotOkButton(); 00039 00040 public: 00041 QLineEdit *TextSize, *Angle; 00042 QPushButton *ColorButt; 00043 QTextEdit *text; 00044 00045 private: 00046 QVBoxLayout *vert; 00047 QIntValidator *val50, *val360; 00048 }; 00049 00050 #endif