KUIViewer: Difference between revisions

From KDE UserBase Wiki
(Marked this version for translation)
(Removed i18n bar)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|KUIViewer}}
<languages />
<languages />


Line 25: Line 24:


<!--T:7-->
<!--T:7-->
After starting '''UIViewer''' an almost empty window opens. Click <menuchoice>Open</menuchoice> in the toolbar or use the menu <menuchoice>File -> Open...</menuchoice> to open a user interface file. You can resize the window to see how the layout of the opened user interface adjusts itself.
After starting '''KUIViewer''' an almost empty window opens. Click <menuchoice>Open</menuchoice> in the toolbar or use the menu <menuchoice>File -> Open...</menuchoice> to open a user interface file. You can resize the window to see how the layout of the opened user interface adjusts itself.


<!--T:8-->
<!--T:8-->

Latest revision as of 16:11, 17 January 2011

Other languages:
KUIViewer is a tool to display and check user interface (.ui) files created in Qt Designer.

Features

  • View user interface (.ui) files created in Qt Designer
  • Quickly change the widget style


Setup

KUIViewer usually is not installed by default, so it has to be installed manually. KUIViewer is part of the kdesdk-package.

Once installed you can find it under K-Menu -> Development -> GUI Development -> KUIViewer, or start it with KRunner (Alt+F2) and typing

kuiviewer

.


Using KUIViewer

After starting KUIViewer an almost empty window opens. Click Open in the toolbar or use the menu File -> Open... to open a user interface file. You can resize the window to see how the layout of the opened user interface adjusts itself.

The interfaces can be shown in a variety of different widget styles to ensure that they display correctly in any environment. To change the widget style of the displayed user interface you can use the combobox in the toolbar or use the menu View -> Style. Choose a style to see how the opened user interface looks like with that style.

Note

You cannot edit user interfaces with KUIViewer. For that purpose you should use Qt Designer, there is a tutorial in Techbase: Using Qt Designer.