kstars
exportimagedialog.cpp
Go to the documentation of this file.
39 ExportImageDialog::ExportImageDialog(const QString &url, const QSize &size, ImageExporter *imgExporter)
96 positions << i18n("Upper left corner") << i18n("Upper right corner") << i18n("Lower left corner")
107 connect(m_DialogUI->addLegendCheckBox, SIGNAL(toggled(bool)), this, SLOT(switchLegendEnabled(bool)));
108 connect(m_DialogUI->addLegendCheckBox, SIGNAL(toggled(bool)), button(KDialog::User1), SLOT(setEnabled(bool)));
113 Legend::LEGEND_ORIENTATION orientation = ( ( m_DialogUI->legendOrientationComboBox->currentIndex() == 1) ? Legend::LO_VERTICAL : Legend::LO_HORIZONTAL );
115 Legend::LEGEND_TYPE type = static_cast<Legend::LEGEND_TYPE>(m_DialogUI->legendTypeComboBox->currentIndex());
117 Legend::LEGEND_POSITION pos = static_cast<Legend::LEGEND_POSITION>(m_DialogUI->legendPositionComboBox->currentIndex());
128 KMessageBox::sorry( 0, m_ImageExporter->getLastErrorMessage(), i18n( "Could not export image" ) );
Backends for exporting a sky image, either raster or vector, with a legend.
Definition: imageexporter.h:35
Definition: legend.h:66
ExportImageDialog(const QString &url, const QSize &size, ImageExporter *imgExporter=0)
short Default constructor.
Definition: exportimagedialog.cpp:39
Legend class is used for painting legends on class inheriting QPaintDevice.
Definition: legend.h:45
Definition: exportimagedialog.h:32
ExportImageDialogUI(QWidget *parent=0)
Definition: exportimagedialog.cpp:33
Definition: legend.h:67
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 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:36:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.