#include <ImageExportDialog.h>
Public Member Functions | |
| bool | color () const |
| For vector formats: returns whether colors should be enabled for ouput (default: true). | |
| ImageExportDialog (QWidget *parent=0, bool vector_options=true, Qt::WFlags flags=0) | |
| Constructor. | |
| int | quality () const |
| Return the quality (in percent) the user selected for export to raster formats. | |
| int | resolution () const |
| For vector formats: returns the output resolution the user selected, defaulting to the screen resolution. | |
| bool | transparency () const |
| Return whether the output's background should be transparent. | |
Protected Slots | |
| void | updateAdvancedOptions (const QString &filter) |
| Update which options are visible and enabled based on the output format. | |
Private Member Functions | |
| void | initAdvancedOptions () |
| Create d_advanced_options and everything it contains. | |
Private Attributes | |
| QStackedWidget * | d_advanced_options |
| Container widget for all advanced options. | |
| QPushButton * | d_advanced_toggle |
| Button for toggling display of advanced options on/off. | |
| QCheckBox * | d_color |
| QSpinBox * | d_quality |
| QGroupBox * | d_raster_options |
| Container widget for all options available for raster formats. | |
| QSpinBox * | d_resolution |
| QCheckBox * | d_transparency |
| QGroupBox * | d_vector_options |
| Container widget for all options available for vector formats. | |
| ImageExportDialog::ImageExportDialog | ( | QWidget * | parent = 0, |
|
| bool | vector_options = true, |
|||
| Qt::WFlags | flags = 0 | |||
| ) |
Constructor.
| parent | parent widget | |
| vector_options | whether advanced options are to be provided for export to vector formats | |
| flags | window flags |
| bool ImageExportDialog::color | ( | ) | const [inline] |
For vector formats: returns whether colors should be enabled for ouput (default: true).
| void ImageExportDialog::initAdvancedOptions | ( | ) | [private] |
Create d_advanced_options and everything it contains.
| int ImageExportDialog::quality | ( | ) | const [inline] |
Return the quality (in percent) the user selected for export to raster formats.
| int ImageExportDialog::resolution | ( | ) | const [inline] |
For vector formats: returns the output resolution the user selected, defaulting to the screen resolution.
| bool ImageExportDialog::transparency | ( | ) | const [inline] |
Return whether the output's background should be transparent.
| void ImageExportDialog::updateAdvancedOptions | ( | const QString & | filter | ) | [protected, slot] |
Update which options are visible and enabled based on the output format.
QStackedWidget* ImageExportDialog::d_advanced_options [private] |
Container widget for all advanced options.
QPushButton* ImageExportDialog::d_advanced_toggle [private] |
Button for toggling display of advanced options on/off.
QCheckBox* ImageExportDialog::d_color [private] |
QSpinBox* ImageExportDialog::d_quality [private] |
QGroupBox* ImageExportDialog::d_raster_options [private] |
Container widget for all options available for raster formats.
QSpinBox* ImageExportDialog::d_resolution [private] |
QCheckBox* ImageExportDialog::d_transparency [private] |
QGroupBox* ImageExportDialog::d_vector_options [private] |
Container widget for all options available for vector formats.
1.5.3