Stellarium  HEAD
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes
DummyDialog Class Reference

The TextUserInterface wants to intercept all key presses including those which are assigned to global key bindings in the main GUI definition (i.e. More...

#include <DummyDialog.hpp>

Public Slots

void setVisible (bool)
 
void close ()
 

Signals

void visibleChanged (bool)
 

Public Member Functions

 DummyDialog (StelModule *eventHandler)
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event) override
 
void createDialogContent ()
 

Protected Attributes

class DummyCustomProxy * proxy
 
QWidget * dialog
 
StelModuleevtHandler
 

Detailed Description

The TextUserInterface wants to intercept all key presses including those which are assigned to global key bindings in the main GUI definition (i.e.

keys used for actions which are associated with toolbar buttons).

This DummyDialog class allows the plugin to put the QT focus on the dialog and thus prevent global action key bindings from being handled by the main GUI

This is adapted from the StelDialog class.