summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/indigroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/indigroup.h')
-rw-r--r--kstars/kstars/indigroup.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/kstars/kstars/indigroup.h b/kstars/kstars/indigroup.h
new file mode 100644
index 00000000..d08186bf
--- /dev/null
+++ b/kstars/kstars/indigroup.h
@@ -0,0 +1,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 <qptrlist.h>
+#include <qstring.h>
+
+class INDI_P;
+class INDI_D;
+
+class QFrame;
+class QVBoxLayout;
+
+/* INDI group */
+class INDI_G
+{
+ public:
+ INDI_G(INDI_D *parentDevice, QString inName);
+ ~INDI_G();
+
+ QString name; /* Group name */
+ INDI_D *dp; /* Parent device */
+ QFrame *propertyContainer; /* Properties container */
+ QVBoxLayout *propertyLayout; /* Properties layout */
+ QSpacerItem *VerticalSpacer; /* Vertical spacer */
+
+ QPtrList<INDI_P> pl; /* malloced list of pointers to properties */
+
+ void addProperty(INDI_P *pp);
+ bool removeProperty(INDI_P *pp);
+};
+
+#endif