RESOLVED FIXED 75471
[Qt] Add UI for JavaScript Alert dialog in the Qt MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=75471
Summary [Qt] Add UI for JavaScript Alert dialog in the Qt MiniBrowser
Alexander Færøy
Reported 2012-01-03 06:53:05 PST
SSIA.
Attachments
Patch (8.82 KB, patch)
2012-01-03 06:58 PST, Alexander Færøy
no flags
Patch (9.46 KB, patch)
2012-01-03 07:39 PST, Alexander Færøy
no flags
Alexander Færøy
Comment 1 2012-01-03 06:58:15 PST
Alexander Færøy
Comment 2 2012-01-03 06:58:41 PST
Adding Tor Arne.
Tor Arne Vestbø
Comment 3 2012-01-03 07:08:05 PST
Comment on attachment 120941 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=120941&action=review Looks good, but a few comments before landing > Tools/MiniBrowser/qt/qml/Dialog.qml:58 > + clip: true Do we need to clip it? > Tools/MiniBrowser/qt/qml/Dialog.qml:64 > + font.weight: Font.Bold Width, and eliding, so that we don't have to clip? > Tools/MiniBrowser/qt/qml/Dialog.qml:69 > + anchors.centerIn: parent Should this have a width and a wrap mode? > Tools/MiniBrowser/qt/qml/Dialog.qml:76 > + anchors.margins: 10 > + anchors.bottom: staticContent.bottom > + anchors.horizontalCenter: staticContent.horizontalCenter I prefer anchors {} when there are more than one property > Tools/MiniBrowser/qt/qml/DialogButton.qml:37 > + color: "#fbfbfb" color: mouseArea.pressed ? .... > Tools/MiniBrowser/qt/qml/DialogButton.qml:57 > + onPressed: button.color = "#eaeaea" You can remove this and use a binding (above)
Michael Brüning
Comment 4 2012-01-03 07:12:02 PST
I think we should also include the new qml files in the OTHER_FILES section in MiniBrowser.pro ...
Alexander Færøy
Comment 5 2012-01-03 07:39:23 PST
WebKit Review Bot
Comment 6 2012-01-03 08:20:46 PST
Comment on attachment 120944 [details] Patch Clearing flags on attachment: 120944 Committed r103940: <http://trac.webkit.org/changeset/103940>
WebKit Review Bot
Comment 7 2012-01-03 08:20:50 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.