Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::UI::View::View Class Reference

#include <view.h>

Inheritance diagram for Inkscape::UI::View::View:

Inkscape::GC::Managed< default_scan, default_collect > Inkscape::GC::Anchored SPDesktop SPSVGView

List of all members.

Detailed Description

View is an abstract base class of all UI document views. This includes both the editing window and the SVG preview, but does not include the non-UI RGBA buffer-based NRArena nor the XML editor or similar views. The View base class has very little functionality of its own.

Definition at line 74 of file view.h.

Public Member Functions

unsigned _anchored_refcount () const
void anchor () const
void close ()
SPDocumentdoc () const
 Returns a pointer to the view's document.
void emitResized (gdouble width, gdouble height)
Inkscape::MessageStackmessageStack () const
 Returns a pointer to the view's message stack.
virtual void mouseout ()=0
virtual void mouseover ()=0
virtual void onDocumentResized (double, double)=0
virtual void onDocumentURISet (gchar const *uri)=0
virtual void onPositionSet (double, double)=0
virtual void onRedrawRequested ()=0
virtual void onResized (double, double)=0
virtual void onStatusMessage (Inkscape::MessageType type, gchar const *message)=0
void operator delete (void *p)
void * operator new (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect) throw (std::bad_alloc)
void * operator new[] (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect) throw (std::bad_alloc)
void release () const
void requestRedraw ()
void setPosition (NR::Point const &p)
void setPosition (gdouble x, gdouble y)
virtual bool shutdown ()=0
Inkscape::MessageContexttipsMessageContext () const
 Returns a pointer to the view's tipsMessageContext.
virtual ~View ()

Protected Member Functions

virtual void _close ()
virtual void setDocument (SPDocument *doc)

Protected Attributes

sigc::signal< void, gchar const * > _document_uri_set_signal
sigc::signal< void, double,
double > 
sigc::signal< void > _redraw_requested_signal
sigc::signal< void, double,
double > 

Private Attributes

sigc::connection _document_resized_connection
sigc::connection _document_uri_set_connection
sigc::connection _message_changed_connection
sigc::connection _position_set_connection
sigc::connection _redraw_requested_connection
sigc::connection _resized_connection

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index