Ignore:
Timestamp:
Jan 8, 2010, 11:56:51 AM (16 years ago)
Author:
garnier
Message:

update geant4.9.3 tag

Location:
trunk/source/interfaces
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/History

    r1155 r1228  
    1 $Id: History,v 1.116 2009/11/05 14:34:18 lgarnier Exp $
     1$Id: History,v 1.125 2010/01/06 14:13:08 lgarnier Exp $
    22-------------------------------------------------------------------
    33
     
    1818     ----------------------------------------------------------
    1919
    20 =======
     206 January, 2010 L. Garnier
     21 - G4VBasicShell : improvments for command completion
     22 - G4Qt : Add a link to G4UIQt
     23 - G4UIQt : Add tab widgets in order to put Vis in
     24
     2520 November, 2009 K. Murakami (interfaces-V09-02-07)
     26 - G4UIExecutive.hh:  no default arguments of the constructor
     27 - G4UIExecutive.icc: more cleaver way for suppressing compiler warnings
     28
     2920 November, 2009 J. Allison (interfaces-V09-02-06)
     30 - G4UIExecutive.icc: Fixed complier warnings for some cases when more
     31  than one flag is set.
     32
     3319 November, 2009 J. Allison (interfaces-V09-02-05)
     34 - Tagged for the release.
     35
     3618 November, 2009 L. Garnier
     37 - G4UIQt: Add CTRL+A and CTRL+E to move to begin/end of command line
     38
     3917 November, 2009 L. Garnier
     40 - G4VBasicShell: Fix commands strings that match some shorter
     41   commands are trimmed and executed as those shorter commands.
     42
    21435 November, 2009 L. Garnier
    2244 - G4UIQt Fix a problem introduce the 6th October 2009 and cause
  • trunk/source/interfaces/basic/include/G4UIQt.hh

    r1226 r1228  
    2525//
    2626//
    27 // $Id: G4UIQt.hh,v 1.16 2009/02/16 11:40:26 lgarnier Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4UIQt.hh,v 1.17 2010/01/06 14:13:08 lgarnier Exp $
     28// GEANT4 tag $Name: laurent-QtUI_with_tabs_v1 $
    2929//
    3030#ifndef G4UIQt_h
  • trunk/source/interfaces/basic/src/G4UIQt.cc

    r1226 r1228  
    2525//
    2626//
    27 // $Id: G4UIQt.cc,v 1.28 2009/11/05 14:34:18 lgarnier Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4UIQt.cc,v 1.30 2010/01/06 14:13:08 lgarnier Exp $
     28// GEANT4 tag $Name: laurent-QtUI_with_tabs_v1 $
    2929//
    3030// L. Garnier
     
    358358{
    359359
     360 
     361#if QT_VERSION < 0x040000
    360362  QWidget *helpWidget = new QWidget(fHelpTBWidget);
    361  
    362   QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpTBWidget);
    363 #if QT_VERSION < 0x040000
    364363  QHBoxLayout *helpLayout = new QHBoxLayout(helpWidget);
    365364  QVBoxLayout *vLayout = new QVBoxLayout(fHelpTBWidget);
    366   helpLayout->add(new QLabel("Search :",helpWidget));
    367 #else
     365  QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpTBWidget);
     366#else
     367  QWidget *helpWidget = new QWidget();
    368368  QHBoxLayout *helpLayout = new QHBoxLayout();
    369369  QVBoxLayout *vLayout = new QVBoxLayout();
     370  QSplitter *splitter = new QSplitter(Qt::Horizontal);
     371#endif
     372  helpLine = new QLineEdit(fHelpTBWidget);
    370373  helpLayout->addWidget(new QLabel("Search :",helpWidget));
    371 #endif
    372   helpLine = new QLineEdit(fHelpTBWidget);
    373 #if QT_VERSION < 0x040000
    374   helpLayout->add(helpLine);
     374  helpLayout->addWidget(helpLine);
     375#if QT_VERSION < 0x040000
    375376  connect( helpLine, SIGNAL( returnPressed () ), this, SLOT( LookForHelpStringCallback() ) );
    376377#else
    377   helpLayout->addWidget(helpLine);
    378378  connect( helpLine, SIGNAL( editingFinished () ), this, SLOT( LookForHelpStringCallback() ) );
    379379#endif
     
    402402  vLayout->addWidget(helpWidget);
    403403  vLayout->addWidget(splitter,1);
    404 #else
    405   vLayout->addWidget(helpWidget);
    406   vLayout->addWidget(splitter,1);
    407 #endif
    408  
     404#endif
     405 
     406  fHelpTBWidget->setMinimumSize(50,50);
     407  fHelpTBWidget->setSizePolicy (QSizePolicy(QSizePolicy::Minimum,QSizePolicy::Minimum));
    409408  // set the splitter size
    410409#if QT_VERSION >= 0x040000
     
    413412  QValueList<int> list;
    414413#endif
    415   list.append( 400 );
    416   list.append( 400 );
     414  list.append( 50 );
     415  list.append( 50 );
    417416  splitter->setSizes(list);
    418 
     417 
    419418#if QT_VERSION >= 0x040000
    420419  helpWidget->setLayout(helpLayout);
  • trunk/source/interfaces/common/GNUmakefile

    r1166 r1228  
    1 # $Id: GNUmakefile,v 1.4 2009/10/19 07:37:48 lgarnier Exp $
     1# $Id: GNUmakefile,v 1.5 2010/01/06 14:08:20 lgarnier Exp $
    22# -------------------------------------------------------------
    33# GNUmakefile for interfaces/common library.  John Allison, 6/7/98.
  • trunk/source/interfaces/common/include/G4Qt.hh

    r1224 r1228  
    2525//
    2626//
    27 // $Id: G4Qt.hh,v 1.4 2008/11/06 10:06:33 lgarnier Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4Qt.hh,v 1.5 2010/01/06 14:07:34 lgarnier Exp $
     28// GEANT4 tag $Name: laurent-QtUI_with_tabs_v1 $
    2929//
    3030//  To unify Qt event treatment between
  • trunk/source/interfaces/common/src/G4Qt.cc

    r1224 r1228  
    2525//
    2626//
    27 // $Id: G4Qt.cc,v 1.14 2009/10/07 09:12:35 lgarnier Exp $
     27// $Id: G4Qt.cc,v 1.15 2010/01/06 14:07:34 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    131131#else
    132132#ifdef G4DEBUG_INTERFACES_COMMON
    133     printf("G4Qt::G4Qt QAppl \n");
     133      printf("G4Qt::G4Qt QAppl \n");
    134134#endif
    135135      new QApplication (*p_argn, args);
     136#ifdef G4DEBUG_INTERFACES_COMMON
     137        printf("G4Qt::G4Qt 0\n");
     138#endif
    136139#endif
    137140      if(!qApp) {
     
    139142        G4cout        << "G4Qt : Unable to init Qt." << G4endl;
    140143      } else {
     144#ifdef G4DEBUG_INTERFACES_COMMON
     145        printf("G4Qt::G4Qt 1\n");
     146#endif
    141147        QtInited  = TRUE;
    142148        if (a_argn != 0) {
     
    242248
    243249
    244 
Note: See TracChangeset for help on using the changeset viewer.