blob: d9361c2dd109c416c626923a5a775ba43249af66 (
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
|
/* INDI Group
Copyright (C) 2003 Jasem Mutlaq (mutlaqja@ikarustech.com)
This application is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
JM Changelog
2004-16-1: Start
*/
#ifndef INDIGROUP_H
#define INDIGROUP_H
#include "indielement.h"
#include <tqptrlist.h>
#include <tqstring.h>
class INDI_P;
class INDI_D;
class QFrame;
class QVBoxLayout;
/* INDI group */
class INDI_G
{
public:
INDI_G(INDI_D *parentDevice, TQString inName);
~INDI_G();
TQString name; /* Group name */
INDI_D *dp; /* Parent device */
TQFrame *propertyContainer; /* Properties container */
TQVBoxLayout *propertyLayout; /* Properties layout */
TQSpacerItem *VerticalSpacer; /* Vertical spacer */
TQPtrList<INDI_P> pl; /* malloced list of pointers to properties */
void addProperty(INDI_P *pp);
bool removeProperty(INDI_P *pp);
};
#endif
|