Qucs-GUI
0.0.18
Main Page
Related Pages
Data Structures
Files
File List
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
qucs
paintings
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>
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
// TODO: I'm not sure whether declaring all this as public is really a good idea :-(
44
// data encapsulation => make this stuff private & provide getter & setter methods...
45
QLineEdit *
LineWidth
, *
HeadWidth
, *
HeadLength
;
46
QPushButton *
ColorButt
;
47
QComboBox *
StyleBox
, *
ArrowStyleBox
;
48
Qt::PenStyle
LineStyle
;
49
50
QGridLayout *
all
;
51
QIntValidator *
val100
;
52
};
53
54
#endif
ArrowDialog::HeadLength
QLineEdit * HeadLength
Definition:
arrowdialog.h:45
ArrowDialog::HeadWidth
QLineEdit * HeadWidth
Definition:
arrowdialog.h:45
ArrowDialog::slotSetColor
void slotSetColor()
Definition:
arrowdialog.cpp:113
ArrowDialog::LineStyle
Qt::PenStyle LineStyle
Definition:
arrowdialog.h:48
ArrowDialog::slotSetStyle
void slotSetStyle(int)
Definition:
arrowdialog.cpp:120
ArrowDialog::LineWidth
QLineEdit * LineWidth
Definition:
arrowdialog.h:45
ArrowDialog::val100
QIntValidator * val100
Definition:
arrowdialog.h:51
ArrowDialog::ArrowStyleBox
QComboBox * ArrowStyleBox
Definition:
arrowdialog.h:47
ArrowDialog::ColorButt
QPushButton * ColorButt
Definition:
arrowdialog.h:46
ArrowDialog::StyleBox
QComboBox * StyleBox
Definition:
arrowdialog.h:47
ArrowDialog
Definition:
arrowdialog.h:30
ArrowDialog::~ArrowDialog
~ArrowDialog()
Definition:
arrowdialog.cpp:106
ArrowDialog::ArrowDialog
ArrowDialog(QWidget *parent=0, const char *name=0)
Definition:
arrowdialog.cpp:31
ArrowDialog::SetComboBox
void SetComboBox(Qt::PenStyle)
Definition:
arrowdialog.cpp:138
ArrowDialog::all
QGridLayout * all
Definition:
arrowdialog.h:50
Generated on Mon Sep 1 2014 20:05:21 for Qucs-GUI by
1.8.6