mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
31 lines
607 B
C++
31 lines
607 B
C++
#ifndef ELEMENTS_CATEGORIES_LIST_H
|
|
#define ELEMENTS_CATEGORIES_LIST_H
|
|
#include <QtGui>
|
|
/**
|
|
Cette classe fournit une liste graphique des categories d'elements de
|
|
l'utilisateur.
|
|
*/
|
|
class ElementsCategoriesList : public QTreeWidget {
|
|
Q_OBJECT
|
|
// Constructeur, destructeur
|
|
public:
|
|
ElementsCategoriesList(QWidget * = 0);
|
|
~ElementsCategoriesList();
|
|
|
|
// attributs
|
|
|
|
|
|
// methodes
|
|
private:
|
|
void addDir(QTreeWidgetItem *, QString, QString = QString());
|
|
QString categoryName(QDir &);
|
|
|
|
public:
|
|
QString selectedCategoryPath();
|
|
QString selectedCategoryName();
|
|
|
|
public slots:
|
|
void reload();
|
|
};
|
|
#endif
|