mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-12 19:36:10 -05:00
Add a parent pointer to TimeDeltaDelegate, HMSDelegate and DMSDelegate
This commit is contained in:
parent
3849b1806f
commit
2fff671a33
@ -66,6 +66,9 @@
|
||||
class TimeDeltaDelegate : public QStyledItemDelegate {
|
||||
|
||||
public:
|
||||
TimeDeltaDelegate(QObject *parent = nullptr) :
|
||||
QStyledItemDelegate(parent) {}
|
||||
|
||||
virtual QString displayText(const QVariant &value, const QLocale &locale) const override
|
||||
{
|
||||
(void) locale;
|
||||
@ -97,6 +100,9 @@ private:
|
||||
class HMSDelegate : public QStyledItemDelegate {
|
||||
|
||||
public:
|
||||
HMSDelegate(QObject *parent = nullptr) :
|
||||
QStyledItemDelegate(parent) {}
|
||||
|
||||
virtual QString displayText(const QVariant &value, const QLocale &locale) const override
|
||||
{
|
||||
(void) locale;
|
||||
@ -109,6 +115,9 @@ public:
|
||||
class DMSDelegate : public QStyledItemDelegate {
|
||||
|
||||
public:
|
||||
DMSDelegate(QObject *parent = nullptr) :
|
||||
QStyledItemDelegate(parent) {}
|
||||
|
||||
virtual QString displayText(const QVariant &value, const QLocale &locale) const override
|
||||
{
|
||||
(void) locale;
|
||||
|
Loading…
Reference in New Issue
Block a user