My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
arrowdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  arrowdialog.h
3  ---------------
4  begin : Fri Nov 28 2003
5  copyright : (C) 2003 by Michael Margraf
6  email : michael.margraf@alumni.tu-berlin.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef ARROWDIALOG_H
19 #define ARROWDIALOG_H
20 
21 #include <qdialog.h>
22 
23 class QLineEdit;
24 class QGridLayout;
25 class QPushButton;
26 class QComboBox;
27 class QIntValidator;
28 
29 
30 class ArrowDialog : public QDialog {
31 Q_OBJECT
32 public:
33  ArrowDialog(QWidget *parent=0, const char *name=0);
34  ~ArrowDialog();
35 
36  void SetComboBox(Qt::PenStyle);
37 
38 private slots:
39  void slotSetColor();
40  void slotSetStyle(int);
41 
42 public:
43  QLineEdit *LineWidth, *HeadWidth, *HeadLength;
44  QPushButton *ColorButt;
45  QComboBox *StyleBox, *ArrowStyleBox;
46  Qt::PenStyle LineStyle;
47 
48  QGridLayout *all;
49  QIntValidator *val100;
50 };
51 
52 #endif