How to show Empty signal notification from combobox or QlineEdit field ?
-
How to show Empty signal notification from combobox or QlineEdit field ?
in Qt how to implement following structure
How it will automatically detect the field is empty or not ?
Thank You
-
When the this screen is launched you need to check the value of either of compobox using currentText function or QlineEdit function text(). There is no automatic way.
-
Hi
You must program that yourself.
You could use style sheet to show red border.
It will not automatically detect anything.
You should check the combos and field when user press ok.
and then color them red if missing inout.You can also use
http://doc.qt.io/qt-5/qlineedit.html#placeholderText-prop
to show text to user before he starts entering data. -
Thanks to all.
i will try all solutions which you explain above.