Geant4 11.1.1
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 280 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 261 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 242 of file G4OpenGLQtExportDialog.cc.
int G4OpenGLQtExportDialog::getSliderValue | ( | ) |
Definition at line 236 of file G4OpenGLQtExportDialog.cc.
bool G4OpenGLQtExportDialog::getVectorEPS | ( | ) |
return if vector EPS is checked, if button does'nt exist, return 0
Definition at line 254 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 248 of file G4OpenGLQtExportDialog.cc.
|
slot |
Called by changing value in width lineEdit. If ratio is keep, will also change the height
Definition at line 315 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 299 of file G4OpenGLQtExportDialog.cc.
Referenced by G4OpenGLQtExportDialog().