My Project
0.0.16
QUCS Mapping
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
DownLoad
QUCS-src
qucs-0.0.16
qucs
dialogs
sweepdialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
sweepdialog.h
3
---------------
4
begin : Sat Aug 13 2005
5
copyright : (C) 2005 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 SWEEPDIALOG_H
19
#define SWEEPDIALOG_H
20
21
#include <qdialog.h>
22
#include <qregexp.h>
23
#include <qptrlist.h>
24
#include <qspinbox.h>
25
26
#include "node.h"
27
28
class
Graph
;
29
class
Schematic
;
30
class
QGridLayout;
31
32
33
class
mySpinBox
:
public
QSpinBox {
34
Q_OBJECT
35
public
:
36
mySpinBox
(
int
,
int
,
int
,
double
*, QWidget*);
37
38
protected
:
39
QString
mapValueToText
(
int
);
40
41
private
:
42
double
*Values;
43
};
44
45
46
47
class
SweepDialog
:
public
QDialog {
48
Q_OBJECT
49
public
:
50
SweepDialog
(
Schematic
*);
51
~SweepDialog
();
52
53
private
slots:
54
void
slotNewValue(
int
);
55
56
private
:
57
Graph
* setBiasPoints();
58
59
QGridLayout *all;
// the mother of all widgets
60
QPtrList<mySpinBox> BoxList;
61
62
Graph
*pGraph;
63
Schematic
*Doc;
64
QPtrList<Node> NodeList;
65
QPtrList<double> ValueList;
66
};
67
68
#endif
Generated on Tue Dec 25 2012 14:30:43 for My Project by
1.8.2