title: How to you use operator Int() of QFlags?
body: <p>Documentation: <a href="http://doc.qt.io/qt-5/qflags.html#operator-Int" rel="nofollow noreferrer">http://doc.qt.io/qt-5/qflags.html#operator-Int</a></p>
  
  <p>The question. I want to know what flags are set withouth testing one by one so I want the int number. Can anyone provide an example of how to use that operator in one of the many qt methods that rerturn a QFlags?</p>