9#include "ui_devmanager.h"
33 bool isConnected {
false };
34 DeviceManager *deviceManager {
nullptr };
70 DeviceManager *deviceManager;
74 double focal_length { 0 };
75 double aperture { 0 };
78class DeviceManagerUI :
public QFrame,
public Ui::devManager
96class INDIDriver :
public QDialog
103 LOCAL_NAME_COLUMN = 0,
106 LOCAL_VERSION_COLUMN,
111 HOST_STATUS_COLUMN = 0,
116 explicit INDIDriver(
KStars *ks);
119 bool readXMLDrivers();
120 void processXMLDriver(
QString &driverName);
121 bool buildDeviceGroup(XMLEle *root,
char errmsg[]);
122 bool buildDriverElement(XMLEle *root,
QTreeWidgetItem *DGroup,
int groupType,
char errmsg[]);
124 int getINDIPort(
int customPort);
125 bool isDeviceRunning(
const QString &deviceLabel);
129 void processLocalTree(IDevice::DeviceStatus dev_request);
130 void processRemoteTree(IDevice::DeviceStatus dev_request);
131 IDevice *findDeviceByLabel(
const QString &label);
134 void enableDevice(
INDI_D *device);
135 void disableDevice(
INDI_D *device);
137 void resizeDeviceColumn();
138 void updateLocalTab();
139 void updateClientTab();
141 void updateMenuActions();
144 void modifyINDIHost();
145 void removeINDIHost();
146 void activateRunService();
147 void activateStopService();
148 void activateHostConnection();
149 void activateHostDisconnection();
150 void newTelescopeDiscovered();
151 void newCCDDiscovered();
152 void updateCustomDrivers();
156 DeviceManagerUI *ui {
nullptr };
161 int currentPort { 0 };
162 IDevice::XMLSource xmlSource;
INDI_D represents an INDI GUI Device.
This is the main window for KStars.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.