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
node.h
Go to the documentation of this file.
1
/***************************************************************************
2
node.h
3
--------
4
begin : Sat Sep 20 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 NODE_H
19
#define NODE_H
20
21
#include "
element.h
"
22
23
#include <qptrlist.h>
24
25
class
ViewPainter
;
26
class
WireLabel
;
27
class
QPainter;
28
29
30
class
Node
:
public
Conductor
{
31
public
:
32
Node
(
int
,
int
);
33
~Node
();
34
35
void
paint
(
ViewPainter
*);
36
bool
getSelected
(
int
,
int
);
37
void
setName
(
const
QString&,
const
QString&,
int
x_=0,
int
y_
=0);
38
39
QPtrList<Element>
Connections
;
40
QString
Name
;
// node name used by creation of netlist
41
QString
DType
;
// type of node (used by digital files)
42
int
State
;
// remember some things during some operations
43
};
44
45
#endif
Generated on Tue Dec 25 2012 14:30:43 for My Project by
1.8.2