32 : IUAVGadgetConfiguration(classId, parent)
33 , m_recentlyUpdatedColor(QColor(255, 230, 230))
34 , m_manuallyChangedColor(QColor(230, 230, 255))
35 , m_notPresentOnHwColor(QColor(170, 170, 170))
36 , m_recentlyUpdatedTimeout(500)
37 , m_onlyHighlightChangedValues(false)
38 , m_useScientificView(false)
39 , m_showMetaData(false)
40 , m_hideNotPresentOnHw(false)
43 if (qSettings !=
nullptr) {
44 QColor recent = qSettings->value(
"recentlyUpdatedColor").value<QColor>();
45 QColor manual = qSettings->value(
"manuallyChangedColor").value<QColor>();
47 qSettings->value(
"notPresentOnHwColor", QColor(170, 170, 170)).value<QColor>();
48 int timeout = qSettings->value(
"recentlyUpdatedTimeout").toInt();
49 bool highlight = qSettings->value(
"onlyHighlightChangedValues").toBool();
57 m_recentlyUpdatedTimeout = timeout;
68 m->m_recentlyUpdatedTimeout = m_recentlyUpdatedTimeout;
85 qSettings->setValue(
"recentlyUpdatedTimeout", m_recentlyUpdatedTimeout);
QColor m_manuallyChangedColor
bool m_onlyHighlightChangedValues
UAVObjectBrowserConfiguration(QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr)
QColor m_recentlyUpdatedColor
QColor m_notPresentOnHwColor
virtual void saveConfig() const
bool m_hideNotPresentOnHw
IUAVGadgetConfiguration * clone()