Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
TYLibraryWidget Class Reference

Widget pour lister les elements de la bibilotheque. More...

#include <TYLibraryWidget.h>

Inheritance diagram for TYLibraryWidget:
Inheritance graph
[legend]
Collaboration diagram for TYLibraryWidget:
Collaboration graph
[legend]

Signals

void highlighted (const QString &)
 

Public Member Functions

 TYLibraryWidget (int filter, QWidget *parent=0, const char *name=0, Qt::WindowFlags f=QFlag(0))
 
virtual ~TYLibraryWidget ()
 
const QList< QString > & getSelectedEltsList () const
 
const QList< QString > & getEltsList () const
 
const QString getCurrentDir () const
 

Protected Slots

void updateFrame ()
 
void updateHighlight (const QString &)
 
void updateCategory (const QString &)
 

Protected Member Functions

void filtering (const QDir &dir, int filter=eSiteFilter)
 
void keyPressEvent (QKeyEvent *e)
 

Protected Attributes

QLabel * _pCategoryCurrentLabel
 
QComboBox * _pCategoryChoiceListBox
 
QListWidget * _pElementChoiceListBox
 
QList< QString > _selectedEltsList
 La liste des elements selectionnes. More...
 
QList< QString > _eltsList
 La liste des elements de la liste. More...
 
QString _rootDir
 
QString _currentDir
 
int _currentFilter
 
bool _isFiltering
 

Detailed Description

Widget pour lister les elements de la bibilotheque.

Definition at line 67 of file TYLibraryWidget.h.

Constructor & Destructor Documentation

◆ TYLibraryWidget()

TYLibraryWidget::TYLibraryWidget ( int  filter,
QWidget *  parent = 0,
const char *  name = 0,
Qt::WindowFlags  f = QFlag(0) 
)

Constructeur.

Definition at line 38 of file TYLibraryWidget.cpp.

Here is the call graph for this function:

◆ ~TYLibraryWidget()

TYLibraryWidget::~TYLibraryWidget ( )
virtual

Destructeur.

Definition at line 96 of file TYLibraryWidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ filtering()

void TYLibraryWidget::filtering ( const QDir &  dir,
int  filter = eSiteFilter 
)
protected

Filtre les fichiers a afficher

Definition at line 166 of file TYLibraryWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCurrentDir()

const QString TYLibraryWidget::getCurrentDir ( ) const

Definition at line 117 of file TYLibraryWidget.cpp.

Here is the caller graph for this function:

◆ getEltsList()

const QList< QString > & TYLibraryWidget::getEltsList ( ) const

Retourn la liste des elements

Definition at line 112 of file TYLibraryWidget.cpp.

Here is the caller graph for this function:

◆ getSelectedEltsList()

const QList< QString > & TYLibraryWidget::getSelectedEltsList ( ) const

Retourne la liste des elements selectionne

Definition at line 107 of file TYLibraryWidget.cpp.

Here is the caller graph for this function:

◆ highlighted

void TYLibraryWidget::highlighted ( const QString &  )
signal
Here is the caller graph for this function:

◆ keyPressEvent()

void TYLibraryWidget::keyPressEvent ( QKeyEvent *  e)
protected

Gestion des touches

  • Delete : Suppression des elements selectionne

Definition at line 386 of file TYLibraryWidget.cpp.

Here is the call graph for this function:

◆ updateCategory

void TYLibraryWidget::updateCategory ( const QString &  str)
protectedslot

Definition at line 156 of file TYLibraryWidget.cpp.

Here is the call graph for this function:

◆ updateFrame

void TYLibraryWidget::updateFrame ( )
protectedslot

Definition at line 122 of file TYLibraryWidget.cpp.

Here is the caller graph for this function:

◆ updateHighlight

void TYLibraryWidget::updateHighlight ( const QString &  str)
protectedslot

Definition at line 144 of file TYLibraryWidget.cpp.

Member Data Documentation

◆ _currentDir

QString TYLibraryWidget::_currentDir
protected

Definition at line 134 of file TYLibraryWidget.h.

◆ _currentFilter

int TYLibraryWidget::_currentFilter
protected

Definition at line 137 of file TYLibraryWidget.h.

◆ _eltsList

QList<QString> TYLibraryWidget::_eltsList
protected

La liste des elements de la liste.

Definition at line 128 of file TYLibraryWidget.h.

◆ _isFiltering

bool TYLibraryWidget::_isFiltering
protected

Definition at line 140 of file TYLibraryWidget.h.

◆ _pCategoryChoiceListBox

QComboBox* TYLibraryWidget::_pCategoryChoiceListBox
protected

Definition at line 119 of file TYLibraryWidget.h.

◆ _pCategoryCurrentLabel

QLabel* TYLibraryWidget::_pCategoryCurrentLabel
protected

Definition at line 116 of file TYLibraryWidget.h.

◆ _pElementChoiceListBox

QListWidget* TYLibraryWidget::_pElementChoiceListBox
protected

Definition at line 122 of file TYLibraryWidget.h.

◆ _rootDir

QString TYLibraryWidget::_rootDir
protected

Definition at line 131 of file TYLibraryWidget.h.

◆ _selectedEltsList

QList<QString> TYLibraryWidget::_selectedEltsList
protected

La liste des elements selectionnes.

Definition at line 125 of file TYLibraryWidget.h.


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