Back to index

salome-gui  6.5.0
Signals | Public Member Functions | Protected Member Functions
SalomeApp_EditBox Class Reference

#include <SalomeApp_ListView.h>

List of all members.

Signals

void escapePressed ()

Public Member Functions

 SalomeApp_EditBox (QWidget *parent)
 Constructor.

Protected Member Functions

void keyPressEvent (QKeyEvent *e)
 Event filter for key pressing.

Detailed Description

Definition at line 128 of file SalomeApp_ListView.h.


Constructor & Destructor Documentation

SalomeApp_EditBox::SalomeApp_EditBox ( QWidget *  parent)

Constructor.

Definition at line 927 of file SalomeApp_ListView.cxx.

                                                    :
QLineEdit(parent)
{
}

Member Function Documentation

Here is the caller graph for this function:

void SalomeApp_EditBox::keyPressEvent ( QKeyEvent *  e) [protected]

Event filter for key pressing.

Definition at line 935 of file SalomeApp_ListView.cxx.

{
  if ( e->key() == Qt::Key_Escape )
    emit escapePressed();
  else
    QLineEdit::keyPressEvent( e );
  e->accept();
}

Here is the call graph for this function:


The documentation for this class was generated from the following files: