Qucs-GUI  0.0.19
Public Types | Public Member Functions | Private Slots | Private Attributes
ExportDialog Class Reference

#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

Detailed Description

Definition at line 29 of file exportdialog.h.


Member Enumeration Documentation

Enumerator:
Coloured 
Monochrome 

Definition at line 75 of file exportdialog.h.


Constructor & Destructor Documentation

ExportDialog::ExportDialog ( int  w,
int  h,
int  wsel,
int  hsel,
QString  filename_,
bool  nosel_ = true,
QWidget *  parent = 0 
) [explicit]

Definition at line 31 of file exportdialog.cpp.

Here is the call graph for this function:


Member Function Documentation

void ExportDialog::calcHeight ( ) [private, slot]

Definition at line 210 of file exportdialog.cpp.

Here is the caller graph for this function:

void ExportDialog::calcWidth ( ) [private, slot]

Definition at line 200 of file exportdialog.cpp.

Here is the caller graph for this function:

Definition at line 137 of file exportdialog.cpp.

Definition at line 353 of file exportdialog.cpp.

Definition at line 334 of file exportdialog.cpp.

Definition at line 308 of file exportdialog.cpp.

Definition at line 241 of file exportdialog.cpp.

Definition at line 142 of file exportdialog.cpp.

Definition at line 294 of file exportdialog.cpp.

Definition at line 301 of file exportdialog.cpp.

Definition at line 236 of file exportdialog.cpp.

Definition at line 264 of file exportdialog.cpp.

Definition at line 280 of file exportdialog.cpp.

void ExportDialog::recalcRatio ( ) [private, slot]

Definition at line 220 of file exportdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ExportDialog::recalcScale ( ) [private, slot]

Definition at line 340 of file exportdialog.cpp.

Here is the caller graph for this function:

void ExportDialog::restoreOriginalWtoH ( ) [private, slot]

Definition at line 227 of file exportdialog.cpp.

Here is the caller graph for this function:

Definition at line 327 of file exportdialog.cpp.

void ExportDialog::setFileName ( ) [private, slot]

Definition at line 157 of file exportdialog.cpp.

Here is the caller graph for this function:

void ExportDialog::setSelectedWH ( ) [private, slot]

Definition at line 315 of file exportdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ExportDialog::setSvg ( QString  filename) [private, slot]

Definition at line 246 of file exportdialog.cpp.

Here is the caller graph for this function:

Definition at line 147 of file exportdialog.cpp.

Definition at line 152 of file exportdialog.cpp.


Field Documentation

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.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines