Plasma
ggadget::PlasmaViewHost Class Reference
#include <plasma_view_host.h>
Inherits ggadget::ViewHostInterface.
Classes | |
class | Private |
Public Member Functions | |
virtual void | Alert (const ViewInterface *view, const char *message) |
virtual void | BeginMoveDrag (int) |
virtual void | BeginResizeDrag (int, ViewInterface::HitTest) |
virtual void | CloseView () |
virtual ggadget::ViewHostInterface::ConfirmResponse | Confirm (const ViewInterface *view, const char *message, bool) |
virtual void | Destroy () |
virtual void | EnableInputShapeMask (bool enable) |
virtual int | GetDebugMode () const |
GadgetInfo * | getInfo () |
virtual void * | GetNativeWidget () const |
virtual Type | GetType () const |
virtual ViewInterface * | GetView () const |
virtual void | NativeWidgetCoordToViewCoord (double x, double y, double *view_x, double *view_y) const |
virtual GraphicsInterface * | NewGraphics () const |
PlasmaViewHost (GadgetInfo *info, ViewHostInterface::Type type, bool popout=false) | |
virtual std::string | Prompt (const ViewInterface *view, const char *message, const char *default_value) |
virtual void | QueueDraw () |
virtual void | QueueResize () |
virtual void | SetCaption (const std::string &caption) |
virtual void | SetCursor (ggadget::ViewInterface::CursorType cursor) |
virtual void | SetResizable (ViewInterface::ResizableMode mode) |
virtual void | SetShowCaptionAlways (bool always) |
virtual void | SetView (ViewInterface *view) |
virtual bool | ShowContextMenu (int button) |
virtual void | ShowTooltip (const std::string &tooltip) |
virtual void | ShowTooltipAtPosition (const std::string &tooltip, double x, double y) |
virtual bool | ShowView (bool modal, int flags, Slot1< bool, int > *feedback_handler) |
virtual void | ViewCoordToNativeWidgetCoord (double x, double y, double *widget_x, double *widget_y) const |
virtual | ~PlasmaViewHost () |
Detailed Description
Definition at line 44 of file plasma_view_host.h.
Constructor & Destructor Documentation
ggadget::PlasmaViewHost::PlasmaViewHost | ( | GadgetInfo * | info, | |
ViewHostInterface::Type | type, | |||
bool | popout = false | |||
) |
Definition at line 43 of file plasma_view_host.cpp.
ggadget::PlasmaViewHost::~PlasmaViewHost | ( | ) | [virtual] |
Definition at line 48 of file plasma_view_host.cpp.
Member Function Documentation
void ggadget::PlasmaViewHost::Alert | ( | const ViewInterface * | view, | |
const char * | message | |||
) | [virtual] |
Definition at line 152 of file plasma_view_host.cpp.
virtual void ggadget::PlasmaViewHost::BeginMoveDrag | ( | int | ) | [inline, virtual] |
Definition at line 76 of file plasma_view_host.h.
virtual void ggadget::PlasmaViewHost::BeginResizeDrag | ( | int | , | |
ViewInterface::HitTest | ||||
) | [inline, virtual] |
Definition at line 75 of file plasma_view_host.h.
void ggadget::PlasmaViewHost::CloseView | ( | ) | [virtual] |
Definition at line 144 of file plasma_view_host.cpp.
ViewHostInterface::ConfirmResponse ggadget::PlasmaViewHost::Confirm | ( | const ViewInterface * | view, | |
const char * | message, | |||
bool | ||||
) | [virtual] |
Definition at line 157 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::Destroy | ( | ) | [virtual] |
Definition at line 52 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::EnableInputShapeMask | ( | bool | enable | ) | [virtual] |
Definition at line 92 of file plasma_view_host.cpp.
int ggadget::PlasmaViewHost::GetDebugMode | ( | ) | const [virtual] |
Definition at line 184 of file plasma_view_host.cpp.
GadgetInfo * ggadget::PlasmaViewHost::getInfo | ( | ) |
Definition at line 188 of file plasma_view_host.cpp.
void * ggadget::PlasmaViewHost::GetNativeWidget | ( | ) | const [virtual] |
Definition at line 63 of file plasma_view_host.cpp.
ViewHostInterface::Type ggadget::PlasmaViewHost::GetType | ( | ) | const [virtual] |
Definition at line 176 of file plasma_view_host.cpp.
ViewInterface * ggadget::PlasmaViewHost::GetView | ( | ) | const [virtual] |
Definition at line 180 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::NativeWidgetCoordToViewCoord | ( | double | x, | |
double | y, | |||
double * | view_x, | |||
double * | view_y | |||
) | const [virtual] |
Definition at line 76 of file plasma_view_host.cpp.
virtual GraphicsInterface* ggadget::PlasmaViewHost::NewGraphics | ( | ) | const [inline, virtual] |
Definition at line 53 of file plasma_view_host.h.
std::string ggadget::PlasmaViewHost::Prompt | ( | const ViewInterface * | view, | |
const char * | message, | |||
const char * | default_value | |||
) | [virtual] |
Definition at line 168 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::QueueDraw | ( | ) | [virtual] |
Definition at line 84 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::QueueResize | ( | ) | [virtual] |
Definition at line 88 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::SetCaption | ( | const std::string & | caption | ) | [virtual] |
Definition at line 106 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::SetCursor | ( | ggadget::ViewInterface::CursorType | cursor | ) | [virtual] |
Definition at line 116 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::SetResizable | ( | ViewInterface::ResizableMode | mode | ) | [virtual] |
Definition at line 95 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::SetShowCaptionAlways | ( | bool | always | ) | [virtual] |
Definition at line 112 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::SetView | ( | ViewInterface * | view | ) | [virtual] |
Definition at line 56 of file plasma_view_host.cpp.
bool ggadget::PlasmaViewHost::ShowContextMenu | ( | int | button | ) | [virtual] |
Definition at line 148 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::ShowTooltip | ( | const std::string & | tooltip | ) | [virtual] |
Definition at line 125 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::ShowTooltipAtPosition | ( | const std::string & | tooltip, | |
double | x, | |||
double | y | |||
) | [virtual] |
Definition at line 129 of file plasma_view_host.cpp.
bool ggadget::PlasmaViewHost::ShowView | ( | bool | modal, | |
int | flags, | |||
Slot1< bool, int > * | feedback_handler | |||
) | [virtual] |
Definition at line 134 of file plasma_view_host.cpp.
void ggadget::PlasmaViewHost::ViewCoordToNativeWidgetCoord | ( | double | x, | |
double | y, | |||
double * | widget_x, | |||
double * | widget_y | |||
) | const [virtual] |
Definition at line 67 of file plasma_view_host.cpp.
The documentation for this class was generated from the following files: