kig
kig_view.cpp
Go to the documentation of this file.
530 topLevelWidget()->setWindowState( topLevelWidget()->windowState() | Qt::WindowFullScreen ); // set
532 topLevelWidget()->setWindowState( topLevelWidget()->windowState() & ~Qt::WindowFullScreen ); // reset
Definition: kig_commands.h:210
a KigCommand represents almost every action performed in Kig.
Definition: kig_commands.h:44
const std::set< ObjectHolder * > & objectsSet() const
Definition: kig_document.cc:51
void recenterScreen()
this recenters the screen, that is, resets the shown rect to mpart->document().suggestedRect().
Definition: kig_view.cpp:202
ScreenInfo is a simple utility class that maps a region of the document onto a region of the screen...
Definition: screeninfo.h:31
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
static void getTwoCoordinates(const QString &caption, const QString &label, QWidget *parent, bool *ok, const KigDocument &doc, Coordinate *cvalue, Coordinate *cvalue2)
Static convenience function to get two Coordinates at once from the user.
Definition: kiginputdialog.cc:265
virtual void mouseMoved(QMouseEvent *, KigWidget *)
mouse moved without any buttons down...
Definition: mode.cc:91
const ScreenInfo & screenInfo() const
the part of the document we're currently showing i.e.
Definition: kig_view.cpp:272
void slotRecenterScreen()
this gets called if the user clicks the recenter screen button.
Definition: kig_view.cpp:515
Rect matchShape(const Rect &rhs, bool shrink=false) const
return a rect which is a copy of this rect, but has an aspect ratio equal to rhs's one...
Definition: rect.cc:282
void updateCurPix(const std::vector< QRect > &=std::vector< QRect >())
update curPix (bitBlt stillPix onto curPix..)
Definition: kig_view.cpp:187
void drawGrid(const CoordinateSystem &c, bool showGrid=true, bool showAxes=true)
Definition: kigpainter.cpp:507
virtual void leftMouseMoved(QMouseEvent *, KigWidget *)
this means: mouse moved with left mouse button down (in case that wasn't clear...) ...
Definition: mode.cc:56
virtual QString coordinateFormatNoticeMarkup() const =0
Like coordinateFormatNotice(), but with HTML tags useful to have a rich text...
KigWidget(KigPart *doc, KigView *view, QWidget *parent=0, bool fullscreen=false)
standard qwidget constructor.
Definition: kig_view.cpp:45
QPixmap curPix
temporary, gets bitBlt'd (copied) onto the widget (to avoid flickering)
Definition: kig_view.h:84
void clearStillPix()
The following are functions used by KigMode's to tell us to draw stuff...
Definition: kig_view.cpp:245
KigView(KigPart *part, bool fullscreen=false, QWidget *parent=0)
Definition: kig_view.cpp:303
void updateWidget(const std::vector< QRect > &=std::vector< QRect >())
this means bitBlting curPix on the actual widget...
Definition: kig_view.cpp:115
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
virtual void rightMouseMoved(QMouseEvent *, KigWidget *)
Definition: mode.cc:83
const CoordinateSystem & coordinateSystem() const
Definition: kig_document.cc:40
void redrawScreen(const std::vector< ObjectHolder * > &selection, bool paintOnWidget=true)
Definition: kig_view.cpp:252
ScreenInfo msi
this is a class that maps from our widget coordinates to the document's coordinates ( and back )...
Definition: kig_view.h:93
QPixmap stillPix
what do the still objects look like wondering if this is appropriate, maybe it should be part of Movi...
Definition: kig_view.h:79
Rect suggestedRect() const
Return a rect containing most of the objects, which would be a fine suggestion to map to the widget...
Definition: kig_document.cc:106
DragRectMode is a mode that provides a rect for selecting the objects inside it.
Definition: dragrectmode.h:40
const Rect showingRect() const
Mapping between Internal Coordinate Systems there are two coordinate systems: 1 the widget's coordina...
Definition: kig_view.cpp:277
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.