Commit daa9f964 authored by hausmann@webkit.org's avatar hausmann@webkit.org

[Qt] Web inspector UI adjustments specific to the Qt platform:

- Hide the close button
- Hide the dock button
- Disable the draggable toolbar

Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=29384

* inspector/front-end/inspector.css:
* inspector/front-end/inspector.js:
(WebInspector.toolbarDragStart):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fe9f3fda
2009-09-18 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
Reviewed by Simon Hausmann.
[Qt] Web inspector UI adjustments specific to the Qt platform:
- Hide the close button
- Hide the dock button
- Disable the draggable toolbar
https://bugs.webkit.org/show_bug.cgi?id=29384
* inspector/front-end/inspector.css:
* inspector/front-end/inspector.js:
(WebInspector.toolbarDragStart):
2009-09-18 Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed by Simon Hausmann.
......@@ -94,6 +94,10 @@ body.attached #toolbar {
padding-left: 0;
}
body.attached.platform-qt #toolbar {
cursor: auto;
}
body.attached.inactive #toolbar {
border-top: 1px solid rgb(64%, 64%, 64%);
}
......@@ -229,6 +233,10 @@ body.detached .toolbar-item.close {
display: none;
}
body.attached.platform-qt .toolbar-item.close {
display: none;
}
#main {
position: absolute;
z-index: 1;
......@@ -372,6 +380,10 @@ body.detached #dock-status-bar-item .glyph {
-webkit-mask-image: url(Images/dockButtonGlyph.png);
}
body.platform-qt #dock-status-bar-item {
display: none
}
#console-status-bar-item .glyph {
-webkit-mask-image: url(Images/consoleButtonGlyph.png);
}
......
......@@ -784,7 +784,7 @@ WebInspector.toggleAttach = function()
WebInspector.toolbarDragStart = function(event)
{
if (!WebInspector.attached && InspectorController.platform() !== "mac-leopard")
if ((!WebInspector.attached && InspectorController.platform() !== "mac-leopard") || InspectorController.platform() == "qt")
return;
var target = event.target;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment