Changeset 593 for trunk/geant4/interfaces
- Timestamp:
- Nov 9, 2007, 3:32:25 PM (17 years ago)
- Location:
- trunk/geant4/interfaces
- Files:
-
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/GAG/include/G4UIGAG.hh
r483 r593 26 26 // 27 27 // $Id: G4UIGAG.hh,v 1.7 2006/06/29 19:09:18 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G4UIGAG.hh -
trunk/geant4/interfaces/GAG/include/G4UIGainServer.hh
r483 r593 26 26 // 27 27 // $Id: G4UIGainServer.hh,v 1.5 2006/06/29 19:09:21 gunter Exp $ 28 // $Name: geant4-0 8-01-patch-01 $28 // $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 -
trunk/geant4/interfaces/GAG/src/G4UIGAG.cc
r483 r593 26 26 // 27 27 // $Id: G4UIGAG.cc,v 1.18 2006/06/29 19:09:23 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G4UIGAG.cc -
trunk/geant4/interfaces/GAG/src/G4UIGainServer.cc
r483 r593 27 27 // 12/06/2002 G4UIGainServer H. MInamimoto and H. Yoshida created 28 28 // $Id: G4UIGainServer.cc,v 1.10 2006/06/29 19:09:25 gunter Exp $ 29 // $Name: geant4-0 8-01-patch-01 $29 // $Name: geant4-09-00-ref-01 $ 30 30 // 31 31 #ifndef WIN32 -
trunk/geant4/interfaces/History
r476 r593 1 $Id: History,v 1. 78 2005/11/28 18:20:20gcosmo Exp $1 $Id: History,v 1.82 2007/06/19 10:38:28 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 18 18 ---------------------------------------------------------- 19 19 20 19 June 2007, Gabriele Cosmo (interfaces-V08-03-02) 21 - Fix compilation error on Windows ('theShell' not declared). 22 23 14 June 2007, Koichi Murakami (interfaces-V08-03-01) 24 - fixed the problem with Ctl-C termination for bash users. 25 * G4VUIshell : add a virtual method ResetTerminal() 26 * G4UItcsh : add a method ResetTerminal() 27 * G4UIterminal : add terminal reset when Ctl-C termination 28 29 22 May 2007, Koichi Murakami (interface-V08-03-00) 30 - G4UIterminal.cc: implement signal handler for soft-abort 31 20 32 28 November 2005, Gabriele Cosmo (interface-V07-01-02) 21 33 - G4UIXm.cc migrated to sstream -
trunk/geant4/interfaces/basic/GNUmakefile
r494 r593 1 # $Id: GNUmakefile,v 1. 2 2005/01/26 08:50:58 gcosmoExp $1 # $Id: GNUmakefile,v 1.3 2007/05/21 07:30:33 kmura Exp $ 2 2 # ------------------------------------------------------------- 3 3 # GNUmakefile for interfaces/basic library. John Allison, 6/7/98. 4 5 #ifdef G4UI_USE_QT6 # This is not good solution, we have to 'make' twice, but it works...7 #moc :8 # @$(MOC) -DG4UI_USE_QT include/G4UIQt.hh -o src/G4UIQt_moc.cc9 #endif10 4 11 5 name := G4UIbasic … … 22 16 CPPFLAGS += -I$(G4BASE)/interfaces/common/include 23 17 CPPFLAGS += -I$(G4BASE)/intercoms/include 24 25 18 CPPFLAGS += -I$(G4BASE)/global/management/include \ 19 -I$(G4BASE)/global/HEPRandom/include \ 20 -I$(G4BASE)/global/HEPGeometry/include \ 21 -I$(G4BASE)/run/include \ 22 -I$(G4BASE)/event/include \ 23 -I$(G4BASE)/track/include \ 24 -I$(G4BASE)/tracking/include \ 25 -I$(G4BASE)/particles/management/include \ 26 -I$(G4BASE)/processes/management/include \ 27 -I$(G4BASE)/processes/cuts/include \ 28 -I$(G4BASE)/processes/electromagnetic/utils/include \ 29 -I$(G4BASE)/processes/transportation/include \ 30 -I$(G4BASE)/processes/decay/include \ 31 -I$(G4BASE)/materials/include \ 32 -I$(G4BASE)/geometry/management/include \ 33 -I$(G4BASE)/geometry/volumes/include \ 34 -I$(G4BASE)/geometry/navigation/include \ 35 -I$(G4BASE)/geometry/magneticfield/include \ 36 -I$(G4BASE)/geometry/biasing/include \ 37 -I$(G4BASE)/digits_hits/detector/include \ 38 -I$(G4BASE)/digits_hits/hits/include \ 39 -I$(G4BASE)/digits_hits/digits/include \ 40 -I$(G4BASE)/interfaces/common/include \ 41 -I$(G4BASE)/interfaces/basic/include \ 42 -I$(G4BASE)/intercoms/include \ 43 -I$(G4BASE)/graphics_reps/include 26 44 27 45 include $(G4INSTALL)/config/common.gmk 46 -
trunk/geant4/interfaces/basic/include/G4UIArrayString.hh
r483 r593 26 26 // 27 27 // $Id: G4UIArrayString.hh,v 1.3 2006/06/29 19:09:27 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 -
trunk/geant4/interfaces/basic/include/G4UIQt.hh
r577 r593 25 25 // 26 26 // 27 // $Id: G4UIQt.hh,v 1. 13 2006/06/29 19:09:33 gunter Exp $28 // GEANT4 tag $Name: geant4-08-01$27 // $Id: G4UIQt.hh,v 1.2 2007/11/08 17:00:09 lgarnier Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 #ifndef G4UIQt_h … … 38 38 #include "G4VInteractiveSession.hh" 39 39 40 #include <QtGui/qmainwindow.h> 41 #include <QtGui/qlineedit.h> 42 #include <QtGui/qlistwidget.h> 43 #include <QtGui/qtextedit.h> 44 #include <QtGui/qlabel.h> 45 #include <QtGui/qtreewidget.h> 46 #include <QSignalMapper.h> 47 #include <QObject> 40 #include <QtCore/QObject> 48 41 42 class QMainWindow; 43 class QLineEdit; 49 44 class G4UIsession; 50 45 class QListWidget; 46 class QTextEdit; 47 class QLabel; 48 class QDialog; 49 class QTreeWidgetItem; 50 class QTreeWidget; 51 51 52 52 // Class description : -
trunk/geant4/interfaces/basic/include/G4UIWin32.hh
r483 r593 26 26 // 27 27 // $Id: G4UIWin32.hh,v 1.14 2006/06/29 19:09:29 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 #ifndef G4UIWin32_h -
trunk/geant4/interfaces/basic/include/G4UIXaw.hh
r483 r593 26 26 // 27 27 // $Id: G4UIXaw.hh,v 1.6 2006/06/29 19:09:31 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 #ifndef G4UIXaw_h -
trunk/geant4/interfaces/basic/include/G4UIXm.hh
r483 r593 26 26 // 27 27 // $Id: G4UIXm.hh,v 1.13 2006/06/29 19:09:33 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 #ifndef G4UIXm_h -
trunk/geant4/interfaces/basic/include/G4UIcsh.hh
r483 r593 26 26 // 27 27 // $Id: G4UIcsh.hh,v 1.4 2006/06/29 19:09:35 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 -
trunk/geant4/interfaces/basic/include/G4UItcsh.hh
r483 r593 25 25 // 26 26 // 27 // $Id: G4UItcsh.hh,v 1. 7 2006/06/29 19:09:37 gunterExp $28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $27 // $Id: G4UItcsh.hh,v 1.8 2007/06/14 05:44:58 kmura Exp $ 28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 … … 40 40 #include "G4UIcommandTree.hh" 41 41 42 // 42 // ==================================================================== 43 43 // Description: 44 44 // This class gives tcsh-like shell. … … 68 68 // %h ... history# (different from G4 history#) 69 69 // 70 // ==================================================================== 70 71 71 72 class G4UItcsh : public G4VUIshell { … … 125 126 void SetLsColor(TermColorIndex dirColor, TermColorIndex cmdColor); 126 127 virtual G4String GetCommandLine(const char* msg=0); 128 129 virtual void ResetTerminal(); 127 130 }; 128 131 132 // ==================================================================== 133 // inline functions 134 // ==================================================================== 129 135 inline G4bool G4UItcsh::IsCursorLast() const 130 136 { -
trunk/geant4/interfaces/basic/include/G4UIterminal.hh
r483 r593 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4UIterminal.hh,v 1.10 2007/05/22 01:51:05 kmura Exp $ 27 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 26 28 // 27 // $Id: G4UIterminal.hh,v 1.9 2006/06/29 19:09:39 gunter Exp $ 28 // GEANT4 tag $Name: geant4-08-01-patch-01 $ 29 // 30 31 #ifndef G4UIterminal_h 32 #define G4UIterminal_h 1 33 34 #include <fstream> 35 #include "G4UImanager.hh" 36 #include "G4VBasicShell.hh" 37 #include "G4VUIshell.hh" 38 29 // ==================================================================== 30 // G4UIterminal.cc 39 31 // 40 32 // Description: … … 69 61 // 70 62 // For more detail, see source codes. 71 // 63 // ==================================================================== 64 #ifndef G4UIterminal_h 65 #define G4UIterminal_h 1 66 67 #include <fstream> 68 #include "G4UImanager.hh" 69 #include "G4VBasicShell.hh" 70 #include "G4VUIshell.hh" 72 71 73 72 class G4UIterminal : public G4VBasicShell { … … 82 81 83 82 public: 84 G4UIterminal(G4VUIshell* aShell=0 );83 G4UIterminal(G4VUIshell* aShell=0, G4bool qsig=true); 85 84 ~G4UIterminal(); 86 85 -
trunk/geant4/interfaces/basic/include/G4VUIshell.hh
r483 r593 25 25 // 26 26 // 27 // $Id: G4VUIshell.hh,v 1. 6 2006/06/29 19:09:41 gunterExp $28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $27 // $Id: G4VUIshell.hh,v 1.7 2007/06/14 05:44:58 kmura Exp $ 28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 … … 34 34 #include "globals.hh" 35 35 36 // 36 // ==================================================================== 37 37 // Description: 38 38 // This class is the abstract base class for various UI shells. … … 50 50 // %/ ... current working directory 51 51 // 52 // ==================================================================== 52 53 53 54 // terminal color index … … 95 96 // get command string from a command line 96 97 virtual G4String GetCommandLine(const char* msg=0)= 0; 98 99 virtual void ResetTerminal(); 97 100 }; 98 101 99 100 // inlines... 102 // ==================================================================== 103 // inline functions 104 // ==================================================================== 101 105 inline void G4VUIshell::SetNColumn(G4int ncol) 102 106 { -
trunk/geant4/interfaces/basic/src/G4UIArrayString.cc
r483 r593 26 26 // 27 27 // $Id: G4UIArrayString.cc,v 1.8 2006/06/29 19:09:43 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 -
trunk/geant4/interfaces/basic/src/G4UIQt.cc
r579 r593 25 25 // 26 26 // 27 // $Id: G4UIQt.cc,v 1. 14 2007/05/29 11:09:49$28 // GEANT4 tag $Name: geant4-08-01$27 // $Id: G4UIQt.cc,v 1.3 2007/11/08 17:00:09 lgarnier Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // L. Garnier … … 46 46 #include "G4Qt.hh" 47 47 48 #include <QtGui/qapplication.h> 49 #include <QtGui/qwidget.h> 50 #include <QtGui/qmenu.h> 51 #include <QtGui/qmenubar.h> 52 #include <QtGui/qboxlayout.h> 53 #include <QtGui/qpushbutton.h> 54 #include <QtGui/qlabel.h> 55 #include <QtGui/qsplitter.h> 56 #include <QtGui/qscrollbar.h> 57 #include <QtGui/qdialog.h> 58 #include <QtGui/qevent.h> 48 #include <QtGui/QApplication.h> 49 #include <QtGui/QMainWindow.h> 50 #include <QtGui/QLineEdit.h> 51 #include <QtGui/QWidget.h> 52 #include <QtGui/QMenu.h> 53 #include <QtGui/QMenuBar.h> 54 #include <QtGui/QBoxLayout.h> 55 #include <QtGui/QPushButton.h> 56 #include <QtGui/QLabel.h> 57 #include <QtGui/QSplitter.h> 58 #include <QtGui/QScrollBar.h> 59 #include <QtGui/QDialog.h> 60 #include <QtGui/QEvent.h> 61 #include <QtGui/QListWidget.h> 62 #include <QtGui/QTextEdit.h> 63 #include <QtGui/QTreeWidget.h> 64 #include <QtCore/QSignalMapper.h> 65 59 66 60 67 #include <stdlib.h> -
trunk/geant4/interfaces/basic/src/G4UIQt_moc.cc
r577 r593 2 2 ** Meta object code from reading C++ file 'G4UIQt.hh' 3 3 ** 4 ** Created: Mon Sep 17 14:28:15 20074 ** Created: Mon Oct 1 10:59:35 2007 5 5 ** by: The Qt Meta Object Compiler version 59 (Qt 4.2.2) 6 6 ** 7 7 ** WARNING! All changes made in this file will be lost! 8 8 *****************************************************************************/ 9 10 #ifdef G4UI_BUILD_QT_SESSION 9 11 10 12 #include "../include/G4UIQt.hh" … … 99 101 QMetaObject::activate(this, &staticMetaObject, 0, _a); 100 102 } 103 104 #endif -
trunk/geant4/interfaces/basic/src/G4UIWin32.cc
r483 r593 26 26 // 27 27 // $Id: G4UIWin32.cc,v 1.13 2006/06/29 19:09:45 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G.Barrand -
trunk/geant4/interfaces/basic/src/G4UIXaw.cc
r483 r593 26 26 // 27 27 // $Id: G4UIXaw.cc,v 1.6 2006/06/29 19:09:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G.Barrand -
trunk/geant4/interfaces/basic/src/G4UIXm.cc
r483 r593 26 26 // 27 27 // $Id: G4UIXm.cc,v 1.14 2006/06/29 19:09:49 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G.Barrand -
trunk/geant4/interfaces/basic/src/G4UIcsh.cc
r483 r593 26 26 // 27 27 // $Id: G4UIcsh.cc,v 1.8 2006/06/29 19:09:51 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 -
trunk/geant4/interfaces/basic/src/G4UItcsh.cc
r483 r593 25 25 // 26 26 // 27 // $Id: G4UItcsh.cc,v 1.1 2 2006/06/29 19:09:54 gunterExp $28 // GEANT4 tag $Name: geant4-08-01-patch-01$27 // $Id: G4UItcsh.cc,v 1.15 2007/11/06 09:36:23 kmura Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 37 37 #include <ctype.h> 38 38 #include <sstream> 39 #include <fstream> 40 #include <stdlib.h> 39 41 40 42 // ASCII character code … … 59 61 static const int AsciiPrintableMin = 32; 60 62 63 // history file 64 static const G4String historyFileName= "/.g4_hist"; 65 61 66 ///////////////////////////////////////////////////////// 62 67 G4UItcsh::G4UItcsh(const G4String& prompt, G4int maxhist) … … 69 74 // get current terminal mode 70 75 tcgetattr(0, &tios); 76 77 // read a shell history file 78 G4String homedir= getenv("HOME"); 79 G4String fname= homedir + historyFileName; 80 81 std::ifstream histfile; 82 enum { BUFSIZE= 1024 }; char linebuf[BUFSIZE]; 83 84 histfile.open(fname, std::ios::in); 85 while (histfile.good()) { 86 if(histfile.eof()) break; 87 88 histfile.getline(linebuf, BUFSIZE); 89 G4String aline= linebuf; 90 aline.strip(G4String::both); 91 if(aline.size() != 0) StoreHistory(linebuf); 92 } 93 histfile.close(); 71 94 } 72 95 … … 75 98 ///////////////////// 76 99 { 77 } 100 // store a shell history 101 G4String homedir= getenv("HOME"); 102 G4String fname= homedir + historyFileName; 103 104 std::ofstream histfile; 105 histfile.open(fname, std::ios::out); 106 107 G4int n0hist= 1; 108 if( currentHistoryNo > maxHistory ) n0hist= currentHistoryNo-maxHistory+1; 109 110 for (G4int i=n0hist; i<= currentHistoryNo; i++) { 111 histfile << RestoreHistory(i) << G4endl; 112 } 78 113 79 /////////////////////////// 114 histfile.close(); 115 } 116 117 ////////////////////////////////////////// 80 118 void G4UItcsh::MakePrompt(const char* msg) 81 /////////////////////////// 119 ////////////////////////////////////////// 82 120 { 83 121 if(promptSetting.length()<=1) { … … 130 168 } 131 169 170 171 ////////////////////////////// 172 void G4UItcsh::ResetTerminal() 173 ////////////////////////////// 174 { 175 RestoreTerm(); 176 } 177 178 132 179 // -------------------------------------------------------------------- 133 180 // commad line operations … … 465 512 466 513 G4int jt= input.find_last_of('/'); 467 if(jt<jhead) jt=G4 String::npos;514 if(jt<jhead) jt=G4int(G4String::npos); 468 515 469 516 if(jt==G4int(G4String::npos)) jt= jhead; … … 472 519 G4String dspstr; 473 520 G4int i; 474 for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(AsciiBS); // cleanup521 for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(AsciiBS); 475 522 for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(' '); 476 523 for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(AsciiBS); … … 592 639 } 593 640 594 /////////////////////////////////// 641 ////////////////////////////////////////////////// 595 642 G4String G4UItcsh::GetCommandLine(const char* msg) 596 /////////////////////////////////// 643 ////////////////////////////////////////////////// 597 644 { 598 645 SetTermToInputMode(); -
trunk/geant4/interfaces/basic/src/G4UIterminal.cc
r483 r593 25 25 // 26 26 // 27 // $Id: G4UIterminal.cc,v 1.21 2006/06/29 19:09:56 gunter Exp $ 28 // GEANT4 tag $Name: geant4-08-01-patch-01 $ 29 // 30 27 // $Id: G4UIterminal.cc,v 1.27 2007/10/29 18:49:45 asaim Exp $ 28 // GEANT4 tag $Name: $ 29 // 30 // ==================================================================== 31 // G4UIterminal.cc 32 // 33 // ==================================================================== 31 34 #include "G4Types.hh" 32 35 #include "G4StateManager.hh" … … 38 41 #include <sstream> 39 42 40 41 ////////////////////////////////////////////// 42 G4UIterminal::G4UIterminal(G4VUIshell* aShell) 43 ////////////////////////////////////////////// 43 #ifndef WIN32 44 #include <signal.h> 45 #endif 46 47 // ==================================================================== 48 // signal handler for soft-abort 49 // ==================================================================== 50 51 static G4VUIshell* theshell= 0; 52 53 #ifndef WIN32 54 55 extern "C" { 56 57 //////////////////////////////// 58 static void SignalHandler(G4int) 59 //////////////////////////////// 60 { 61 G4StateManager* stateManager= G4StateManager::GetStateManager(); 62 G4ApplicationState state= stateManager-> GetCurrentState(); 63 64 if(state==G4State_GeomClosed || state==G4State_EventProc) { 65 G4cout << "aborting Run ..."; 66 G4UImanager::GetUIpointer()->ApplyCommand("/run/abort"); 67 G4cout << G4endl; 68 } else { 69 G4cout << G4endl 70 << "Session terminated." << G4endl; 71 theshell-> ResetTerminal(); 72 exit(0); 73 } 74 75 // for original Unix / System V 76 signal(SIGINT, SignalHandler); 77 } 78 79 } 80 #endif 81 82 // ==================================================================== 83 // 84 // class description 85 // 86 // ==================================================================== 87 88 /////////////////////////////////////////////////////////// 89 G4UIterminal::G4UIterminal(G4VUIshell* aShell, G4bool qsig) 90 /////////////////////////////////////////////////////////// 44 91 { 45 92 UI= G4UImanager::GetUIpointer(); … … 52 99 if(aShell) shell= aShell; 53 100 else shell= new G4UIcsh; 101 theshell= shell; // locally stored for the signal handler 102 103 // add signal handler 104 if(qsig) { 105 #ifndef WIN32 106 signal(SIGINT, SignalHandler); 107 #endif 108 } 54 109 } 55 110 -
trunk/geant4/interfaces/basic/src/G4VUIshell.cc
r483 r593 25 25 // 26 26 // 27 // $Id: G4VUIshell.cc,v 1. 9 2006/06/29 19:09:59 gunterExp $28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $27 // $Id: G4VUIshell.cc,v 1.10 2007/06/14 05:44:58 kmura Exp $ 28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 … … 59 59 } 60 60 61 ///////////////////////////// 61 //////////////////////////////////////////// 62 62 void G4VUIshell::MakePrompt(const char* msg) 63 ///////////////////////////// 63 //////////////////////////////////////////// 64 64 { 65 65 if(promptSetting.length()<=1) { … … 106 106 107 107 108 //////////////////////////////// 109 void G4VUIshell::ResetTerminal() 110 //////////////////////////////// 111 { 112 113 } 114 108 115 // -------------------------------------------------------------------- 109 116 // G4command operations … … 308 315 arrayString.Show(nColumn); 309 316 } 317 -
trunk/geant4/interfaces/common/include/G4Qt.hh
r484 r593 25 25 // 26 26 // 27 // $Id: G4Qt.hh,v 1. 6 2007/05/29 11:10:14$28 // GEANT4 tag $Name: geant4-08-01$27 // $Id: G4Qt.hh,v 1.2 2007/11/08 17:00:09 lgarnier Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // To unify Qt event treatment between … … 38 38 39 39 #include "G4VInteractorManager.hh" 40 41 #include <QtGui/qapplication.h>42 #include <QtGui/qwidget.h>43 #include <QtGui/qmainwindow.h>44 40 45 41 // Class description : -
trunk/geant4/interfaces/common/include/G4VBasicShell.hh
r483 r593 26 26 // 27 27 // $Id: G4VBasicShell.hh,v 1.7 2006/06/29 19:10:03 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 -
trunk/geant4/interfaces/common/include/G4VInteractorManager.hh
r483 r593 26 26 // 27 27 // $Id: G4VInteractorManager.hh,v 1.9 2006/06/29 19:10:08 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G.Barrand -
trunk/geant4/interfaces/common/include/G4Win32.hh
r483 r593 26 26 // 27 27 // $Id: G4Win32.hh,v 1.8 2006/06/29 19:10:11 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // To unify Windows message treatment between -
trunk/geant4/interfaces/common/include/G4Xt.hh
r483 r593 26 26 // 27 27 // $Id: G4Xt.hh,v 1.6 2006/06/29 19:10:14 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // To unify X11 event treatment between -
trunk/geant4/interfaces/common/src/G4Qt.cc
r578 r593 25 25 // 26 26 // 27 // $Id: G4Qt.cc,v 1. 11 2007/05/29 11:10:28$28 // GEANT4 tag $Name: geant4-08-01$27 // $Id: G4Qt.cc,v 1.3 2007/11/08 17:00:09 lgarnier Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // L. Garnier … … 38 38 39 39 #include "G4Qt.hh" 40 41 #include <QtGui/QApplication.h> 42 40 43 41 44 #define NewString(str) \ … … 135 138 // return &event; 136 139 printf("*"); 140 return 0; 137 141 } 138 142 /***************************************************************************/ -
trunk/geant4/interfaces/common/src/G4VBasicShell.cc
r571 r593 26 26 // 27 27 // $Id: G4VBasicShell.cc,v 1.12 2006/06/29 19:10:20 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 … … 197 197 std::vector<G4UIcommand*> commands; 198 198 G4int n_commandEntry = aTree->GetCommandEntry(); 199 for( int i_thCommand = 1; i_thCommand <= n_commandEntry; i_thCommand++ ) {199 for( G4int i_thCommand = 1; i_thCommand <= n_commandEntry; i_thCommand++ ) { 200 200 G4UIcommand* cmd = aTree->GetCommand(i_thCommand); 201 201 G4String ss = cmd->GetCommandName(); -
trunk/geant4/interfaces/common/src/G4VInteractorManager.cc
r483 r593 26 26 // 27 27 // $Id: G4VInteractorManager.cc,v 1.13 2006/06/29 19:10:24 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G.Barrand -
trunk/geant4/interfaces/common/src/G4Win32.cc
r483 r593 26 26 // 27 27 // $Id: G4Win32.cc,v 1.9 2006/06/29 19:10:26 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G.Barrand -
trunk/geant4/interfaces/common/src/G4Xt.cc
r483 r593 26 26 // 27 27 // $Id: G4Xt.cc,v 1.11 2006/06/29 19:10:28 gunter Exp $ 28 // GEANT4 tag $Name: geant4-0 8-01-patch-01 $28 // GEANT4 tag $Name: geant4-09-00-ref-01 $ 29 29 // 30 30 // G.Barrand
Note: See TracChangeset
for help on using the changeset viewer.