Is there a way to set the dirty dot (as shown in the screenshot) using Qt 4.5/4.6?
Use the QWidget::setModified()