mkRPG
Public Types | Public Slots | Public Member Functions | Protected Slots | Properties
BDocksZone Class Reference

The BDocksZone class display a BLayout in a QScrollArea. More...

#include <bdockszone.h>

Public Types

enum  ScrollBarMode { AlwaysVisible, Adjustable, Fixed }
 The ScrollBarMode enum describe the way the BDocksZone reacts when a scroll bar is needed. More...

Public Slots

void swap (bool anim=true)

Public Member Functions

 BDocksZone (QWidget *parent=0)
void setUnfold (bool u, bool anim=true)
const BinaryStateMachinestates () const
int length () const
void setLength (int t)
ScrollBarMode scrollBarMode () const
void setScrollBarMode (ScrollBarMode m)
int currentLength () const
void addDock (QString title, BDockWidget *dock)

Protected Slots

void setCurrentLenght (int t)

Properties

int length
int currentLength

Detailed Description

The BDocksZone class display a BLayout in a QScrollArea.

The widget can be hidden or resized.


Member Enumeration Documentation

The ScrollBarMode enum describe the way the BDocksZone reacts when a scroll bar is needed.

Enumerator:
AlwaysVisible 

Always show the scroll bar, even if it is usless

Adjustable 

Show the scroll bar when needed, adaptating the docks length

Fixed 

Show the scroll bar when needed, keeping the docks length fixed


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines