• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

indimenu.h

Go to the documentation of this file.
00001 /*  INDI frontend for KStars
00002     Copyright (C) 2003 Elwood C. Downey
00003 
00004     Adapted to KStars by Jasem Mutlaq (mutlaqja@ikarustech.com)
00005 
00006     This application is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU General Public
00008     License as published by the Free Software Foundation; either
00009     version 2 of the License, or (at your option) any later version.
00010  */
00011 
00012 #ifndef INDIMENU_H
00013 #define INDIMENU_H
00014 
00015 #include "indielement.h"
00016 
00017 class INDI_E;
00018 class INDI_P;
00019 class INDI_G;
00020 class INDI_D;
00021 
00022 class KLed;
00023 class KLineEdit;
00024 class KComboBox;
00025 class KDoubleSpinBox;
00026 class KPushButton;
00027 
00028 class QLabel;
00029 class QHBoxLayout;
00030 class QVBoxLayout;
00031 class QFrame;
00032 class QLineEdit;
00033 class QString;
00034 class QTextEdit;
00035 class QListView;
00036 class QSocketNotifier;
00037 class QTabWidget;
00038 class QSpacerItem;
00039 class QGridLayout;
00040 class QButtonGroup;
00041 class QCheckBox;
00042 class QScrollView;
00043 class QVBox;
00044 
00045 class KStars;
00046 class DeviceManager;
00047 
00048 class INDIMenu : public KDialogBase
00049 {
00050   Q_OBJECT
00051  public:
00052    INDIMenu(QWidget * parent = 0 , const char *name = 0);
00053    ~INDIMenu();
00054 
00055    /*****************************************************************
00056    * GUI stuff
00057    ******************************************************************/
00058    QVBoxLayout  *mainLayout;
00059    QTabWidget   *deviceContainer;
00060    QTextEdit    *msgST_w;
00061    QWidget  *tab;
00062    QPushButton  *clear;
00063    QString  currentLabel;
00064 
00065    KStars *ksw;
00066 
00067    QPtrList<DeviceManager> mgr;
00068 
00069    void updateStatus();
00070    //bool removeDevice(QString devName);
00071    void removeDeviceMgr(int mgrID);
00072    void setCustomLabel(QString deviceName);
00073 
00074    int mgrCounter;
00075    bool processServer();
00076    int processClient(QString hostname, QString portnumber);
00077    INDI_D * findDevice(QString deviceName);
00078    INDI_D * findDeviceByLabel(QString label);
00079 
00080 
00081    public slots:
00082    void discoverDevice();
00083    void announceDevice();
00084 
00085    signals:
00086    void driverDisconnected(int mgrID);
00087    void newDevice();
00088 
00089 };
00090 
00091 #endif

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal