Changeset 1252 for trunk/source/interfaces/common/src/G4Qt.cc
- Timestamp:
- May 19, 2010, 5:06:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/common/src/G4Qt.cc
r1248 r1252 38 38 39 39 #include "G4Qt.hh" 40 #include "G4UIQt.hh"40 // #include "G4UIQt.hh" 41 41 #include <qwidget.h> 42 42 … … 76 76 ,char* /*a_class */ 77 77 ) 78 :fG4UI(NULL)78 // :fG4UI(NULL) 79 79 /***************************************************************************/ 80 80 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ … … 207 207 } 208 208 209 / ***************************************************************************/210 void G4Qt::SetG4UI (211 G4UIQt* ui212 )213 / ***************************************************************************/214 / *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/215 {216 #ifdef G4DEBUG_INTERFACES_COMMON217 printf("G4Qt::SetG4UI \n");218 #endif219 fG4UI = ui;220 }221 222 / ***************************************************************************/223 bool G4Qt::AddTabWidget (224 QWidget * vis225 ,QString name226 ,int sizeX227 ,int sizeY228 )229 / ***************************************************************************/230 / *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/231 {232 if (fG4UI != NULL) {233 return fG4UI->AddTabWidget(vis,name,sizeX,sizeY);234 }235 return false;236 }237 #endif 238 239 209 // /***************************************************************************/ 210 // void G4Qt::SetG4UI ( 211 // G4UIQt* ui 212 // ) 213 // /***************************************************************************/ 214 // /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 215 // { 216 // #ifdef G4DEBUG_INTERFACES_COMMON 217 // printf("G4Qt::SetG4UI \n"); 218 // #endif 219 // fG4UI = ui; 220 // } 221 222 // /***************************************************************************/ 223 // bool G4Qt::AddTabWidget ( 224 // QWidget * vis 225 // ,QString name 226 // ,int sizeX 227 // ,int sizeY 228 // ) 229 // /***************************************************************************/ 230 // /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 231 // { 232 // if (fG4UI != NULL) { 233 // // return fG4UI->AddTabWidget(vis,name,sizeX,sizeY); 234 // } 235 // return false; 236 // } 237 #endif 238 239
Note: See TracChangeset
for help on using the changeset viewer.