]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Added signal returnPressed().
authorsan <san@opencascade.com>
Tue, 9 Nov 2010 07:55:21 +0000 (07:55 +0000)
committersan <san@opencascade.com>
Tue, 9 Nov 2010 07:55:21 +0000 (07:55 +0000)
src/Qtx/QtxPathEdit.cxx
src/Qtx/QtxPathEdit.h

index cdd9a24e80c7bbbaeee3cd3362434bcc6b778dfa..3a435a5e32c995b69ab9c53aa0659636ad1530e2 100644 (file)
@@ -257,6 +257,7 @@ void QtxPathEdit::initialize()
   base->addWidget( browse );
 
   connect( browse, SIGNAL( clicked( bool ) ), this, SLOT( onBrowse( bool ) ) );
+  connect( myPath, SIGNAL( returnPressed() ), this, SIGNAL( returnPressed() ) );
   connect( myPath, SIGNAL( textChanged( const QString& ) ), this, SIGNAL( pathChanged( const QString& ) ) );
 
   setFocusProxy( myPath );
index 941be6c2e85b1c1b3b500cbc163674d46b0d23b1..d85312ce7cfaf6d302d8421c1be26704135f2d5d 100644 (file)
@@ -53,6 +53,7 @@ public:
   void              setValidator( QValidator* );
 
 signals:
+  void              returnPressed();
   void              pathChanged( const QString& );
   void              pathSelected( const QString& );