X2 Standard  Version 1.28
Loading...
Searching...
No Matches
ModalSettingsDialogInterface Class Referenceabstract

The ModalSettingsDialogInterface allows X2 implementors to display a customized settings user interface. More...

#include <modalsettingsdialoginterface.h>

Inheritance diagram for ModalSettingsDialogInterface:
X2Camera X2FilterWheel X2Rotator

Public Member Functions

virtual int initModalSettingsDialog (void)=0
virtual int execModalSettingsDialog (void)=0

Detailed Description

The ModalSettingsDialogInterface allows X2 implementors to display a customized settings user interface.

X2 implementors can implement this interface to have TheSky display their own, modal, settings user interface.

Warning, if this interface is implemented without using X2GUIInterface, the resulting X2 driver will require either some kind of cross platform windowing library or windowing code native to each operating system.
Instead, X2 implementors are encouraged to use the X2GUIInterface in their implementation of this interface (see the X2Camera for a complete example) to keep their driver more maintainable and portable across operating systems and to simplify their driver distribution.

See also
SerialPortParams2Interface

Member Function Documentation

◆ execModalSettingsDialog()

virtual int ModalSettingsDialogInterface::execModalSettingsDialog ( void )
pure virtual

Execute and display the modal settings dialog.

Implemented in X2Camera, X2FilterWheel, and X2Rotator.

◆ initModalSettingsDialog()

virtual int ModalSettingsDialogInterface::initModalSettingsDialog ( void )
pure virtual

Initialize the modal settings dialog.

Implemented in X2Camera, X2FilterWheel, and X2Rotator.


The documentation for this class was generated from the following file:
X2 Examples
(C) 2026 Software Bisque, Inc. All rights reserved.