Planeshift
|
#include <widgetconfigwindow.h>
Public Member Functions | |
void | Close () |
Overrides the pawsWidget Close() in order to restore settings and null out the widget being configured. | |
bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is pressed. | |
bool | OnScroll (int direction, pawsScrollBar *widget) |
Called whenever a window is scrolled. | |
bool | PostSetup () |
This is called after the widget and all of it's children have been created. | |
void | restoreSettings () |
Restores the settings of the widget being configured to their previous values. | |
void | SetConfigurableWidget (pawsWidget *w) |
WidgetConfigWindow () | |
virtual | ~WidgetConfigWindow () |
Definition at line 40 of file widgetconfigwindow.h.
WidgetConfigWindow::WidgetConfigWindow | ( | ) |
virtual WidgetConfigWindow::~WidgetConfigWindow | ( | ) | [inline, virtual] |
Definition at line 45 of file widgetconfigwindow.h.
void WidgetConfigWindow::Close | ( | ) | [inline, virtual] |
Overrides the pawsWidget Close() in order to restore settings and null out the widget being configured.
Reimplemented from pawsWidget.
Definition at line 56 of file widgetconfigwindow.h.
bool WidgetConfigWindow::OnButtonPressed | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Called whenever a button is pressed.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
bool WidgetConfigWindow::OnScroll | ( | int | scrollDirection, |
pawsScrollBar * | widget | ||
) | [virtual] |
Called whenever a window is scrolled.
scrollDirection | The direction to move. |
widget | The scrollbar widget being manipulated. |
Reimplemented from pawsWidget.
bool WidgetConfigWindow::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
void WidgetConfigWindow::restoreSettings | ( | ) |
Restores the settings of the widget being configured to their previous values.
void WidgetConfigWindow::SetConfigurableWidget | ( | pawsWidget * | w | ) |