Ursa
11th December 2007, 11:28
Hello.
I need a widget like QDateTimeEdit by functionality but a little bit more interesting by design (f.e. like QLCDNumber). I tried to create a new widget based on these classes:
class TLCDDateTimeEdit : public QDateTimeEdit, public QLCDNumber
and get the following message: 'Warning: Class TLCDDateTimeEdit inherits from two QObject subclasses QDateTimeEdit and QLCDNumber. This is not supported!'.
So I wonder if there is any other path to get such a widget?
Thanks in advance. :)
I need a widget like QDateTimeEdit by functionality but a little bit more interesting by design (f.e. like QLCDNumber). I tried to create a new widget based on these classes:
class TLCDDateTimeEdit : public QDateTimeEdit, public QLCDNumber
and get the following message: 'Warning: Class TLCDDateTimeEdit inherits from two QObject subclasses QDateTimeEdit and QLCDNumber. This is not supported!'.
So I wonder if there is any other path to get such a widget?
Thanks in advance. :)