- Timestamp:
- Mar 10, 2008, 4:41:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc
r750 r751 244 244 fButtonApply = new QPushButton( tr( "&Apply" ),buttonBox ); 245 245 fButtonApply->setAutoDefault( TRUE ); 246 fButtonApply->setEnabled(true);246 enabledApplyButton(); 247 247 buttonBoxLayout->addWidget(fButtonApply); 248 248 … … 275 275 276 276 // connect line edit signals 277 connect (fEncoderPath,SIGNAL(textEdited ( const QString&)),fButtonApply,SLOT(setEnabled(true))); 278 connect (fTempFolderPath,SIGNAL(textEdited ( const QString&)),fButtonApply,SLOT(setEnabled(true))); 279 connect (fSaveFileName,SIGNAL(textEdited ( const QString&)),fButtonApply,SLOT(setEnabled(true))); 277 connect (fEncoderPath,SIGNAL(textEdited ( const QString&)),this,SLOT(enabledApplyButton())); 278 connect (fTempFolderPath,SIGNAL(textEdited ( const QString&)),this,SLOT(enabledApplyButton())); 279 connect (fSaveFileName,SIGNAL(textEdited ( const QString&)),this,SLOT(enabledApplyButton())); 280 281 connect (fEncoderPath,SIGNAL(editingFinished ()),this,SLOT(checkAllParameters())); 282 connect (fTempFolderPath,SIGNAL(editingFinished ()),this,SLOT(checkAllParameters())); 283 connect (fSaveFileName,SIGNAL(editingFinished ()),this,SLOT(checkAllParameters())); 280 284 281 285 if (fParentViewer->getEncoderPath() == "") { … … 442 446 } 443 447 444 #endif 448 449 void G4OpenGLQtMovieDialog::enabledApplyButton() { 450 fButtonApply->setEnabled(true); 451 } 452 453 #endif
Note: See TracChangeset
for help on using the changeset viewer.