##// END OF EJS Templates
Some refactoring on PB11 wrappers...
Some refactoring on PB11 wrappers Most sciqlop core wrappers are moved into a dedicated python module. We needs to get rid off sqpapp! All current sciqlop modules should either be stateless or act as real singletons they must not need any app to be used. This will ease testing, wrapping and usage. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1229:6059a4da3f90
r1341:f18e017310bc
Show More
CatalogueTextTreeItem.h
23 lines | 680 B | text/x-c | CLexer
#ifndef SCIQLOP_CATALOGUETEXTTREEITEM_H
#define SCIQLOP_CATALOGUETEXTTREEITEM_H
#include <Catalogue/CatalogueTreeItems/CatalogueAbstractTreeItem.h>
#include <Common/spimpl.h>
class CatalogueTextTreeItem : public CatalogueAbstractTreeItem {
public:
CatalogueTextTreeItem(const QIcon &icon, const QString &text, int type);
QVariant data(int column, int role) const override;
Qt::ItemFlags flags(int column) const override;
QString text() const;
void setEnabled(bool value);
private:
class CatalogueTextTreeItemPrivate;
spimpl::unique_impl_ptr<CatalogueTextTreeItemPrivate> impl;
};
#endif // SCIQLOP_CATALOGUETEXTTREEITEM_H