diff options
author | Deryck Hodge <deryck@samba.org> | 2005-08-29 21:15:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:57 -0500 |
commit | c1909be224a39490fded5c2d74b8d84072972303 (patch) | |
tree | 6f1d8bea0971055bee66a7c5d2ea3cbe9f133baa /swat/desktop | |
parent | c9ace93ce22fed9e1b4e44a853e23bf66cf99184 (diff) | |
download | samba-c1909be224a39490fded5c2d74b8d84072972303.tar.gz samba-c1909be224a39490fded5c2d74b8d84072972303.tar.bz2 samba-c1909be224a39490fded5c2d74b8d84072972303.zip |
r9759: Create some wrappers for QxWidget. This gives us some pre-fabbed
windows, which set size and positioning.
To use:
var myWin = new Window.large("Some Window Title");
var myWin = new Window.standard("Some Window Title");
var myWin = new Window.small("Some Window Title");
You can omit the title if you don't need one. Also,
var myWin = new Window(); will give you the random
positioning and no predetermined sizing.
deryck
(This used to be commit 92d6bb90a64591b13f4d1bec77ebebcd1198914d)
Diffstat (limited to 'swat/desktop')
-rw-r--r-- | swat/desktop/index.esp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/swat/desktop/index.esp b/swat/desktop/index.esp index 71a0a83154..833ed08bba 100644 --- a/swat/desktop/index.esp +++ b/swat/desktop/index.esp @@ -44,7 +44,7 @@ function showMessage(m) function blankW() { - var blank = new Window("SWAT"); + var blank = new Window.standard('SWAT'); w.add(blank); blank.setVisible(true); } @@ -105,7 +105,6 @@ window.application.main = function() } w.add(win); getServerStatus(win); - } window.onresize = function() |