#include <libraryitem.h>
Public Types | |
| enum | Type { lit_flowpart, lit_component, lit_mechanical, lit_drawpart, lit_subcircuit, lit_other } |
Public Member Functions | |
| ~LibraryItem () | |
| LibraryItem (QStringList idList, const QString &name, const QString &category, QPixmap icon, Type type, createItemPtr createItem) | |
| LibraryItem (QStringList idList, const QString &name, const QString &category, const QString &iconName, Type type, createItemPtr createItem) | |
| LibraryItem (QStringList idList, const QString &name, const QString &category, Type type, createItemPtr createItem) | |
| QString | activeID () const |
| QStringList | allIDs () const |
| QString | name () const |
| QString | category () const |
| QPixmap | iconFull () const |
| QPixmap | icon16 () const |
| createItemPtr | createItemFnPtr () const |
| int | type () const |
Protected Member Functions | |
| void | createIcon16 () |
This holds details of an item - id, name, category it is displayed in in its respective item selector, icon, function pointers to creating the item, etc. Normally each item will only pass one id, but some items have had their IDs changed during the history of ktl, so passing a stringlist will take the first ID as the "active" id, and the rest as IDs that will also be recognized, but never displayed to the user.
Definition at line 28 of file libraryitem.h.
1.5.1