Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, April 2007
toolbar in plugin-designer


Message 1 in thread

Hello QtJambi-Interest

when creating a mainwindow with a toolbar the resulting ui_file.java 
includes the following source

[java]
Rahmenfenster.addToolBar(com.trolltech.qt.core.Qt.ToolBarArea.resolve(0), 
UebersichtToolbar);
[/java]

which causes the mainwindow to display the toolbar in a wrong area. When 
I correct (the ui_file.java) to

[java]
Rahmenfenster.addToolBar(com.trolltech.qt.core.Qt.ToolBarArea.TopToolBarArea, 
UebersichtToolbar);
[/java]

everything works fine.

the corresponding line in the jui file is

[jui]
<property name="orientation" >
     <enum>com.trolltech.qt.core.Qt.Orientation.Horizontal</enum>
</property>
<attribute name="toolBarArea" >
     <enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak" >
   <bool>false</bool>
</attribute>
[/jui]

best greetings
Arne


Message 2 in thread

Arne Stocker skrev:
>
> when creating a mainwindow with a toolbar the resulting ui_file.java 
> includes the following source
>
> [java]
> Rahmenfenster.addToolBar(com.trolltech.qt.core.Qt.ToolBarArea.resolve(0), 
> UebersichtToolbar);
> [/java]

Hi, Arne.

We are working on fixing this bug. Thank you for the report!

-- Eskil