title: Qt OSX system window close button state
body: <p>Usually, when user modified document the native OSX application draw close button on system window as button with point.
  Which is API in qt I should call for do the same?
  Thank you.</p>