Changeset 1158 for trunk/source/interfaces/common/src
- Timestamp:
- Nov 9, 2009, 6:56:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/common/src/G4Qt.cc
r1155 r1158 38 38 39 39 #include "G4Qt.hh" 40 #include "G4UIQt.hh" 41 #include <qwidget.h> 40 42 41 43 #include <qapplication.h> … … 66 68 instance = new G4Qt(a_argn,a_args,a_class); 67 69 } 70 #ifdef G4DEBUG_INTERFACES_COMMON 71 printf("G4Qt::getInstance :%d\n",instance); 72 #endif 68 73 return instance; 69 74 } … … 143 148 #ifdef G4DEBUG_INTERFACES_COMMON 144 149 if (qApp) { 145 printf("G4Qt::qApp exist \n");150 printf("G4Qt::qApp exist adress:%d\n",this); 146 151 } else { 147 152 printf("G4Qt::qApp not exist\n"); … … 198 203 } 199 204 200 #endif 201 202 203 205 /***************************************************************************/ 206 void G4Qt::SetG4UI ( 207 G4UIQt* ui 208 ) 209 /***************************************************************************/ 210 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 211 { 212 fG4UI = ui; 213 } 214 215 /***************************************************************************/ 216 bool G4Qt::AddTabVisWidget ( 217 QWidget * vis 218 ,QString name 219 ) 220 /***************************************************************************/ 221 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 222 { 223 if (fG4UI) { 224 fG4UI->AddTabVisWidget(vis,name); 225 return true; 226 } 227 return false; 228 } 229 #endif 230 231 232
Note: See TracChangeset
for help on using the changeset viewer.