#include <SymbolTreeFilter.h>
|
Methods related with tool behavior.
|
virtual bool | eventFilter (QObject *watched, QEvent *e) |
| Filters events if this object has been installed as an event filter for the watched object. More...
|
|
virtual bool | drag (QDragEnterEvent *e) |
| This event handler can be reimplemented in a concrete tool class to receive mouse press events for the watched object. More...
|
|
virtual bool | drop (QDropEvent *e) |
| This event handler can be reimplemented in a concrete tool class to receive mouse press events for the watched object. More...
|
|
void | drag () |
|
void | drop () |
|
Definition at line 43 of file SymbolTreeFilter.h.
◆ SymbolTreeFilter()
te::qt::widgets::SymbolTreeFilter::SymbolTreeFilter |
( |
QObject * |
parent = 0 | ) |
|
It constructs a tool associated with the given map display and with the specified cursor.
- Note
- The tool will NOT take the ownership of the given pointers.
-
If the given cursor is different of Qt::BlankCursor, it will be setted on map display.
◆ ~SymbolTreeFilter()
virtual te::qt::widgets::SymbolTreeFilter::~SymbolTreeFilter |
( |
| ) |
|
|
virtual |
◆ drag [1/2]
void te::qt::widgets::SymbolTreeFilter::drag |
( |
| ) |
|
|
signal |
◆ drag() [2/2]
virtual bool te::qt::widgets::SymbolTreeFilter::drag |
( |
QDragEnterEvent * |
e | ) |
|
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse press events for the watched object.
- Parameters
-
- Returns
- If you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
◆ drop [1/2]
void te::qt::widgets::SymbolTreeFilter::drop |
( |
| ) |
|
|
signal |
◆ drop() [2/2]
virtual bool te::qt::widgets::SymbolTreeFilter::drop |
( |
QDropEvent * |
e | ) |
|
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse press events for the watched object.
- Parameters
-
- Returns
- If you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
◆ eventFilter()
virtual bool te::qt::widgets::SymbolTreeFilter::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
e |
|
) |
| |
|
virtual |
Filters events if this object has been installed as an event filter for the watched object.
- Parameters
-
watched | The watched object. |
event | The last event sent to watched object. |
- Note
- In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
-
Here, the default implementation looks for QMouseEvents and call the pure virutal methods defined on AbstractTool class, e.g. mousePressEvent().
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/se/SymbolTreeFilter.h