#include <StringScaleDraw.h>
Definition at line 44 of file StringScaleDraw.h.
◆ StringScaleDraw() [1/2]
te::qt::widgets::StringScaleDraw::StringScaleDraw |
( |
std::set< QString > & |
labels | ) |
|
Constructor.
It constructs a StringScaleDraw.
- Parameters
-
labels | the list of labels as a set of QStrings |
- Note
- It will not take the ownership of the pointers.
◆ StringScaleDraw() [2/2]
te::qt::widgets::StringScaleDraw::StringScaleDraw |
( |
std::set< std::string > & |
labels | ) |
|
Constructor.
It constructs a StringScaleDraw.
- Parameters
-
labels | the list of labels as a set of Strings |
- Note
- It will not take the ownership of the pointers.
◆ ~StringScaleDraw()
te::qt::widgets::StringScaleDraw::~StringScaleDraw |
( |
| ) |
|
◆ getLabels()
std::set< QString > & te::qt::widgets::StringScaleDraw::getLabels |
( |
| ) |
|
It returns the list containing the labels.
- Returns
- The list containing the labels.
◆ label()
virtual QwtText te::qt::widgets::StringScaleDraw::label |
( |
double |
value | ) |
const |
|
virtual |
It returns the label at the given index.
- Parameters
-
new_labels | The new list of labels. |
◆ setLabels()
void te::qt::widgets::StringScaleDraw::setLabels |
( |
std::set< QString > |
new_labels | ) |
|
It sets the list containing the labels.
- Parameters
-
new_labels | The new list of labels. |
◆ m_labels
std::set<QString> te::qt::widgets::StringScaleDraw::m_labels |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/charts/StringScaleDraw.h