Drawers contain other widgets and show/hide them as a group
Drawers is best used with a DrawerWindow but can be used as a standalone widget. It has four areas it knows about which dictate how the child widgets are laid out an how the drawer is drawn.
You can specify a particular drawer in a stylesheet by using the name syntax as follows
Drawer#left > DrawerHandle Drawer#right > DrawerHandle Drawer#top > DrawerHandle Drawer#bottom > DrawerHandle
DrawerHandle is the ‘button’/’handle’ of a Drawer and is ment to be used exclusively by a Drawer. It has several properties that are accessible through a stylesheet. They are as follows
qproperty-open_pixmap : url(path) qproperty-closed_pixmap : url(path) qproperty-hover_open_pixmap : url(path) qproperty-hover_closed_pixmap : url(path)
It also includes all properties you can set on a normal QWidget.
type is the name of a C++ type that be passed to QVariant.nameToType(). freset is a function for resetting an attribute to its default value. designable sets the DESIGNABLE flag (the default is True for writable properties and False otherwise). scriptable sets the SCRIPTABLE flag. stored sets the STORED flag. user sets the USER flag. The other parameters are the same as those required by the standard Python property type. Properties defined using pyqtProperty behave as both Python and Qt properties.
type is the name of a C++ type that be passed to QVariant.nameToType(). freset is a function for resetting an attribute to its default value. designable sets the DESIGNABLE flag (the default is True for writable properties and False otherwise). scriptable sets the SCRIPTABLE flag. stored sets the STORED flag. user sets the USER flag. The other parameters are the same as those required by the standard Python property type. Properties defined using pyqtProperty behave as both Python and Qt properties.
type is the name of a C++ type that be passed to QVariant.nameToType(). freset is a function for resetting an attribute to its default value. designable sets the DESIGNABLE flag (the default is True for writable properties and False otherwise). scriptable sets the SCRIPTABLE flag. stored sets the STORED flag. user sets the USER flag. The other parameters are the same as those required by the standard Python property type. Properties defined using pyqtProperty behave as both Python and Qt properties.
type is the name of a C++ type that be passed to QVariant.nameToType(). freset is a function for resetting an attribute to its default value. designable sets the DESIGNABLE flag (the default is True for writable properties and False otherwise). scriptable sets the SCRIPTABLE flag. stored sets the STORED flag. user sets the USER flag. The other parameters are the same as those required by the standard Python property type. Properties defined using pyqtProperty behave as both Python and Qt properties.