35 #ifndef ANATOMIST_WINDOW_QWINFACTORY_H 36 #define ANATOMIST_WINDOW_QWINFACTORY_H 55 PixList(
const QPixmap & s,
const QPixmap & l,
const QPixmap & a )
68 Descrip(
const QString & b,
const QString & l )
69 : brief( b ), longer( l ) {}
static const std::map< std::string, int > & typeID()
static const PixList & pixmaps(const std::string &type)
static const Descrip & description(const std::string &type)
QPixmap plarge
Large pixmap (control window toolbar)
QPixmap pactive
Active large pixmap (control window toolbar)
static void setPixmaps(int type, const PixList &pix)
static void loadDefaultPixmaps(const std::string &type)
static void setPixmaps(const std::string &type, const PixList &pix)
static std::map< int, PixList > _pixmaps
static void setDescription(int type, const Descrip &des)
static const std::map< int, Descrip > & description()
Window creator: (string) type -> new window.
static const std::map< int, PixList > & pixmaps()
QString longer
Longer description - a few lines max.
static const PixList & pixmaps(int type)
static const Descrip & description(int type)
QString brief
Brief description - short, in a few words.
static void setDescription(const std::string &type, const Descrip &des)
static std::map< int, Descrip > _description
Specialized AWindowFactory storing Qt specific information about windows (QPixmaps, QStrings, ...)
Descrip(const QString &b, const QString &l)
PixList(const QPixmap &s, const QPixmap &l, const QPixmap &a)
QPixmap psmall
Small pixmap (windows list in control window)
static void loadDefaultPixmaps(int type)