PanelSideBar Class Reference
Generic class for drawing sidebar anchors at the side of the screen.
More...
#include "ui/panelsidebar.h"
List of all members.
Public Slots |
void | resizeSideBar (const QSize &size) |
| Slot to redraw the side bar after window resize event.
|
Public Member Functions |
| PanelSideBar (QWidget *parent=0, Side side=LEFT) |
| Constructor.
|
Protected Member Functions |
void | paintEvent (QPaintEvent *) |
| Draws stylesheet used in this class.
|
Private Attributes |
QPixmap | m_menuDropShadowTile |
| Pixmap for menu drop shadow.
|
QPixmap | m_panelMiddleTile |
| Pixmap for side bar middle tile.
|
QPixmap | m_panelTile |
| Pixmap for side bar tile.
|
QRect | topRect |
| Rect for side bar top.
|
QRect | middleRect |
| Rect for side bar middle.
|
QRect | bottomRect |
| Rect for side bar bottom.
|
Detailed Description
Generic class for drawing sidebar anchors at the side of the screen.
- Author:
- Kaj Wallin - kaj.wallin (at) ixonos.com
-
Pekka Nissinen - pekka.nissinen@ixonos.com
Constructor & Destructor Documentation
PanelSideBar::PanelSideBar |
( |
QWidget * |
parent = 0 , |
|
|
Side |
side = LEFT | |
|
) |
| | |
Constructor.
- Parameters:
-
| parent | Parent |
| side | Qstring for the sidebar location. Accepts "left" and "right" |
Member Function Documentation
void PanelSideBar::paintEvent |
( |
QPaintEvent * |
|
) |
[protected] |
Draws stylesheet used in this class.
- Parameters:
-
void PanelSideBar::resizeSideBar |
( |
const QSize & |
size |
) |
[slot] |
Slot to redraw the side bar after window resize event.
- Parameters:
-
| size | Size of the new window |
The documentation for this class was generated from the following files: