Gui: Add translations for color bar labels
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <sstream>
|
||||
# include <QCoreApplication>
|
||||
# include <Inventor/fields/SoMFString.h>
|
||||
# include <Inventor/nodes/SoBaseColor.h>
|
||||
# include <Inventor/nodes/SoCoordinate3.h>
|
||||
@@ -83,6 +84,11 @@ void SoFCColorGradient::finish()
|
||||
atexit_cleanup();
|
||||
}
|
||||
|
||||
const char* SoFCColorGradient::getColorBarName() const
|
||||
{
|
||||
return QT_TRANSLATE_NOOP("QObject", "Color Gradient");
|
||||
}
|
||||
|
||||
void SoFCColorGradient::setMarkerLabel(const SoMFString& label)
|
||||
{
|
||||
coinRemoveAllChildren(labels);
|
||||
|
||||
Reference in New Issue
Block a user