14 #ifndef CanvasSettings_H
15 #define CanvasSettings_H
65 #if QT_VERSION < 0x040000
149 #endif // CanvasSettings_H
int getHeightNumber() const
Returns the number of new plots vertically.
void orientationChanged()
Changes the plot matrix orientation.
void setIgnorePrinterMargin(bool yes)
Sets the status of the ignore printer margins check box.
bool printerBounds()
Sets the if the printer margin/bounds should be visible on the canvas or not.
Type
Return codes from running the CanvasSettings dialog.
This class manages the CanvasView settings dialog.
void setHeightNumber(int number)
Sets the number of new plots vertically.
Accept new setting and retile.
CanvasSettings(QWidget *parent=0, const char *name=0, bool modal=false, Qt::WFlags fl=0)
The constructor.
bool ignorePrinterMargin() const
Returns true if printer margin should be ignored when inserting new plots.
void setWidthNumber(int number)
Sets the number of new plots horizontally.
virtual void portraitRadioButton_toggled(bool)
Responds portrait is clicked.
virtual void cancel()
Responds to Cancel button.
void setPrinterBounds(bool flag)
Gets the flag if the printer margin/bounds should be visible on the canvas or not.
void setAddSelected(bool yes)
Sets the check box of the state of add plots being selected.
virtual void saveRetile()
Responds to Save & Retile button.
void setOrientation(QPrinter::Orientation orientation)
Sets the orientation of the canvas which can be Portrait or Landscape.
bool getAddSelected() const
Returns true if added plots should be selected.
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.
virtual void retile_clicked()
Responds to re-tile button clicked.
Accept new setting for new plots.