Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4OpenGLQtExportDialog.hh>
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 () |
bool | getVectorEPS () |
The G4OpenGLQtExportDialog class provide a Dialog displaying differents options for each file format
Definition at line 49 of file G4OpenGLQtExportDialog.hh.
G4OpenGLQtExportDialog::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 |
Definition at line 49 of file G4OpenGLQtExportDialog.cc.
G4OpenGLQtExportDialog::~G4OpenGLQtExportDialog | ( | ) |
|
slot |
Called by a clic on modify/original size button.This will invert buttons and hide/unhide size
Definition at line 281 of file G4OpenGLQtExportDialog.cc.
Referenced by changeVectorEPS(), and G4OpenGLQtExportDialog().
|
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.
Definition at line 262 of file G4OpenGLQtExportDialog.cc.
Referenced by G4OpenGLQtExportDialog().
int G4OpenGLQtExportDialog::getHeight | ( | ) |
return the new height for file if format has a height widget, instead return the original value
Definition at line 243 of file G4OpenGLQtExportDialog.cc.
int G4OpenGLQtExportDialog::getSliderValue | ( | ) |
Definition at line 237 of file G4OpenGLQtExportDialog.cc.
bool G4OpenGLQtExportDialog::getVectorEPS | ( | ) |
return if vector EPS is checked, if button does'nt exist, return 0
Definition at line 255 of file G4OpenGLQtExportDialog.cc.
int G4OpenGLQtExportDialog::getWidth | ( | ) |
return the new width for file if format has a width widget, instead return the original value
Definition at line 249 of file G4OpenGLQtExportDialog.cc.
|
slot |
Called by changing value in width lineEdit. If ratio is keep, will also change the height
Definition at line 316 of file G4OpenGLQtExportDialog.cc.
Referenced by G4OpenGLQtExportDialog().
|
slot |
Called by changing value in height lineEdit. If ratio is keep, will also change the width
Definition at line 300 of file G4OpenGLQtExportDialog.cc.
Referenced by G4OpenGLQtExportDialog().