Brief description of class still missing. More...
#include <LayerMouseTracking.h>
Public Member Functions | |
| QCursor * | actionCursor () const |
| void | hideRectangle () |
| int | id () const |
| QCursor * | idleCursor () const |
| bool | isRectangleVisible () const |
| GraphContentLayer * | layer () const |
| LayerMouseTracking (GraphContentLayer *layer) | |
| LayerMouseTracking (const LayerMouseTracking &o) | |
| bool | rectangle () const |
| void | setActionCursor (const QPixmap &pixmap, int hotX=-1, int hotY=-1) |
| void | setActionCursor (Qt::CursorShape shape) |
| void | setId (int i) |
| void | setIdleCursor (const QPixmap &pixmap, int hotX=-1, int hotY=-1) |
| void | setIdleCursor (Qt::CursorShape shape) |
| void | setRectangle (bool r) |
| void | showRectangle () |
| ~LayerMouseTracking () | |
Brief description of class still missing.
Full description of class still missing
Copy constructor
References TRACE.
{
TRACE;
_layer=o._layer;
_rectangle=o._rectangle;
_showRectangle=o._showRectangle;
if(o._idleCursor) {
_idleCursor=new QCursor(*o._idleCursor);
} else {
_idleCursor=0;
}
if(o._actionCursor) {
_actionCursor=new QCursor(*o._actionCursor);
} else {
_actionCursor=0;
}
_id=o._id;
}
| QCursor* SciFigs::LayerMouseTracking::actionCursor | ( | ) | const [inline] |
{return _actionCursor;}
| void SciFigs::LayerMouseTracking::hideRectangle | ( | ) | [inline] |
{_showRectangle=false;}
| int SciFigs::LayerMouseTracking::id | ( | ) | const [inline] |
Referenced by SciFigs::MouseTracking::indexOf().
{return _id;}
| QCursor* SciFigs::LayerMouseTracking::idleCursor | ( | ) | const [inline] |
{return _idleCursor;}
| bool SciFigs::LayerMouseTracking::isRectangleVisible | ( | ) | const [inline] |
{return _showRectangle;}
| GraphContentLayer* SciFigs::LayerMouseTracking::layer | ( | ) | const [inline] |
Referenced by SciFigs::MouseTracking::indexOf(), and LayerMouseTracking().
{return _layer;}
| bool SciFigs::LayerMouseTracking::rectangle | ( | ) | const [inline] |
Referenced by SciFigs::MouseTracking::remove().
{return _rectangle;}
| void SciFigs::LayerMouseTracking::setActionCursor | ( | const QPixmap & | pixmap, |
| int | hotX = -1, |
||
| int | hotY = -1 |
||
| ) | [inline] |
Referenced by SciFigs::GraphContent::browse().
{_actionCursor=new QCursor(pixmap,hotX,hotY);}
| void SciFigs::LayerMouseTracking::setActionCursor | ( | Qt::CursorShape | shape | ) | [inline] |
{_actionCursor=new QCursor(shape);}
| void SciFigs::LayerMouseTracking::setId | ( | int | i | ) | [inline] |
| void SciFigs::LayerMouseTracking::setIdleCursor | ( | const QPixmap & | pixmap, |
| int | hotX = -1, |
||
| int | hotY = -1 |
||
| ) | [inline] |
Referenced by SciFigs::GraphContent::browse(), GeopsyGui::PickLayer::toggleMouseLine(), SciFigs::ImageLayer::toggleTrackingAction(), SciFigs::LineLayer::toggleTrackingAction(), SciFigs::GraphContentLayer::toggleTrackingAction(), and SciFigs::GraphContent::zoom().
{_idleCursor=new QCursor(pixmap,hotX,hotY);}
| void SciFigs::LayerMouseTracking::setIdleCursor | ( | Qt::CursorShape | shape | ) | [inline] |
{_idleCursor=new QCursor(shape);}
| void SciFigs::LayerMouseTracking::setRectangle | ( | bool | r | ) | [inline] |
| void SciFigs::LayerMouseTracking::showRectangle | ( | ) | [inline] |
Referenced by SciFigs::ImageLayer::toggleTrackingAction(), SciFigs::LineLayer::toggleTrackingAction(), SciFigs::GraphContentLayer::toggleTrackingAction(), and SciFigs::GraphContent::zoom().
{_showRectangle=true;}