|
Geant4
10.00.p01
|
Public Slots | |
| void | changeSizeBox () |
| void | changeVectorEPS () |
| void | textWidthChanged (const QString &) |
| void | textHeightChanged (const QString &) |
Public Member Functions | |
| G4OpenGLQtExportDialog (QWidget *parentw, QString format, int height=0, int width=0) | |
| ~G4OpenGLQtExportDialog () | |
| int | getSliderValue () |
| int | getWidth () |
| int | getHeight () |
| int | getTransparency () |
| int | getNbColor () |
| bool | getVectorEPS () |
Private Attributes | |
| QString | f_name |
| QString | f_type |
| QString | f_dir |
| QLabel * | qualityLabel |
| bool | expAll |
| QPushButton * | buttonOk |
| QPushButton * | buttonCancel |
| QGroupBox * | sizeGroupBox |
| QCheckBox * | transparencyEPS |
| QCheckBox * | boxTransparency |
| QCheckBox * | vectorEPSCheckBox |
| QCheckBox * | ratioCheckBox |
| QSlider * | qualitySlider |
| QLabel * | formatLabel |
| QRadioButton * | colorButton |
| QRadioButton * | BWButton |
| QRadioButton * | original |
| QRadioButton * | modify |
| QLineEdit * | height |
| QLineEdit * | width |
| QWidget * | heightWidget |
| QWidget * | widthWidget |
| int | originalWidth |
| int | originalHeight |
| bool | isChangingSize |
The G4OpenGLQtExportDialog class provide a Dialog displaying differents options for each file format
| G4OpenGLQtExportDialog | ( | QWidget * | parentw, |
| QString | format, | ||
| int | height = 0, |
||
| int | width = 0 |
||
| ) |
Construct a G4OpenGLQtExportDialog
| parentw | : parent widget |
| format | : format of save file in lower case |
| height | : height of the original file |
| width | : width of the original file |
Destroys G4OpenGLQtExportDialog
| int getSliderValue | ( | ) |
| int getWidth | ( | ) |
return the new width for file if format has a width widget, instead return the original value
| int getHeight | ( | ) |
return the new height for file if format has a height widget, instead return the original value
| int getTransparency | ( | ) |
return the value of the transparency if format has a transparency, instead return -1
| int getNbColor | ( | ) |
return the numbers of colors in the picture if format has a BW/Color widget, instead return -1
| bool getVectorEPS | ( | ) |
return if vector EPS is checked, if button does'nt exist, return 0
|
slot |
Called by a clic on modify/original size button.This will invert buttons and hide/unhide size
|
slot |
Called by a clic on vectorEPS check box.If vectorEPS checkBox is checked, it will enable change size buttons. Else it will disable them.
Called by changing value in height lineEdit. If ratio is keep, will also change the width
Called by changing value in width lineEdit. If ratio is keep, will also change the height
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |