4 #ifndef BPSAPPLICATION_H
5 #define BPSAPPLICATION_H
8 #include <QApplication>
89 #define qApp (static_cast<BpsApplication*>(QApplication::instance()))
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
This class is a extension of QApplication which contains support for BPS virtual keyboards.
Definition: bpsapplication.h:16
void showNumericKeyboard(QWidget *aWidget, bool aShow)
Show or hide the numeric keyboard for the given widget, whenever the top window of that widget is act...
static QWidget * keyboardTarget()
Find the current receiver widget for keyboard input.
void emitHideKeyboardRequest()
Emit hideKeyboardRequest.
void sendAdjustColumns()
Send Ctrl and Numpad-Plus to adjust the columns of a table or tree widget currently having keyboard f...
void showContextMenu()
Send a keyboard stroke to open the context menu for the widget currently having focus.
void hideKeyboardRequest(QWidget *aWidget)
Signal emitted when the virtual keyboard hide button is hit.
void showAlphaKeyboard(QWidget *aWidget, bool aShow)
Show or hide the alphanumeric keyboard for the given widget, whenever the top window of that widget i...
BpsApplication(int &argc, char **argv)
The one and only constructor.
void sendEnterKey()
Send a enter key keyboard stroke to the widget currently having focus.