changes to MessageDialog click(StandardButton, ButtonRole) signal/slot

After f212322a6ecb237d5fb53e56c6dafffb87e45f09 there was a warning
about failing to connect QMessageBoxHelper::clicked to this slot.
Also accept() and reject() are not signals so they should not be
called with emit.

Task-number: QTBUG-36988
Change-Id: I1752ec08cbe82cc2bd9ffc9d920c1487bc17fa76
Reviewed-by: Berthold Krevert <berthold.krevert@basyskom.com>
Reviewed-by: Liang Qi <liang.qi@digia.com>
MessageDialog: press escape or titlebar close button to dismiss

QMessageBox is a bit special compared to other dialogs, but we don't
need it to be so special in QtQuick.Dialogs.  Also on OSX, cmd-period
will dismiss the dialog, regardless whether it is a QMessageBox or
the QML implementation.

Task-number: QTBUG-36227
Change-Id: I5dd43080600e9c3774990190bb401291efb8e742
Reviewed-by: Liang Qi <liang.qi@digia.com>
Dialogs: fix compiler warning

StandardButton is a 32-bit type again.

Change-Id: I8aba4150cee169ef837891e9d72a64d48db32346
Reviewed-by: Liang Qi <liang.qi@digia.com>
Avoid warning when maximum size < minimum size

This only happens in intermediate states, where both *minimumHeight*
and *maximumHeight* is supposed to be updated.
However, since the order of the bindings is not know, we might
have intermediate states where minimumHeight > maximumHeight.

In our case minimumHeight was set first to a smaller size than
maximumHeight, this would trigger the height binding, causing it to try
to set its geometry while its minimumHeight and maximumHeight properties
were not in sync.

This also happened when maximumWidth < minimumWidth.

The output was something like this:

qwindowswindow.cpp(1306):QWindowsWindow::setGeometry: Attempt to set a
size (116x190) violating the constraints(0x200 - 16777215x190) on
window ApplicationWindow_QMLTYPE_12_QML_51/''

Change-Id: Ia4f6e340b608bb4cff5a35bc887adc4eea7efbad
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix gray SpinBox background on mac

This is a regression caused by removing the fillrect for SpinBoxStyle
itself.

Change-Id: Ibab509634a12aec591d2d031a0e735d602b388c6
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Fix some typos

Change-Id: Ic2e2060b57b0d74e96d6aad0ceff4679d986a26c
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
MenuBarStyle: Fix metrics, selected appearance

On Windows, this depends on qtbase's
Ia35a73274cc10b3b5a3f55573c92919f99555db0.

Change-Id: If513cefadc052cb1450554f2e6e8af2abac02734
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>