FlightGear next
DialogStateController Class Reference

#include <DialogStateController.hxx>

Inherits QObject.

Public Slots

void apply ()
 
void cancel ()
 
void restoreDefaults ()
 
void setCanRestoreDefaults (bool canRestoreDefaults)
 

Signals

void canApplyChanged (bool canApply)
 
void canRestoreDefaultsChanged (bool canRestoreDefaults)
 

Public Member Functions

Q_INVOKABLE void add (QString key, QJSValue cb)
 
bool canApply () const
 
bool canRestoreDefaults () const
 

Properties

bool canRestoreDefaults
 
bool canApply
 

Detailed Description

Definition at line 24 of file DialogStateController.hxx.

Member Function Documentation

◆ add()

void DialogStateController::add ( QString key,
QJSValue cb )

Definition at line 23 of file DialogStateController.cxx.

◆ apply

void DialogStateController::apply ( )
slot

Definition at line 38 of file DialogStateController.cxx.

◆ canApply()

bool DialogStateController::canApply ( ) const
inline

Definition at line 33 of file DialogStateController.hxx.

◆ canApplyChanged

void DialogStateController::canApplyChanged ( bool canApply)
signal

◆ cancel

void DialogStateController::cancel ( )
slot

Definition at line 48 of file DialogStateController.cxx.

◆ canRestoreDefaults()

bool DialogStateController::canRestoreDefaults ( ) const
inline

Definition at line 38 of file DialogStateController.hxx.

◆ canRestoreDefaultsChanged

void DialogStateController::canRestoreDefaultsChanged ( bool canRestoreDefaults)
signal

◆ restoreDefaults

void DialogStateController::restoreDefaults ( )
slot

Definition at line 54 of file DialogStateController.cxx.

◆ setCanRestoreDefaults

void DialogStateController::setCanRestoreDefaults ( bool canRestoreDefaults)
slot

Definition at line 58 of file DialogStateController.cxx.

Property Documentation

◆ canApply

bool DialogStateController::canApply
read

Definition at line 29 of file DialogStateController.hxx.

◆ canRestoreDefaults

bool DialogStateController::canRestoreDefaults
readwrite

Definition at line 28 of file DialogStateController.hxx.


The documentation for this class was generated from the following files: