blob: e8d7a2c6d26f8f6e94ffa65f7ccbe133db9fa065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#include "editconnectionGUI.h"
#include <qptrdict.h>
#include <qvector.h>
#include "netnode.h"
class ANetNodeInstance;
class ANetNode;
class QListViewItem;
class NetNodeLVI;
class QCloseEvent;
class EditConnection : public EditConnectionGUI {
Q_OBJECT
public :
EditConnection( QWidget * P );
ANetNodeInstance * netNodeInstance( void );
void setConnection( NodeCollection * NC );
NodeCollection * connection( void );
public slots :
void SLOT_AutoCollapse( bool );
void SLOT_SelectNode( QListViewItem * it );
void SLOT_AlterTab( const QString & S );
virtual void accept( void );
private :
NodeCollection * getTmpCollection( void );
void updateGUI( QListViewItem * it, ANetNode * NN );
void buildFullTree( void );
void buildSubTree( QListViewItem * Parent, ANetNode * NN );
void disableTree( QListViewItem * it, bool Mode);
void enablePath( QListViewItem * it, bool pha);
bool haveCompleteConfig( QListViewItem * it );
QPtrDict<ANetNode> * Mapping;
NodeCollection * SelectedNodes;
bool TmpIsValid;
NodeCollection TmpCollection;
static bool AutoCollapse;
};
|