mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@85 bfdf4180-ca20-0410-9c96-a3a8aa849046
32 lines
669 B
C++
32 lines
669 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
|
|
|
|
// Constructeurs, destructeur
|
|
public:
|
|
ElementsCategoriesList(QWidget * = 0);
|
|
virtual ~ElementsCategoriesList();
|
|
|
|
private:
|
|
ElementsCategoriesList(const ElementsCategoriesList &);
|
|
|
|
// methodes
|
|
public:
|
|
QString selectedCategoryPath();
|
|
QString selectedCategoryName();
|
|
|
|
private:
|
|
void addDir(QTreeWidgetItem *, QString, QString = QString());
|
|
QString categoryName(QDir &);
|
|
|
|
public slots:
|
|
void reload();
|
|
};
|
|
#endif
|