QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RBlockListQt Class Reference

Block list widget class (QWidget). More...

Inheritance diagram for RBlockListQt:
RListWidget

List of all members.

Public Member Functions

void blockActivated ()
 Called when a block name is activated (clicked, highlighted) in the block list.
void clearBlocks ()
 Called when no document is active.
void contextMenuEvent (void e)
void editBlock ()
 Called when the user wants to edit the currently selected block (double click).
void enableActions (void enable)
 Enable / disable buttons that edit, remove or insert the active block.
void iconClickedSlot (void x, void item)
 Called when the user clicks the icon beside the block name to hide all block inserts of that block.
void RBlockListQt (void parent)
void updateBlocks (void documentInterface)
 Called when blocks are addded, edited or deleted.
- Public Member Functions inherited from RListWidget
 RListWidget (QWidget *parent=0)
 Copyright (c) 2011-2014 by Andrew Mustun.
void setIconOffset (int o)
virtual ~RListWidget ()
 Destructor.

Public Attributes

int basePath
int di
int iconSize

Additional Inherited Members

- Signals inherited from RListWidget
void iconClicked (int x, QListWidgetItem *item)
- Protected Member Functions inherited from RListWidget
void contextMenuEvent (QContextMenuEvent *e)
void mouseMoveEvent (QMouseEvent *e)
void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)

Detailed Description

Block list widget class (QWidget).


Constructor & Destructor Documentation

void RBlockListQt::RBlockListQt ( void  parent)
inline

Member Function Documentation

void RBlockListQt::blockActivated ( )
inline

Called when a block name is activated (clicked, highlighted) in the block list.

void RBlockListQt::clearBlocks ( )
inline

Called when no document is active.

Clears the block list.

void RBlockListQt::contextMenuEvent ( void  e)
inline
void RBlockListQt::editBlock ( )
inline

Called when the user wants to edit the currently selected block (double click).

void RBlockListQt::enableActions ( void  enable)
inline

Enable / disable buttons that edit, remove or insert the active block.

void RBlockListQt::iconClickedSlot ( void  x,
void  item 
)
inline

Called when the user clicks the icon beside the block name to hide all block inserts of that block.

void RBlockListQt::updateBlocks ( void  documentInterface)
inline

Called when blocks are addded, edited or deleted.

Updates the block list.


Member Data Documentation

int RBlockListQt::basePath
int RBlockListQt::di
int RBlockListQt::iconSize

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