How to create a line edit box that has characteristics from two different QObjects?
I would like an edit box for user input that has characteristics from two different QObject classes.
Since multiple inheritance of QObjects is not supported, how can I do this?
I need the QComboBox::lineEditIO function to call setInputMask(), and I need the QPlainTextEdit::setFrameStyle() function to set a nice frame.
I can find a QObject that has both of these features, so how do I create one that does?
The lineEdit() function is not s
Re: How to create a line edit box that has characteristics from two different QObject
Usually if things not already inherited, they can be combined.
setInputMask: http://doc.qt.nokia.com/latest/qline...inputMask-prop , see also setValidator().
For a frame, if initStyleOption() is not enough for you, you can call setFrame(flase) and put your QLineEdit in a QFrame.