anatomist  5.1.2
3D neuroimaging data viewer
QAWindowFactory Class Reference

Specialized AWindowFactory storing Qt specific information about windows (QPixmaps, QStrings, ...) More...

#include <anatomist/window/qWinFactory.h>

Inheritance diagram for QAWindowFactory:
Collaboration diagram for QAWindowFactory:

Classes

struct  Descrip
 
struct  PixList
 

Static Public Member Functions

static const std::map< int, PixList > & pixmaps ()
 
static const std::map< int, Descrip > & description ()
 
static const PixListpixmaps (int type)
 
static const PixListpixmaps (const std::string &type)
 
static const Descripdescription (int type)
 
static const Descripdescription (const std::string &type)
 
static void setPixmaps (int type, const PixList &pix)
 
static void setPixmaps (const std::string &type, const PixList &pix)
 
static void loadDefaultPixmaps (int type)
 
static void loadDefaultPixmaps (const std::string &type)
 
static void setDescription (int type, const Descrip &des)
 
static void setDescription (const std::string &type, const Descrip &des)
 
- Static Public Member Functions inherited from anatomist::AWindowFactory
static AWindowcreateWindow (const std::string &type, void *dock=0, carto::Object params=carto::none())
 
static AWindowcreateWindow (int type, void *dock=0, carto::Object params=carto::none())
 
static bool initTypes ()
 
static std::string typeString (int type, int subtype=0)
 
static int typeID (const std::string &type)
 
static bool exist (int type)
 
static bool exist (const std::string &type)
 
static int registerType (const std::string &type, WinCreator creator, bool visibleinCtrlWin=false)
 
static int registerType (const std::string &type, AWindowCreator *c, bool visibleinCtrlWin=false)
 
static void unregisterType (const std::string &type)
 
static std::set< std::string > types ()
 
static const std::map< std::string, int > & typeID ()
 
static const std::map< int, std::string > & typeNames ()
 
static const std::map< int, carto::rc_ptr< AWindowCreator > > & creators ()
 
static bool hasControlWindowButton (int type)
 
static void setHasControlWindowButton (int type, bool visible)
 

Static Protected Attributes

static std::map< int, PixList_pixmaps
 
static std::map< int, Descrip_description
 
- Static Protected Attributes inherited from anatomist::AWindowFactory
static std::map< int, std::string > TypeNames
 
static std::map< std::string, int > TypeID
 
static std::map< int, carto::rc_ptr< AWindowCreator > > Creators
 
static std::set< int > CtrlWinVisibleTypes
 

Additional Inherited Members

- Public Types inherited from anatomist::AWindowFactory
typedef AWindow *(* WinCreator) (void *dock, carto::Object)
 
- Static Protected Member Functions inherited from anatomist::AWindowFactory
static AWindowcreateAxial (void *, carto::Object)
 
static AWindowcreateSagittal (void *, carto::Object)
 
static AWindowcreateCoronal (void *, carto::Object)
 
static AWindowcreate3D (void *, carto::Object)
 
static void applyCommonOptions (AWindow *win, carto::Object params)
 

Detailed Description

Specialized AWindowFactory storing Qt specific information about windows (QPixmaps, QStrings, ...)

Definition at line 47 of file qWinFactory.h.

Member Function Documentation

◆ description() [1/3]

static const std::map<int, Descrip>& QAWindowFactory::description ( )
inlinestatic

Definition at line 77 of file qWinFactory.h.

References _description.

◆ description() [2/3]

static const Descrip& QAWindowFactory::description ( const std::string &  type)
inlinestatic

Definition at line 84 of file qWinFactory.h.

References _description, and anatomist::AWindowFactory::typeID().

◆ description() [3/3]

static const Descrip& QAWindowFactory::description ( int  type)
inlinestatic

Definition at line 82 of file qWinFactory.h.

References _description.

◆ loadDefaultPixmaps() [1/2]

static void QAWindowFactory::loadDefaultPixmaps ( const std::string &  type)
inlinestatic

Definition at line 91 of file qWinFactory.h.

References loadDefaultPixmaps(), and anatomist::AWindowFactory::typeID().

◆ loadDefaultPixmaps() [2/2]

static void QAWindowFactory::loadDefaultPixmaps ( int  type)
static

Referenced by loadDefaultPixmaps().

◆ pixmaps() [1/3]

static const std::map<int, PixList>& QAWindowFactory::pixmaps ( )
inlinestatic

Definition at line 76 of file qWinFactory.h.

References _pixmaps.

◆ pixmaps() [2/3]

static const PixList& QAWindowFactory::pixmaps ( const std::string &  type)
inlinestatic

Definition at line 80 of file qWinFactory.h.

References _pixmaps, and anatomist::AWindowFactory::typeID().

◆ pixmaps() [3/3]

static const PixList& QAWindowFactory::pixmaps ( int  type)
inlinestatic

Definition at line 79 of file qWinFactory.h.

References _pixmaps.

◆ setDescription() [1/2]

static void QAWindowFactory::setDescription ( const std::string &  type,
const Descrip des 
)
inlinestatic

Definition at line 95 of file qWinFactory.h.

References _description, and anatomist::AWindowFactory::typeID().

◆ setDescription() [2/2]

static void QAWindowFactory::setDescription ( int  type,
const Descrip des 
)
inlinestatic

Definition at line 93 of file qWinFactory.h.

References _description.

◆ setPixmaps() [1/2]

static void QAWindowFactory::setPixmaps ( const std::string &  type,
const PixList pix 
)
inlinestatic

Definition at line 88 of file qWinFactory.h.

References _pixmaps, and anatomist::AWindowFactory::typeID().

◆ setPixmaps() [2/2]

static void QAWindowFactory::setPixmaps ( int  type,
const PixList pix 
)
inlinestatic

Definition at line 86 of file qWinFactory.h.

References _pixmaps.

Member Data Documentation

◆ _description

std::map<int, Descrip> QAWindowFactory::_description
staticprotected

Definition at line 100 of file qWinFactory.h.

Referenced by description(), and setDescription().

◆ _pixmaps

std::map<int, PixList> QAWindowFactory::_pixmaps
staticprotected

Definition at line 99 of file qWinFactory.h.

Referenced by pixmaps(), and setPixmaps().


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