Base class for graphs.
More...
#include <graph.h>
Base class for graphs.
Graph base class
Definition at line 80 of file graph.h.
◆ ConstSPtr
Const shared pointer type for Graph class.
Definition at line 86 of file graph.h.
◆ SPtr
Shared pointer type for Graph class.
Definition at line 85 of file graph.h.
◆ Graph()
Graph::Graph |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
The constructor.
- Parameters
-
[in] | parent | The parent widget. |
Definition at line 64 of file graph.cpp.
◆ drawLabels()
void Graph::drawLabels |
( |
qint32 |
p_iContentWidth, |
|
|
qint32 |
p_iContentHeight |
|
) |
| |
|
protected |
Draw the labels.
- Parameters
-
[in] | p_iContentWidth | The contents width. |
[in] | p_iContentHeight | The contents height. |
Definition at line 120 of file graph.cpp.
◆ init()
Init this class.
Definition at line 72 of file graph.cpp.
◆ resizeEvent()
void Graph::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
Reimplemented resizeEvent
- Parameters
-
[in] | event | The resize event. |
Definition at line 166 of file graph.cpp.
◆ setTitle()
void Graph::setTitle |
( |
const QString & |
p_sTitle | ) |
|
Sets the scaled image view title.
- Parameters
-
Definition at line 96 of file graph.cpp.
◆ setXLabel()
void Graph::setXLabel |
( |
const QString & |
p_sXLabel | ) |
|
Sets the label of the y axes
- Parameters
-
[in] | p_sXLabel | The x axes label. |
Definition at line 104 of file graph.cpp.
◆ setYLabel()
void Graph::setYLabel |
( |
const QString & |
p_sYLabel | ) |
|
Sets the label of the y axes
- Parameters
-
[in] | p_sXLabel | The y axes label. |
Definition at line 112 of file graph.cpp.
◆ m_iBorderLeftRight
qint32 DISPLIB::Graph::m_iBorderLeftRight |
|
protected |
distance to left and right.
Definition at line 153 of file graph.h.
◆ m_iBorderTopBottom
qint32 DISPLIB::Graph::m_iBorderTopBottom |
|
protected |
distance to top and bottom.
Definition at line 152 of file graph.h.
◆ m_qFontAxes
QFont DISPLIB::Graph::m_qFontAxes |
|
protected |
Axes font.
Definition at line 157 of file graph.h.
◆ m_qFontTitle
QFont DISPLIB::Graph::m_qFontTitle |
|
protected |
Title font.
Definition at line 149 of file graph.h.
◆ m_qPenAxes
QPen DISPLIB::Graph::m_qPenAxes |
|
protected |
◆ m_qPenTitle
QPen DISPLIB::Graph::m_qPenTitle |
|
protected |
Title pen.
Definition at line 150 of file graph.h.
◆ m_qSizeWidget
QSize DISPLIB::Graph::m_qSizeWidget |
|
protected |
current widget size.
Definition at line 146 of file graph.h.
◆ m_sTitle
QString DISPLIB::Graph::m_sTitle |
|
protected |
◆ m_sXLabel
QString DISPLIB::Graph::m_sXLabel |
|
protected |
X axes label.
Definition at line 155 of file graph.h.
◆ m_sYLabel
QString DISPLIB::Graph::m_sYLabel |
|
protected |
Y axes label.
Definition at line 156 of file graph.h.
The documentation for this class was generated from the following files: