Changeset 656 for trunk/geant4/visualization/OpenGL/include
- Timestamp:
- Dec 11, 2007, 5:25:54 PM (17 years ago)
- Location:
- trunk/geant4/visualization/OpenGL/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/include/G4OpenGLQtExportDialog.hh
r652 r656 47 47 48 48 /** The G4OpenGLQtExportDialog class provide a Dialog displaying differents options 49 for each file format50 49 for each file format 50 */ 51 51 class G4OpenGLQtExportDialog : public QDialog 52 52 { 53 53 Q_OBJECT 54 54 55 public:55 public: 56 56 /** Construct a G4OpenGLQtExportDialog 57 57 @param parent : parent widget 58 @param name : name of the saved file with extention59 58 @param format : format of save file in lower case 60 59 @param height : height of the original file 61 60 @param width : width of the original file 62 61 */ 63 G4OpenGLQtExportDialog(QWidget* parent, QString name, QStringformat, int height =0, int width=0);62 G4OpenGLQtExportDialog(QWidget* parent, QString format, int height =0, int width=0); 64 63 65 64 /** Destroys G4OpenGLQtExportDialog */ … … 70 69 71 70 /** return the new width for file if format has a width widget, instead return 72 the original value */71 the original value */ 73 72 int getWidth(); 74 73 75 74 /** return the new height for file if format has a height widget, instead return 76 the original value */75 the original value */ 77 76 int getHeight(); 78 77 … … 86 85 bool getVectorEPS(); 87 86 88 public slots:87 public slots: 89 88 90 /** Called by a clic on modify/original size button.This will 91 invert buttons and hide/unhide size 92 */ 93 void changeSizeBox(); 89 /** Called by a clic on modify/original size button.This will 90 invert buttons and hide/unhide size 91 */ 92 void changeSizeBox(); 93 94 /** Called by a clic on vectorEPS check box.If vectorEPS checkBox is checked, 95 it will enable change size buttons. Else it will disable them. 96 */ 97 void changeVectorEPS(); 94 98 95 99 /** Called by changing value in height lineEdit. If ratio is keep, will also change the width … … 101 105 void textHeightChanged(const QString &); 102 106 103 private:107 private: 104 108 QString f_name, f_type, f_dir; 105 109 QLabel* qualityLabel; -
trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r652 r656 132 132 void toggleAux(bool); 133 133 void toggleFullScreen(bool); 134 #if QT_VERSION >= 0x040000134 // Only use for Qt>4.0 135 135 void dialogClosed(); 136 #endif137 136 }; 138 137
Note: See TracChangeset
for help on using the changeset viewer.