◆ Ptr
◆ ViewData()
182 {
183 }
ViewInterface::WeakPtr weakParent
Definition transformpresentation.hh:51
◆ addSideWidget()
| void Detail::ViewData::addSideWidget |
( |
std::string |
title, |
|
|
GtkWidget * |
w |
|
) |
| |
|
overridevirtual |
Request that the given widget be added to the sidebar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
194{
parent()->addSideWidget(title,
w); }
ViewInterface::Ptr parent() const
Definition transformpresentation.cc:185
std::pair< GSourceFunc, gpointer > const w
Definition gtkhelper-tests.cc:42
◆ addToolButton()
◆ addToToolbar()
| void Detail::ViewData::addToToolbar |
( |
GtkToolItem * |
ti | ) |
|
|
overridevirtual |
Request that the given tool item be added to the toolbar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
196{
parent()->addToToolbar(ti); }
◆ create()
ViewData(ViewInterface::WeakPtr parent_)
Definition transformpresentation.cc:180
std::shared_ptr< ViewData > Ptr
Definition transformpresentation.hh:45
Referenced by TransformPresentation::open().
◆ getCurrentPresentation()
◆ getProgressInterface()
Return a pointer to the progess interface associated with the View
- Note
- The progress bar should only be manipulated from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
193{
return parent()->getProgressInterface(); }
◆ invalidate()
| void Detail::ViewData::invalidate |
( |
| ) |
|
|
overridevirtual |
Request that the window content is redrawn.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
188 {
191 }
Scroom::Bitmap::BitmapSurface::Ptr image
Definition transformpresentation.hh:50
◆ parent()
std::shared_ptr< ViewInterface > Ptr
Definition viewinterface.hh:193
Referenced by addSideWidget(), addToolButton(), addToToolbar(), create(), getCurrentPresentation(), getProgressInterface(), invalidate(), registerPostRenderer(), registerSelectionListener(), removeFromToolbar(), removeSideWidget(), and setStatusMessage().
◆ registerPostRenderer()
Register a postrenderer to be updated whenever a redraw occurs. When this happens, the 'render' function gets called on the instance that is passed to the given instance.
Note that the order in which different registered instances get updated is the order in which they register to the view. This order remains constant throughout the view's lifetime.
- See also
- PostRenderer
Implements ViewInterface.
199{
parent()->registerPostRenderer(ptr); }
◆ registerSelectionListener()
Register a SelectionListener to be updated whenever the user selects a region . When the user changes the selection, various functions on the given instance are called.
- See also
- SelectionListener
Implements ViewInterface.
198{
parent()->registerSelectionListener(ptr); }
◆ removeFromToolbar()
| void Detail::ViewData::removeFromToolbar |
( |
GtkToolItem * |
ti | ) |
|
|
overridevirtual |
Request that the given tool item be removed from the toolbar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
197{
parent()->removeFromToolbar(ti); }
◆ removeSideWidget()
| void Detail::ViewData::removeSideWidget |
( |
GtkWidget * |
w | ) |
|
|
overridevirtual |
Request that the given widget be removed from the sidebar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
195{
parent()->removeSideWidget(
w); }
◆ setStatusMessage()
| void Detail::ViewData::setStatusMessage |
( |
const std::string & |
| ) |
|
|
overridevirtual |
Sets the status message in the status bar of the application.
Implements ViewInterface.
200{
parent()->setStatusMessage(
string); }
◆ image
◆ presentationArea
◆ weakParent
◆ zoom
| int Detail::ViewData::zoom {0} |
The documentation for this class was generated from the following files: