#include <CanvasSettings.h>
Inheritance diagram for CanvasSettings:


This class manages the CanvasView settings dialog. It looks like this ...
The canvas settings dialog.
Definition at line 34 of file CanvasSettings.h.
Public Types | |
| enum | Type { Accepted, Rejected, AcceptedAndRetile, Retile } |
| Return codes from running the CanvasSettings dialog. More... | |
Public Member Functions | |
| CanvasSettings (QWidget *parent=0, const char *name=0, bool modal=false, Qt::WFlags fl=0) | |
| The constructor. | |
| bool | getAddSelected () const |
Returns true if added plots should be selected. | |
| int | getHeightNumber () const |
| Returns the number of new plots vertically. | |
| int | getWidthNumber () const |
| Returns the number of new plots horizontally. | |
| QPrinter::Orientation | orientation () |
| Gets the orientation of the canvas which can be Portrait or Landscape. | |
| bool | printerBounds () |
| Sets the if the printer margin/bounds should be visible on the canvas or not. | |
| void | setHeightNumber (int number) |
| Sets the number of new plots vertically. | |
| void | setOrientation (QPrinter::Orientation orientation) |
| Sets the orientation of the canvas which can be Portrait or Landscape. | |
| void | setPrinterBounds (bool flag) |
| Gets the flag if the printer margin/bounds should be visible on the canvas or not. | |
| void | setWidthNumber (int number) |
| Sets the number of new plots horizontally. | |
Protected Member Functions | |
| virtual void | cancel () |
| Responds to Cancel button. | |
| virtual void | on_portraitRadioButton_toggled (bool) |
| Responds portrait is clicked. | |
| virtual void | on_retile_clicked () |
| Responds to re-tile button clicked. | |
| virtual void | saveRetile () |
| Responds to Save & Retile button. | |
Private Member Functions | |
| void | orientationChanged () |
| Changes the plot matrix orientation. | |
|
|
Return codes from running the CanvasSettings dialog.
Definition at line 46 of file CanvasSettings.h. |
|
||||||||||||||||||||
|
The constructor.
Definition at line 19 of file CanvasSettings.cxx. References cancel(). |
|
|
Responds to Cancel button.
Definition at line 36 of file CanvasSettings.cxx. References Rejected. Referenced by CanvasSettings(). |
|
|
Returns
Definition at line 140 of file CanvasSettings.cxx. |
|
|
Returns the number of new plots vertically.
Definition at line 71 of file CanvasSettings.cxx. Referenced by orientationChanged(). |
|
|
Returns the number of new plots horizontally.
Definition at line 57 of file CanvasSettings.cxx. Referenced by orientationChanged(). |
|
|
Responds portrait is clicked.
Definition at line 85 of file CanvasSettings.cxx. References orientationChanged(). |
|
|
Responds to re-tile button clicked.
Definition at line 50 of file CanvasSettings.cxx. References Retile. |
|
|
Gets the orientation of the canvas which can be Portrait or Landscape.
Definition at line 103 of file CanvasSettings.cxx. |
|
|
Changes the plot matrix orientation.
Definition at line 92 of file CanvasSettings.cxx. References getHeightNumber(), getWidthNumber(), setHeightNumber(), and setWidthNumber(). Referenced by on_portraitRadioButton_toggled(). |
|
|
Sets the if the printer margin/bounds should be visible on the canvas or not.
Definition at line 125 of file CanvasSettings.cxx. |
|
|
Responds to Save & Retile button.
Definition at line 43 of file CanvasSettings.cxx. References AcceptedAndRetile. |
|
|
Sets the number of new plots vertically.
Definition at line 78 of file CanvasSettings.cxx. Referenced by orientationChanged(). |
|
|
Sets the orientation of the canvas which can be Portrait or Landscape.
Definition at line 115 of file CanvasSettings.cxx. |
|
|
Gets the flag if the printer margin/bounds should be visible on the canvas or not.
Definition at line 130 of file CanvasSettings.cxx. |
|
|
Sets the number of new plots horizontally.
Definition at line 64 of file CanvasSettings.cxx. Referenced by orientationChanged(). |
1.4.3