Qucs-GUI
0.0.19
|
#include <exportdialog.h>
Public Types | |
enum | ImgFormat { Coloured, Monochrome } |
Public Member Functions | |
ExportDialog (int w, int h, int wsel, int hsel, QString filename_, bool nosel_=true, QWidget *parent=0) | |
QString | FileToSave () |
bool | isOriginalSize () |
bool | isExportSelected () |
int | Xpixels () |
int | Ypixels () |
bool | isSvg () |
bool | needsInkscape () |
bool | isValidFilename () |
bool | isPdf () |
bool | isPdf_Tex () |
bool | isEps () |
void | setDiagram () |
float | getScale () |
ExportDialog::ImgFormat | getImgFormat () |
Private Slots | |
void | setFileName () |
void | calcWidth () |
void | calcHeight () |
void | recalcRatio () |
void | restoreOriginalWtoH () |
void | setSvg (QString filename) |
void | setSelectedWH () |
void | recalcScale () |
Private Attributes | |
QPushButton * | ExportButt |
QPushButton * | CancelButt |
QPushButton * | SaveButt |
QLabel * | lblFilename |
QLabel * | lblResolutionX |
QLabel * | lblResolutionY |
QLabel * | lblRatio |
QLabel * | lblFormat |
QCheckBox * | cbResolution |
QCheckBox * | cbRatio |
QCheckBox * | cbSelected |
QLineEdit * | editFilename |
QLineEdit * | editResolutionX |
QLineEdit * | editResolutionY |
QLineEdit * | editScale |
QComboBox * | cbxImgType |
QHBoxLayout * | lower1 |
QHBoxLayout * | lower2 |
QHBoxLayout * | lower3 |
QHBoxLayout * | lower4 |
QVBoxLayout * | top |
int | dwidth |
int | dheight |
int | dwidthsel |
int | dheightsel |
float | scale |
bool | svg |
bool | noselected |
QString | filename |
Definition at line 29 of file exportdialog.h.
Definition at line 75 of file exportdialog.h.
ExportDialog::ExportDialog | ( | int | w, |
int | h, | ||
int | wsel, | ||
int | hsel, | ||
QString | filename_, | ||
bool | nosel_ = true , |
||
QWidget * | parent = 0 |
||
) | [explicit] |
void ExportDialog::calcHeight | ( | ) | [private, slot] |
void ExportDialog::calcWidth | ( | ) | [private, slot] |
QString ExportDialog::FileToSave | ( | ) |
Definition at line 137 of file exportdialog.cpp.
Definition at line 353 of file exportdialog.cpp.
float ExportDialog::getScale | ( | ) |
Definition at line 334 of file exportdialog.cpp.
bool ExportDialog::isEps | ( | ) |
Definition at line 308 of file exportdialog.cpp.
bool ExportDialog::isExportSelected | ( | ) |
Definition at line 241 of file exportdialog.cpp.
bool ExportDialog::isOriginalSize | ( | ) |
Definition at line 142 of file exportdialog.cpp.
bool ExportDialog::isPdf | ( | ) |
Definition at line 294 of file exportdialog.cpp.
bool ExportDialog::isPdf_Tex | ( | ) |
Definition at line 301 of file exportdialog.cpp.
bool ExportDialog::isSvg | ( | ) |
Definition at line 236 of file exportdialog.cpp.
bool ExportDialog::isValidFilename | ( | ) |
Definition at line 264 of file exportdialog.cpp.
bool ExportDialog::needsInkscape | ( | ) |
Definition at line 280 of file exportdialog.cpp.
void ExportDialog::recalcRatio | ( | ) | [private, slot] |
Definition at line 220 of file exportdialog.cpp.
void ExportDialog::recalcScale | ( | ) | [private, slot] |
void ExportDialog::restoreOriginalWtoH | ( | ) | [private, slot] |
void ExportDialog::setDiagram | ( | ) |
Definition at line 327 of file exportdialog.cpp.
void ExportDialog::setFileName | ( | ) | [private, slot] |
void ExportDialog::setSelectedWH | ( | ) | [private, slot] |
Definition at line 315 of file exportdialog.cpp.
void ExportDialog::setSvg | ( | QString | filename | ) | [private, slot] |
int ExportDialog::Xpixels | ( | ) |
Definition at line 147 of file exportdialog.cpp.
int ExportDialog::Ypixels | ( | ) |
Definition at line 152 of file exportdialog.cpp.
QPushButton* ExportDialog::CancelButt [private] |
Definition at line 37 of file exportdialog.h.
QCheckBox* ExportDialog::cbRatio [private] |
Definition at line 47 of file exportdialog.h.
QCheckBox* ExportDialog::cbResolution [private] |
Definition at line 46 of file exportdialog.h.
QCheckBox* ExportDialog::cbSelected [private] |
Definition at line 48 of file exportdialog.h.
QComboBox* ExportDialog::cbxImgType [private] |
Definition at line 55 of file exportdialog.h.
int ExportDialog::dheight [private] |
Definition at line 63 of file exportdialog.h.
int ExportDialog::dheightsel [private] |
Definition at line 65 of file exportdialog.h.
int ExportDialog::dwidth [private] |
Definition at line 63 of file exportdialog.h.
int ExportDialog::dwidthsel [private] |
Definition at line 65 of file exportdialog.h.
QLineEdit* ExportDialog::editFilename [private] |
Definition at line 50 of file exportdialog.h.
QLineEdit* ExportDialog::editResolutionX [private] |
Definition at line 51 of file exportdialog.h.
QLineEdit* ExportDialog::editResolutionY [private] |
Definition at line 52 of file exportdialog.h.
QLineEdit* ExportDialog::editScale [private] |
Definition at line 53 of file exportdialog.h.
QPushButton* ExportDialog::ExportButt [private] |
Definition at line 36 of file exportdialog.h.
QString ExportDialog::filename [private] |
Definition at line 71 of file exportdialog.h.
QLabel* ExportDialog::lblFilename [private] |
Definition at line 40 of file exportdialog.h.
QLabel* ExportDialog::lblFormat [private] |
Definition at line 44 of file exportdialog.h.
QLabel* ExportDialog::lblRatio [private] |
Definition at line 43 of file exportdialog.h.
QLabel* ExportDialog::lblResolutionX [private] |
Definition at line 41 of file exportdialog.h.
QLabel* ExportDialog::lblResolutionY [private] |
Definition at line 42 of file exportdialog.h.
QHBoxLayout* ExportDialog::lower1 [private] |
Definition at line 57 of file exportdialog.h.
QHBoxLayout* ExportDialog::lower2 [private] |
Definition at line 58 of file exportdialog.h.
QHBoxLayout* ExportDialog::lower3 [private] |
Definition at line 59 of file exportdialog.h.
QHBoxLayout* ExportDialog::lower4 [private] |
Definition at line 60 of file exportdialog.h.
bool ExportDialog::noselected [private] |
Definition at line 69 of file exportdialog.h.
QPushButton* ExportDialog::SaveButt [private] |
Definition at line 38 of file exportdialog.h.
float ExportDialog::scale [private] |
Definition at line 67 of file exportdialog.h.
bool ExportDialog::svg [private] |
Definition at line 69 of file exportdialog.h.
QVBoxLayout* ExportDialog::top [private] |
Definition at line 61 of file exportdialog.h.