LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CategoryListEditorWidget< ElementType > Class Template Referencefinal

The CategoryListEditorWidget class. More...

#include <categorylisteditorwidget.h>

+ Inheritance diagram for CategoryListEditorWidget< ElementType >:
+ Collaboration diagram for CategoryListEditorWidget< ElementType >:

Public Member Functions

 CategoryListEditorWidget ()=delete
 
 CategoryListEditorWidget (const workspace::Workspace &ws, QWidget *parent=nullptr) noexcept
 
 CategoryListEditorWidget (const CategoryListEditorWidget &other)=delete
 
 ~CategoryListEditorWidget () noexcept
 
CategoryListEditorWidgetoperator= (const CategoryListEditorWidget &rhs)=delete
 
- Public Member Functions inherited from CategoryListEditorWidgetBase
 CategoryListEditorWidgetBase ()=delete
 
 CategoryListEditorWidgetBase (const workspace::Workspace &ws, QWidget *parent=nullptr) noexcept
 
 CategoryListEditorWidgetBase (const CategoryListEditorWidgetBase &other)=delete
 
virtual ~CategoryListEditorWidgetBase () noexcept
 
const QSet< Uuid > & getUuids () const noexcept
 
void setRequiresMinimumOneEntry (bool v) noexcept
 
void setUuids (const QSet< Uuid > &uuids) noexcept
 
void openAddCategoryDialog () noexcept
 
CategoryListEditorWidgetBaseoperator= (const CategoryListEditorWidgetBase &rhs)=delete
 

Private Member Functions

tl::optional< UuidchooseCategoryWithDialog () noexceptoverride
 
FilePath getLatestCategory (const Uuid &category) const override
 
QList< UuidgetCategoryParents (const Uuid &category) const override
 
QString getCategoryName (const FilePath &fp) const override
 
template<>
FilePath getLatestCategory (const Uuid &category) const
 
template<>
FilePath getLatestCategory (const Uuid &category) const
 
template<>
QList< UuidgetCategoryParents (const Uuid &category) const
 
template<>
QList< UuidgetCategoryParents (const Uuid &category) const
 

Additional Inherited Members

- Signals inherited from CategoryListEditorWidgetBase
void edited ()
 
void categoryAdded (const Uuid &category)
 
void categoryRemoved (const Uuid &category)
 
- Protected Attributes inherited from CategoryListEditorWidgetBase
const workspace::WorkspacemWorkspace
 
QScopedPointer
< Ui::CategoryListEditorWidget > 
mUi
 
bool mRequiresMinimumOneEntry
 
QSet< UuidmUuids
 

Detailed Description

template<typename ElementType>
class librepcb::library::editor::CategoryListEditorWidget< ElementType >

The CategoryListEditorWidget class.

Author
ubruhin
Date
2016-10-29

Constructor & Destructor Documentation

CategoryListEditorWidget ( const workspace::Workspace ws,
QWidget *  parent = nullptr 
)
explicitnoexcept
CategoryListEditorWidget ( const CategoryListEditorWidget< ElementType > &  other)
delete
~CategoryListEditorWidget ( )
noexcept

Member Function Documentation

CategoryListEditorWidget& operator= ( const CategoryListEditorWidget< ElementType > &  rhs)
delete
tl::optional< Uuid > chooseCategoryWithDialog ( )
overrideprivatevirtualnoexcept

Implements CategoryListEditorWidgetBase.

+ Here is the call graph for this function:

FilePath getLatestCategory ( const Uuid category) const
overrideprivatevirtual
QList<Uuid> getCategoryParents ( const Uuid category) const
overrideprivatevirtual
QString getCategoryName ( const FilePath fp) const
overrideprivatevirtual
FilePath getLatestCategory ( const Uuid category) const
privatevirtual
FilePath getLatestCategory ( const Uuid category) const
privatevirtual
QList< Uuid > getCategoryParents ( const Uuid category) const
privatevirtual
QList< Uuid > getCategoryParents ( const Uuid category) const
privatevirtual

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