Hi keifer,

Are you getting errors in layout or you just don't know how to add
widgets into page ?

Qooxdoo has powerful layout system, so I think you can do everything with it.

For example you can do this for mainmenu and horizontal split with
tree and table widgets:

qx.Class.define("custom.Application",
{
  extend : qx.application.Standalone,

  members :
  {
    // [Entry point]
    main: function()
    {
      // [SuperClass]
      this.base(arguments);

      // [Main Container]
      this._container = new qx.ui.container.Composite(
        new qx.ui.layout.VBox().set({
          spacing: 1
        })
      );
      this.getRoot().add(this._container, {edge: 0});

      // [MenuBar]
      this._menuBar = new qx.ui.menubar.MenuBar();
      this._container.add(this._menuBar);

      this._menuBar.add(new qx.ui.menubar.Button("Test"));

      // [SplitPane]
      this._split = new qx.ui.splitpane.Pane();
      this._container.add(this._split, {flex: 1});

      this._left = new qx.ui.container.Composite(
        new qx.ui.layout.VBox()
      );
      this._left.setWidth(200);

      this._right = new qx.ui.container.Composite(
        new qx.ui.layout.VBox()
      );

      this._split.add(this._left, /* flex: */ 0);
      this._split.add(this._right, /* flex: */ 1);

      // [Tree]
      this._tree = new qx.ui.tree.Tree();
      this._tree.setRoot(this.getTreeItems());
      this._left.add(this._tree, {flex: 1});

      // [Table]
      this._model = new qx.ui.table.model.Simple();
      this._model.setColumns(["Column 1", "Column 2"]);
      this._model.setData(this.getTableItems());
      this._table = new qx.ui.table.Table(this._model);
      this._right.add(this._table, {flex: 1});
    },

    getTreeItems: function()
    {
      var root = new qx.ui.tree.TreeFolder("Root");

      for (var i = 0; i < 28; i++)
      {
        root.add(new qx.ui.tree.TreeFolder(String.fromCharCode(65 + i)));
      }

      return root;
    },

    getTableItems: function()
    {
      var items = []

      for (var i = 0; i < 100; i++)
      {
        items.push(["Data " + i, "Value " + i]);
      }

      return items;
    }

  }
});

Cheers and welcome to qooxdoo:)
- Petr

2008/8/31 kiefer35 <[EMAIL PROTECTED]>:
>
> I've downloaded qooxdoo for few hours and I've some difficulties to start.
> I would like to create an application with a menubar on the top and a three
> panes mainwindow :
> The main window is divided in a pane vertical in the left for a treeview, 2
> horizontal panes on the right : the top one with a grid (or listview) and
> the bottom one whith tabpages to show details of the selected item in the
> grid.
>
> I've troubles with how to manage all the components.
>
> I'm able to create a menubar allone, a vertical splitwindow allone but not
> to mix all these.
>
> Where can I found some practical examples.
>
> Thanks for your help.
> --
> View this message in context: 
> http://www.nabble.com/How-to-learn-using-qooxdoo-tp19235360p19235360.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to