Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <berryGuiWidgetsTweaklet.h>
Public Member Functions | |
virtual void | AddSelectionListener (QWidget *widget, GuiTk::ISelectionListener::Pointer listener)=0 |
virtual void | RemoveSelectionListener (QWidget *widget, GuiTk::ISelectionListener::Pointer listener)=0 |
virtual void | AddControlListener (QWidget *widget, GuiTk::IControlListener::Pointer listener)=0 |
virtual void | RemoveControlListener (QWidget *widget, GuiTk::IControlListener::Pointer listener)=0 |
virtual bool | GetEnabled (QWidget *widget)=0 |
virtual void | SetEnabled (QWidget *widget, bool enabled)=0 |
virtual void | SetBounds (QWidget *widget, const QRect &bounds)=0 |
virtual QRect | GetBounds (QWidget *widget)=0 |
virtual void | SetVisible (QWidget *widget, bool visible)=0 |
virtual bool | GetVisible (QWidget *widget)=0 |
virtual bool | IsVisible (QWidget *widget)=0 |
virtual QRect | GetClientArea (QWidget *widget)=0 |
virtual QWidget * | GetParent (QWidget *widget)=0 |
virtual bool | SetParent (QWidget *widget, QWidget *parent)=0 |
virtual void | SetData (QWidget *widget, const QString &id, Object::Pointer data)=0 |
virtual Object::Pointer | GetData (QWidget *widget, const QString &id)=0 |
virtual QPoint | GetCursorLocation ()=0 |
virtual QWidget * | GetCursorControl ()=0 |
virtual QWidget * | FindControl (const QList< Shell::Pointer > &shells, const QPoint &location)=0 |
virtual bool | IsChild (QWidget *potentialParent, QWidget *childToTest)=0 |
virtual QWidget * | GetFocusControl ()=0 |
virtual bool | IsReparentable (QWidget *widget)=0 |
virtual void | MoveAbove (QWidget *widgetToMove, QWidget *widget)=0 |
virtual void | MoveBelow (QWidget *widgetToMove, QWidget *widget)=0 |
virtual void | Dispose (QWidget *widget)=0 |
virtual Shell::Pointer | CreateShell (Shell::Pointer parent, int style)=0 |
virtual void | DisposeShell (Shell::Pointer shell)=0 |
virtual QWidget * | CreateComposite (QWidget *parent)=0 |
virtual QList< Shell::Pointer > | GetShells ()=0 |
virtual Shell::Pointer | GetShell (QWidget *widget)=0 |
virtual Shell::Pointer | GetActiveShell ()=0 |
virtual QRect | GetScreenSize (int i=0)=0 |
returns the coordinates of the center point of the primary screen (where the application starts) of the current desktop. More... | |
virtual QRect | GetAvailableScreenSize (int i=0)=0 |
virtual int | GetClosestScreenNumber (const QRect &)=0 |
virtual unsigned int | GetScreenNumber ()=0 |
Gets the number of available screens in a multi-screen environment. More... | |
virtual int | GetPrimaryScreenNumber ()=0 |
Gets the number of the primary screen. More... | |
virtual QRect | ToControl (QWidget *coordinateSystem, const QRect &toConvert)=0 |
virtual QPoint | ToControl (QWidget *coordinateSystem, const QPoint &toConvert)=0 |
virtual QRect | ToDisplay (QWidget *coordinateSystem, const QRect &toConvert)=0 |
virtual QPoint | ToDisplay (QWidget *coordinateSystem, const QPoint &toConvert)=0 |
Static Public Attributes | |
static Tweaklets::TweakKey< GuiWidgetsTweaklet > | KEY |
Definition at line 28 of file berryGuiWidgetsTweaklet.h.
|
pure virtual |
Adds the listener to the collection of listeners who will be notified when the widget is moved or resized, by sending it one of the messages defined in the IControlListener
interface.
widget | |
listener | the listener which should be notified |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns the control which currently has keyboard focus, or null if keyboard events are not currently going to any of the controls built by the currently running application.
|
pure virtual |
|
pure virtual |
Gets the number of the primary screen.
|
pure virtual |
Gets the number of available screens in a multi-screen environment.
|
pure virtual |
returns the coordinates of the center point of the primary screen (where the application starts) of the current desktop.
i | the number of the screen (if there are multiple). If i = -1 a rectangle representing the size of the virtual desktop is returned. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Determines if one control is a child of another. Returns true iff the second argument is a child of the first (or the same object).
potentialParent | |
childToTest |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Removes the listener from the collection of listeners who will be notified when the widget is moved or resized.
widget | |
listener | the listener which should no longer be notified |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Converts the given point from display coordinates to the local coordinate system of the given object
coordinateSystem | local coordinate system (widget) being converted to |
toConvert | point to convert |
|
pure virtual |
Converts the given rectangle from display coordinates to the local coordinate system of the given object
coordinateSystem | local coordinate system (widget) being converted to |
toConvert | rectangle to convert |
|
pure virtual |
Converts the given point from the local coordinate system of the given object into display coordinates.
coordinateSystem | local coordinate system (widget) being converted from |
toConvert | point to convert |
|
pure virtual |
Converts the given rectangle from the local coordinate system of the given object into display coordinates.
coordinateSystem | local coordinate system (widget) being converted from |
toConvert | rectangle to convert |
|
static |
Definition at line 31 of file berryGuiWidgetsTweaklet.h.