This class implements additional QCanvasView functionality. More...
#include <FigureEditor.h>


Classes | |
| class | CanvasEvent |
| An Qt event class which wraps a QCanvasItem to be processed by the event. More... | |
Public Member Functions | |
| void | add (QCanvasItem *item) |
| Adds the item to the canvas. More... | |
| void | addPage () |
| Adds a page to the canvas. More... | |
| void | addSelectedItem (QCanvasItem *item) |
| Add an item to the selected list. More... | |
| canvas () const | |
| void | clear () |
| Removes all items from canvas and destroy them. More... | |
| drawContents (QPainter *p, int cx, int cy, int cw, int ch) | |
| void | ensureVisible (const QCanvasItem *item) |
| Scrolls the canvas, if needed, so the QCanvasItem item is visible. More... | |
| void | enterEvent (QEvent *) |
| Grabs the event when mouse cursor enters the widget. More... | |
| FigureEditor (QCanvas *, QWidget *parent=0, const char *name=0, Qt::WFlags f=0) | |
| The constructor. More... | |
| const QString & | getAppKey () const |
| Returns a reference the application's QSettings key. More... | |
| const QString & | getRegistry () const |
| Returns a reference to the application's registry. More... | |
| QCanvasItem * | getRightItem () |
| Get the QCanvasItem clicked by right mouse button. More... | |
| std::vector< QCanvasItem * > & | getSelectedItems () |
| Return the vector of selected items. More... | |
| bool | getZoomMode () const |
| Returns the bool indicating whether zoom mode is enabled or not. More... | |
| void | hide (QCanvasItem *item) |
| Removes the item from the canvas but not destroys it. More... | |
| inverseWorldMatrix () const | |
| bool | isSingleItemSelected () const |
| Returns true if just one item is selected, else returns false. More... | |
| void | leaveEvent (QEvent *) |
| Grabs the event when mouse cursor leaves the widget. More... | |
| void | paste (QCanvasItem *item) |
| Adds the item to the canvas. More... | |
| void | placeGraph (QCanvasRectangle *) |
| Moves the QCanvasRectangle object to place on the canvas where it will not collide with existing QCanvasItem object and not be off the usable page area. More... | |
| virtual void | print () |
| Prints the view to the printer. More... | |
| virtual void | print (const std::string &filename) |
| Prints the view to Postscript file filename. More... | |
| void | remove (QCanvasItem *item) |
| Removes the item from the canvas and destroys it. More... | |
| void | removeSelectedItem (QCanvasItem *item) |
| Removes an item from the selection list. More... | |
| void | resizeEvent (QResizeEvent *e) |
| Re-sizes the QCanvas in response to parent window receiving QResizeEvent. More... | |
| void | scaleBy (double factor) |
| Scales the size of the images by factor. More... | |
| QCanvasItem * | selectedItem () const |
| Returns the selected QCanvasItem. More... | |
| void | setAllSelected (bool flag=true) |
| Sets selection flag on all QCanvasItem objects. More... | |
| setCanvas (QCanvas *canvas) | |
| void | setLocked (bool flag) |
| Sets the selected QCanvasItem to be locked in size and position. More... | |
| void | setPrinterSettings () |
| Set the default printer settings. More... | |
| void | setSelectedFlags () |
| Set the selected flags. More... | |
| void | setSelectedItem (QCanvasItem *) |
| Set the selected QCanvasItem. More... | |
| setWorldMatrix (const QWMatrix &wm) | |
| void | setZoomMode (bool flag) |
| Sets the zoom mode to flag. More... | |
| void | showPrinterMargins (bool on) |
| Sets showing the printer margins on or off. More... | |
| sizeHint () const | |
| virtual void | viewShowPickTable ()=0 |
| Show the pick table. More... | |
| void | viewZoomIn () |
| Enlarges the view of the canvas. More... | |
| void | viewZoomOut () |
| Reduces the view of the canvas. More... | |
| void | viewZoomReset () |
| Returns the view to normal size. More... | |
| worldMatrix () const | |
Static Public Member Functions | |
| static void | setAppKey (const std::string &) |
| Sets the QSettings application key. More... | |
Protected Types | |
| enum | Location { none, invalid, upper_left, upper_middle, upper_right, middle_left, middle_right, lower_left, lower_middle, lower_right } |
| Possible locations where on a QCanvasItem the mouse cursor was when clicked. More... | |
Protected Member Functions | |
| void | addPageMargin (int x, int y) |
| Adds page margin. More... | |
| void | addToItemList (QCanvasItem *item) |
| void | calcPrinterMetrics (QPaintDevice *) |
| Calculate the size of a page by using the printer metrics. More... | |
| void | clearSelectedList () |
| De-selects all items, making the selection list empty. More... | |
| void | contentsMouseMoveEvent (QMouseEvent *, double aspect) |
| Moves or re-sizes the selected QCanvasItem object. More... | |
| virtual void | contentsMousePressEvent (QMouseEvent *) |
| void | contentsMouseReleaseEvent (QMouseEvent *) |
| Handles details of mouse release, right button. More... | |
| virtual void | controlMousePressEvent ()=0 |
| Handles details of mouse press event with shift key pressed. More... | |
| void | copySelectedToClipboard () |
| Adds selected items to system clipboard. More... | |
| QImage | createImage (const QRect &rectange) const |
| Creates and returns a QImage from the area defined on the canvas. More... | |
| QPixmap * | createPixmap (const QRect &rectangle) const |
| Creates and returns a new QPixmap from the area defined on the canvas. More... | |
| QRect | getSelectedBounds () const |
| Returns a QRect that enclosed the selected QCanvasItem objects. More... | |
| void | initPrinter () |
| Initializes the printer settings from the saved settings. More... | |
| void | makeVisible (const QCanvasItem *item) |
| Scrolls the canvas, if needed, so the QCanvasItem item is visible. More... | |
| double | maximumZ () const |
| Returns the largest Z value of all the items on the canvas. More... | |
| void | mouseMoveMultiItem (QMouseEvent *e) |
| Move more than one items in the Canvas. More... | |
| void | movePlotterWithText (QCanvasItem *item, float dx, float dy) |
| Move a plotter with all its targetted text plotters. More... | |
| virtual void | notifyObservers ()=0 |
| Notifies Observer objects, if any, that something has changed. More... | |
| void | placeGraphOnSelected (QCanvasRectangle *item) |
| Adds the item on top of the currently selected item. More... | |
| void | print (QPrinter *printer) |
| Prints the view to the printer. More... | |
| void | removeFromItemList (QCanvasItem *item) |
| Removes the item from list of items on the canvas. More... | |
| void | resizeCanvasToFit (QCanvasItem *item) |
| Re-sizes the canvas if necessary so that the item is on the canvas. More... | |
| void | saveAreaAsPixmap (const QRect &area, const std::string &filename) |
| Saves the area area as pixmap to file filename. More... | |
| void | savePrinterSettings () |
| Saves the printer setting with QSettings. More... | |
| void | saveSelectedAsPixmap (const std::string &filename) |
| Save the selected objects as Pixmap image file filename. More... | |
| void | setCollidingSelected (const QCanvasItem *target) |
| Sets all QCanvasItems that collide with target to selected state. More... | |
| void | setSelectedItems (bool state) |
| Sets the selected items to selection state state. More... | |
| void | setUnselectedVisible (bool yes) |
| Sets the unselected items to visible or not. More... | |
| void | whereClicked () |
| Finds which knob on the selected item was clicked. More... | |
Protected Attributes | |
| int | m_apage_h |
| The actual Page height in Postscript points. More... | |
| int | m_apage_w |
| The actual Page width in Postscript points. More... | |
| QCanvas * | m_canvas |
| The canvas object. More... | |
| bool | m_ignore_margin |
a flag set to true if the printer margins should be ignored when adding a plot to the canvas. More... | |
| bool | m_isMouseDown |
| The flag of mouse down or not, used when moving multiple plots. More... | |
| std::vector< QCanvasItem * > | m_items |
| The list of view items on the canvas. More... | |
| QPoint | m_mouse_down |
| The point of a mouse down, used when moving multiple plots. More... | |
| QPoint | m_moving_start |
| The starting point of a mouse drag. More... | |
| QCanvasItem * | m_preSelected |
| The view item which is preselected when left mouse button down. More... | |
| bool | m_printer_bounds |
| A flag to indicate if rectangle display usable printer boundary should be displayed or not. More... | |
| QCanvasItem * | m_rightItem |
| The view item which is clicked with right mouse button when contentsMousePressEvent() happens. More... | |
| double | m_scale_factor |
| The scale factor. More... | |
| std::vector< QCanvasItem * > | m_selected_list |
| The list of currently selected QCanvasItem objects. More... | |
| int | m_upage_h |
| The usable Page height in Postscript points. More... | |
| int | m_upage_w |
| The usable Page width in Postscript points. More... | |
| Location | m_whereClicked |
| Location where the mouse cursor clicked the object. More... | |
| bool | m_zoom_mode |
Set to true if zoom Mode is enabled. More... | |
| QPoint | m_zoom_start |
| The starting point of a mouse drag.for zoom. More... | |
Static Protected Attributes | |
| static QString | s_app_key |
| The QSettings application key for searching for setting. More... | |
| static QPrinter * | s_printer = 0 |
| The single QPrinter instance. More... | |
| static QString | s_registry |
| The QSettings Windows registry key. More... | |
Private Member Functions | |
| virtual void | customEvent (QCustomEvent *event) |
| The receiver of Qt custom events. More... | |
This class implements additional QCanvasView functionality.
The original source code was taken from $QTDIR/examples/canvas/canvas.h of version 3.0 of Qt.
Definition at line 73 of file FigureEditor.h.
|
protected |
Possible locations where on a QCanvasItem the mouse cursor was when clicked.
| Enumerator | |
|---|---|
| none | |
| invalid | |
| upper_left | |
| upper_middle | |
| upper_right | |
| middle_left | |
| middle_right | |
| lower_left | |
| lower_middle | |
| lower_right | |
Definition at line 309 of file FigureEditor.h.
| FigureEditor | ( | QCanvas * | c, |
| QWidget * | parent = 0, |
||
| const char * | name = 0, |
||
| Qt::WFlags | f = 0 |
||
| ) |
The constructor.
Definition at line 114 of file FigureEditor.cxx.
References QSettings::insertSearchPath(), QSettings::readNumEntry(), and yes.
| void add | ( | QCanvasItem * | item | ) |
Adds the item to the canvas.
Expands the canvas' size if necessary.
Referenced by CanvasView::addView(), CanvasView::groupView(), CanvasView::initFrom(), and CanvasView::ungroupView().
| void addPage | ( | ) |
Adds a page to the canvas.
Referenced by CanvasWindow::viewAddPage().
|
protected |
Adds page margin.
Adds an indication of the page's margin. Only the contents inside the margin is printable.
Definition at line 256 of file FigureEditor.cxx.
References FigureEditor::m_apage_h, FigureEditor::m_apage_w, FigureEditor::m_canvas, FigureEditor::m_printer_bounds, FigureEditor::m_upage_h, and FigureEditor::m_upage_w.
Referenced by FigureEditor::showPrinterMargins().
| void addSelectedItem | ( | QCanvasItem * | item | ) |
Add an item to the selected list.
Referenced by CanvasView::groupView(), CanvasView::pasteViews(), and CanvasView::ungroupView().
|
protected |
|
protected |
Calculate the size of a page by using the printer metrics.
The size of a printable page is calculated on the basis that one pixel will become one Postscript point. A QPaintDeviceMetrics object is created to find the actual and usable size of a page in millimeters which is then converted to Postscript Points.
Definition at line 286 of file FigureEditor.cxx.
References QSize::height(), QString::isNull(), FigureEditor::m_apage_h, FigureEditor::m_apage_w, FigureEditor::m_upage_h, FigureEditor::m_upage_w, QPrinter::printerName(), FigureEditor::s_printer, and QSize::width().
| void clear | ( | ) |
Removes all items from canvas and destroy them.
Referenced by CanvasView::clear().
|
protected |
De-selects all items, making the selection list empty.
Referenced by CanvasView::groupView(), CanvasView::pasteViews(), and CanvasView::ungroupView().
|
protected |
Moves or re-sizes the selected QCanvasItem object.
The is moved if one of its knobs was selected, otherwise, it is re-sized. If aspect is non zero, then keeps its aspect ratio is kept while resizing.
Referenced by CanvasView::contentsMouseMoveEvent().
|
protectedvirtual |
Reimplemented in CanvasView.
Referenced by CanvasView::contentsMousePressEvent().
|
protected |
Handles details of mouse release, right button.
Referenced by CanvasView::contentsMouseReleaseEvent().
|
protectedpure virtual |
Handles details of mouse press event with shift key pressed.
Implemented in CanvasView.
|
protected |
Adds selected items to system clipboard.
Referenced by CanvasView::copySelectedToPasteboard().
Creates and returns a QImage from the area defined on the canvas.
Creates and returns a new QPixmap from the area defined on the canvas.
|
privatevirtual |
The receiver of Qt custom events.
| void ensureVisible | ( | const QCanvasItem * | item | ) |
Scrolls the canvas, if needed, so the QCanvasItem item is visible.
Referenced by CanvasView::addView().
| void enterEvent | ( | QEvent * | ) |
Grabs the event when mouse cursor enters the widget.
| const QString& getRegistry | ( | ) | const |
Returns a reference to the application's registry.
| QCanvasItem* getRightItem | ( | ) |
Get the QCanvasItem clicked by right mouse button.
Referenced by CanvasView::contentsMouseMoveEvent(), CanvasView::contentsMouseReleaseEvent(), and CanvasView::getRightClickedPlotter().
|
protected |
Returns a QRect that enclosed the selected QCanvasItem objects.
Referenced by CanvasView::saveSelectedAsEps().
| std::vector< QCanvasItem * > & getSelectedItems | ( | ) |
Return the vector of selected items.
Definition at line 360 of file FigureEditor.cxx.
References FigureEditor::m_selected_list.
Referenced by CanvasView::saveSelectedImages().
| bool getZoomMode | ( | ) | const |
Returns the bool indicating whether zoom mode is enabled or not.
Referenced by CanvasView::contentsMouseMoveEvent(), and CanvasView::setPlotZoom().
| void hide | ( | QCanvasItem * | item | ) |
Removes the item from the canvas but not destroys it.
Used in grouping several items together.
Referenced by CanvasView::hideSelected().
|
protected |
Initializes the printer settings from the saved settings.
If setting have not been saved, set the default values.
Definition at line 152 of file FigureEditor.cxx.
References indexToColorMode, indexToOrientation, indexToPageSize, QSettings::insertSearchPath(), QSettings::readNumEntry(), FigureEditor::s_app_key, FigureEditor::s_printer, FigureEditor::s_registry, QPrinter::setColorMode(), QPrinter::setFullPage(), QPrinter::setOrientation(), QPrinter::setPageSize(), and num_util::size().
| bool isSingleItemSelected | ( | ) | const |
Returns true if just one item is selected, else returns false.
Definition at line 331 of file FigureEditor.cxx.
References FigureEditor::m_selected_list.
Referenced by CanvasView::contentsMouseMoveEvent(), FigureEditor::selectedItem(), and CanvasView::viewShowPickTable().
| void leaveEvent | ( | QEvent * | ) |
Grabs the event when mouse cursor leaves the widget.
|
protected |
Scrolls the canvas, if needed, so the QCanvasItem item is visible.
|
protected |
Returns the largest Z value of all the items on the canvas.
If the item is a text plotter, take z()-100 instead of z(). This is to keep all text plotters on top of XyPlotters.
Referenced by CanvasView::addTextDisplay().
|
protected |
Move more than one items in the Canvas.
Referenced by CanvasView::contentsMouseMoveEvent().
|
protected |
Move a plotter with all its targetted text plotters.
|
protectedpure virtual |
Notifies Observer objects, if any, that something has changed.
Implemented in CanvasView.
| void paste | ( | QCanvasItem * | item | ) |
Adds the item to the canvas.
This method differs from add in that it displaces the item by a fixed amount before adding.
Referenced by CanvasView::pasteViews().
| void placeGraph | ( | QCanvasRectangle * | ) |
Moves the QCanvasRectangle object to place on the canvas where it will not collide with existing QCanvasItem object and not be off the usable page area.
Referenced by CanvasView::addFromPasteboard(), and CanvasView::sizeAndPlace().
|
protected |
Adds the item on top of the currently selected item.
|
protected |
Prints the view to the printer.
|
virtual |
Prints the view to the printer.
Presents the Print dialog to user and then prints the view to the selected printer.
Reimplemented in CanvasView.
Referenced by CanvasView::print().
|
virtual |
Prints the view to Postscript file filename.
Reimplemented in CanvasView.
| void remove | ( | QCanvasItem * | item | ) |
Removes the item from the canvas and destroys it.
|
protected |
Removes the item from list of items on the canvas.
Referenced by CanvasView::groupView(), and CanvasView::reTilePage().
| void removeSelectedItem | ( | QCanvasItem * | item | ) |
Removes an item from the selection list.
|
protected |
Re-sizes the canvas if necessary so that the item is on the canvas.
Changes the height by one page size while keeping the width constant.
| void resizeEvent | ( | QResizeEvent * | e | ) |
Re-sizes the QCanvas in response to parent window receiving QResizeEvent.
The QCanvas may grow in size, but is never made smaller by this method.
Referenced by CanvasWindow::resizeEvent().
|
protected |
Saves the area area as pixmap to file filename.
Referenced by CanvasView::savePlotAsImage().
|
protected |
Saves the printer setting with QSettings.
|
protected |
Save the selected objects as Pixmap image file filename.
Referenced by CanvasView::saveSelectedImages().
| void scaleBy | ( | double | factor | ) |
Scales the size of the images by factor.
The factor might be modified to ensure we see at least a page in single glance of the canvas.
| QCanvasItem * selectedItem | ( | ) | const |
Returns the selected QCanvasItem.
Definition at line 342 of file FigureEditor.cxx.
References FigureEditor::isSingleItemSelected(), and FigureEditor::m_selected_list.
Referenced by CanvasView::contentsMouseMoveEvent(), CanvasView::contentsMouseReleaseEvent(), CanvasView::fillPickedPoint(), and CanvasView::viewShowPickTable().
| void setAllSelected | ( | bool | flag = true | ) |
Sets selection flag on all QCanvasItem objects.
Referenced by CanvasWindow::editSelectAll(), and CanvasWindow::setAllSelected().
|
static |
Sets the QSettings application key.
Definition at line 185 of file FigureEditor.cxx.
References FigureEditor::s_app_key.
|
protected |
Sets all QCanvasItems that collide with target to selected state.
Referenced by CanvasView::saveSelectedImages().
| void setLocked | ( | bool | flag | ) |
Sets the selected QCanvasItem to be locked in size and position.
Referenced by CanvasWindow::viewLock(), and CanvasWindow::viewUnlock().
| void setPrinterSettings | ( | ) |
Set the default printer settings.
| void setSelectedFlags | ( | ) |
Set the selected flags.
Referenced by CanvasView::saveSelectedImages().
| void setSelectedItem | ( | QCanvasItem * | ) |
Set the selected QCanvasItem.
This is called only when just one item is selected.
Referenced by CanvasView::addView(), and CanvasWindow::setSelected().
|
protected |
Sets the selected items to selection state state.
For each QCanvasItem in the selection list, set their selection state to state. Does not alter the selection list.
|
protected |
Sets the unselected items to visible or not.
Referenced by CanvasView::saveSelectedImages().
| void setZoomMode | ( | bool | flag | ) |
Sets the zoom mode to flag.
| void showPrinterMargins | ( | bool | on | ) |
Sets showing the printer margins on or off.
Definition at line 192 of file FigureEditor.cxx.
References FigureEditor::addPageMargin(), item, FigureEditor::m_apage_h, FigureEditor::m_canvas, and FigureEditor::m_printer_bounds.
Referenced by CanvasView::setup(), and CanvasView::swapOrientation().
|
pure virtual |
Show the pick table.
Implemented in CanvasView.
| void viewZoomIn | ( | ) |
Enlarges the view of the canvas.
Referenced by CanvasWindow::viewZoomIn().
| void viewZoomOut | ( | ) |
Reduces the view of the canvas.
Referenced by CanvasWindow::viewZoomOut().
| void viewZoomReset | ( | ) |
Returns the view to normal size.
|
protected |
Finds which knob on the selected item was clicked.
|
protected |
The actual Page height in Postscript points.
Definition at line 130 of file FigureEditor.h.
Referenced by FigureEditor::addPageMargin(), FigureEditor::calcPrinterMetrics(), CanvasView::reTilePage(), FigureEditor::showPrinterMargins(), and CanvasView::swapOrientation().
|
protected |
The actual Page width in Postscript points.
Definition at line 127 of file FigureEditor.h.
Referenced by FigureEditor::addPageMargin(), FigureEditor::calcPrinterMetrics(), CanvasView::reTilePage(), and CanvasView::swapOrientation().
|
protected |
The canvas object.
Although one can always retrieve the canvas object by calling the canvas() member function, it is convenient to have this as a data member.
Definition at line 283 of file FigureEditor.h.
Referenced by FigureEditor::addPageMargin(), CanvasView::reTilePage(), CanvasView::setVisibleNonViews(), FigureEditor::showPrinterMargins(), and CanvasView::views().
|
protected |
a flag set to true if the printer margins should be ignored when adding a plot to the canvas.
Definition at line 153 of file FigureEditor.h.
Referenced by CanvasView::initSettings(), CanvasView::saveSettings(), and CanvasView::setup().
|
protected |
The flag of mouse down or not, used when moving multiple plots.
Definition at line 305 of file FigureEditor.h.
|
protected |
The list of view items on the canvas.
This list is a subset of the one kept by the QCanvas object,That one doesn't seem to maintain the order that items were inserted while this one does. Also, only application items are added to this list, not page decorations.
Definition at line 238 of file FigureEditor.h.
Referenced by CanvasView::reTile().
|
protected |
The point of a mouse down, used when moving multiple plots.
Definition at line 302 of file FigureEditor.h.
|
protected |
The starting point of a mouse drag.
Definition at line 296 of file FigureEditor.h.
|
protected |
The view item which is preselected when left mouse button down.
Useful only when multiple items are selected and one of them is pressed. Need to decide whether to select or to move all plots.
Definition at line 263 of file FigureEditor.h.
|
protected |
A flag to indicate if rectangle display usable printer boundary should be displayed or not.
Definition at line 148 of file FigureEditor.h.
Referenced by FigureEditor::addPageMargin(), CanvasView::saveSettings(), CanvasView::setup(), and FigureEditor::showPrinterMargins().
|
protected |
The view item which is clicked with right mouse button when contentsMousePressEvent() happens.
When contentsMoveMouseEvent() happens, get to this member, get the position of the cursor. When contentsReleaseMouseEvent() happens, reset the mouse cursor to arrow.
Definition at line 252 of file FigureEditor.h.
|
protected |
The scale factor.
The factor by which drawing has been reduced so that a canvas page fits in the window. This factor should be applied in inverse before printing.
Definition at line 136 of file FigureEditor.h.
|
protected |
The list of currently selected QCanvasItem objects.
Definition at line 290 of file FigureEditor.h.
Referenced by CanvasView::controlMousePressEvent(), FigureEditor::getSelectedItems(), FigureEditor::isSingleItemSelected(), CanvasView::saveSelectedImages(), FigureEditor::selectedItem(), and CanvasView::selectedViews().
|
protected |
The usable Page height in Postscript points.
Definition at line 225 of file FigureEditor.h.
Referenced by FigureEditor::addPageMargin(), CanvasView::calcDefaultSize(), FigureEditor::calcPrinterMetrics(), and CanvasView::swapOrientation().
|
protected |
The usable Page width in Postscript points.
Definition at line 222 of file FigureEditor.h.
Referenced by FigureEditor::addPageMargin(), CanvasView::addPlotDisplay(), CanvasView::calcDefaultSize(), FigureEditor::calcPrinterMetrics(), and CanvasView::swapOrientation().
|
protected |
Location where the mouse cursor clicked the object.
Definition at line 315 of file FigureEditor.h.
Referenced by CanvasView::contentsMouseReleaseEvent().
|
protected |
Set to true if zoom Mode is enabled.
Definition at line 140 of file FigureEditor.h.
|
protected |
The starting point of a mouse drag.for zoom.
Definition at line 299 of file FigureEditor.h.
Referenced by CanvasView::contentsMouseMoveEvent().
|
staticprotected |
The QSettings application key for searching for setting.
The initial value is "HippoDraw", but may be changed by Starkey.
Definition at line 272 of file FigureEditor.h.
Referenced by for(), CanvasView::initFitterDefault(), FigureEditor::initPrinter(), CanvasView::initRecentFiles(), CanvasView::initSettings(), CanvasView::saveSettings(), FigureEditor::setAppKey(), and CanvasView::setFitterDefault().
|
staticprotected |
The single QPrinter instance.
Definition at line 143 of file FigureEditor.h.
Referenced by FigureEditor::calcPrinterMetrics(), FigureEditor::initPrinter(), CanvasView::saveSettings(), and CanvasView::setup().
|
staticprotected |
The QSettings Windows registry key.
The key is the same as used for by Trolltech for their Qt applications
Definition at line 277 of file FigureEditor.h.
Referenced by CanvasView::initFitterDefault(), FigureEditor::initPrinter(), CanvasView::initRecentFiles(), CanvasView::initSettings(), CanvasView::saveSettings(), and CanvasView::setFitterDefault().