mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use int as category value type
This commit is contained in:
parent
e8c5a43e1a
commit
f5db37fcf7
@ -639,7 +639,7 @@ void RimLegendConfig::setCategoryColors(const std::vector<cvf::Color3ub>& catego
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QString RimLegendConfig::categoryNameFromCategoryValue(size_t categoryValue) const
|
QString RimLegendConfig::categoryNameFromCategoryValue(int categoryValue) const
|
||||||
{
|
{
|
||||||
if (m_categoryNames.size() > 0)
|
if (m_categoryNames.size() > 0)
|
||||||
{
|
{
|
||||||
|
@ -110,7 +110,7 @@ public:
|
|||||||
void setNamedCategoriesInverse(const std::vector<QString>& categoryNames);
|
void setNamedCategoriesInverse(const std::vector<QString>& categoryNames);
|
||||||
void setNamedCategories(const std::vector<QString>& categoryNames);
|
void setNamedCategories(const std::vector<QString>& categoryNames);
|
||||||
void setCategoryColors(const std::vector<cvf::Color3ub>& categoryColors);
|
void setCategoryColors(const std::vector<cvf::Color3ub>& categoryColors);
|
||||||
QString categoryNameFromCategoryValue(size_t categoryValue) const;
|
QString categoryNameFromCategoryValue(int categoryValue) const;
|
||||||
|
|
||||||
void setTitle(const cvf::String& title);
|
void setTitle(const cvf::String& title);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user