qt - QCheckBox: how to differentiate between user-induced changes to state and those made programmatically? -


Do I miss something or actually change the status of a QCheckBox without any (ready / built-in) program Is "zero state-critical (integer state)" emitting signal?

The above signal is emitted whether called "zero setcheckstate (QT :: checkstate state)" or user has changed state through state, and there is no "StateAdit" signal with QLineEdit .

Therefore, if there is no ready way to differentiate between QCheckBox's position between programming and user-driven changes, and only one option is "State Edit" or "Zero QObject :: blockSignals ( Bool block) with "negligible subclassing / adding, why should it happen, ie, is it (some kind) incompatibility (in QT)?

    

otherwise connect to

  QAbstractButton :: toggled (bool checked);  

or

  QCheckBox :: state changed (int state);  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -