#include <gesturebrowser.h>
Inheritance diagram for GestureBrowser:

Public Slots | |
| void | execMessage (const QString &message) |
Public Member Functions | |
| GestureBrowser (DigestDbController *digestDbController, SettingsController *settingsController, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| ~GestureBrowser () | |
| bool | eventFilter (QObject *watched, QEvent *event) |
Protected Member Functions | |
| void | showEvent (QShowEvent *event) |
| void | hideEvent (QHideEvent *event) |
| void | resetEvent (VEvent *) |
| void | classesEvent (VClassesEvent *) |
| void | collectionsEvent (VCollectionsEvent *) |
| void | gesturesEvent (VGesturesEvent *) |
| GestureBrowser::GestureBrowser | ( | DigestDbController * | digestDbController, | |
| SettingsController * | settingsController, | |||
| QWidget * | parent = 0, |
|||
| Qt::WindowFlags | flags = 0 | |||
| ) |
| GestureBrowser::~GestureBrowser | ( | ) |
Calls submitEverything() and finalises settings.
| bool GestureBrowser::eventFilter | ( | QObject * | watched, | |
| QEvent * | event | |||
| ) |
Re-implemented to allow the use of the Delete key (and also the backspace on the Mac) to be used to delete the selected categories or gestures, depending on which widget (categoryTreeView or gestureModelView) is in focus.
| void GestureBrowser::showEvent | ( | QShowEvent * | event | ) | [protected, virtual] |
Re-syncs the GUI with the database if digestDbModel() is non-null, as it may have changed for some unknown reason without sending update events to us.
Users tend to expect a refresh if a window is hidden and then shown again.
It then then passes event onto GuiDbComponentMainWindow.
Reimplemented from GuiDbComponentMainWindow.
| void GestureBrowser::hideEvent | ( | QHideEvent * | event | ) | [protected, virtual] |
Calls submitEverything() and then passes event onto GuiDbComponentMainWindow.
Reimplemented from GuiDbComponentMainWindow.
| void GestureBrowser::resetEvent | ( | VEvent * | ) | [protected, virtual] |
A view receives this event when the controller() needs to reset / synchronise the view's knowledge (and possibly display) of the model().
When the view receives a VModelChangedEvent, a reset event will automatically be posted to the view by the modelChangedEvent() handler if the model is non-null.
This implementation does nothing.
It should be re-implemented it to suit the specific view sub-classs.
Reimplemented from AbstractDigestDbView.
| void GestureBrowser::classesEvent | ( | VClassesEvent * | ) | [protected, virtual] |
Reimplemented from AbstractDigestDbView.
| void GestureBrowser::collectionsEvent | ( | VCollectionsEvent * | ) | [protected, virtual] |
Reimplemented from AbstractDigestDbView.
| void GestureBrowser::gesturesEvent | ( | VGesturesEvent * | ) | [protected, virtual] |
Reimplemented from AbstractDigestDbView.
| void GestureBrowser::execMessage | ( | const QString & | message | ) | [virtual, slot] |
Reimplemented from GuiDbComponentMainWindow.
1.5.2