tools that are drawn on the scene instead of displayed as a window
More...
#include <Tool.h>
List of all members.
Public Types |
enum | { Type = UserType + 9
} |
| for enabling dynamic_cast More...
|
Public Member Functions |
| ToolGraphicsItem (Tool *) |
| constructor must have an associated Tool
|
virtual void | select () |
| this item has been selected
|
virtual void | deselect () |
| this item has been deselected
|
int | type () const |
| for enabling dynamic_cast
|
virtual void | visible (bool) |
| show or hide this graphical tool. The graphical tool may choose whether or not to be visible based on other factors.
|
Static Public Member Functions |
static ToolGraphicsItem * | cast (QGraphicsItem *) |
| cast a graphics item to a ToolGraphicsItem
|
Public Attributes |
Tool * | tool |
| main window for this tool
|
Detailed Description
tools that are drawn on the scene instead of displayed as a window
Definition at line 146 of file Tool.h.
Member Enumeration Documentation
for enabling dynamic_cast
- Enumerator:
-
Definition at line 159 of file Tool.h.
Constructor & Destructor Documentation
Tinkercell::ToolGraphicsItem::ToolGraphicsItem |
( |
Tool * |
t | ) |
|
constructor must have an associated Tool
Definition at line 22 of file Tool.cpp.
Member Function Documentation
ToolGraphicsItem * Tinkercell::ToolGraphicsItem::cast |
( |
QGraphicsItem * |
q | ) |
[static] |
void Tinkercell::ToolGraphicsItem::deselect |
( |
| ) |
[virtual] |
this item has been deselected
Definition at line 36 of file Tool.cpp.
void Tinkercell::ToolGraphicsItem::select |
( |
| ) |
[virtual] |
this item has been selected
Definition at line 26 of file Tool.cpp.
int Tinkercell::ToolGraphicsItem::type |
( |
| ) |
const [inline] |
for enabling dynamic_cast
Definition at line 161 of file Tool.h.
void Tinkercell::ToolGraphicsItem::visible |
( |
bool |
b | ) |
[virtual] |
show or hide this graphical tool. The graphical tool may choose whether or not to be visible based on other factors.
Definition at line 106 of file Tool.cpp.
Member Data Documentation
main window for this tool
Definition at line 157 of file Tool.h.
The documentation for this class was generated from the following files: