kstars
indigroup.h
Go to the documentation of this file.00001 /* INDI Group 00002 Copyright (C) 2003 Jasem Mutlaq (mutlaqja@ikarustech.com) 00003 00004 This application is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU General Public 00006 License as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 JM Changelog 00010 2004-16-1: Start 00011 00012 */ 00013 00014 #ifndef INDIGROUP_H 00015 #define INDIGROUP_H 00016 00017 #include "indielement.h" 00018 #include <qptrlist.h> 00019 #include <qstring.h> 00020 00021 class INDI_P; 00022 class INDI_D; 00023 00024 class QFrame; 00025 class QVBoxLayout; 00026 00027 /* INDI group */ 00028 class INDI_G 00029 { 00030 public: 00031 INDI_G(INDI_D *parentDevice, QString inName); 00032 ~INDI_G(); 00033 00034 QString name; /* Group name */ 00035 INDI_D *dp; /* Parent device */ 00036 QFrame *propertyContainer; /* Properties container */ 00037 QVBoxLayout *propertyLayout; /* Properties layout */ 00038 QSpacerItem *VerticalSpacer; /* Vertical spacer */ 00039 00040 QPtrList<INDI_P> pl; /* malloced list of pointers to properties */ 00041 00042 void addProperty(INDI_P *pp); 00043 bool removeProperty(INDI_P *pp); 00044 }; 00045 00046 #endif