# Programming Tool

Ian
Reinhart
Geiser

    geiseri@kde.org

2006-06-01
K Desktop Environment
makekdewidgets
1

# makekdewidgets

Builds &Qt; widget plugins from an ini style description file.

    makekdewidgets
    &Qt;-options
    &kde;-options
    file

## Description

`makekdewidgets` builds &Qt; widget plugins from an ini style description file.

## Options

### Arguments:

file

  Input file

### Options:

`-o <file>`

  Output file

`-n <plugin name>`

  Name of the plugin class to generate [WidgetsPlugin]

`-g <group>`

  Default widget group name to display in designer [Custom]

`-p <pixmap dir>`

  Embed pixmaps from a source directory

### Generic options:

`--help`

  Show help about options

`--help-qt`

  Show &Qt; specific options

`--help-kde`

  Show &kde; specific options

`--help-all`

  Show all options

`--author`

  Show author information

`-v, --version`

  Show version information

`--license`

  Show license information

### &kde; Options:

`--caption <caption>`

  Use 'caption' as name in the titlebar

`--icon <icon>`

  Use 'icon' as the application icon

`--miniicon <icon>`

  Use 'icon' as the application icon

`--config <filename>`

  Use alternative configuration file

`--dcopserver <server>`

  Use the &DCOP; server specified by 'server'

`--nocrashhandler`

  Disable crash handler to get core dumps

`--waitforwm`

  Waits for a WM_NET compatible windowmanager

`--style <style>`

  Sets the application &GUI; style

`--geometry <geometry>`

  Sets the client geometry of the main widget - see man X for the argument format

### &Qt; options:

`--display <displayname>`

  Use the X-server display 'displayname'

`--session <sessionId>`

  Restore the application for the given 'sessionId'

`--cmap`

  Causes the application to install a private color map on an 8-bit display

`--ncols <count>`

  Limits the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification

`--nograb`

  Tells &Qt; to never grab the mouse or the keyboard

`--sync`

  Switches to synchronous mode for debugging

`--fn, --font <fontname>`

  Defines the application font

`--bg, --background <color>`

  Sets the default background color and an application palette (light and dark shades are calculated)

`--fg, --foreground <color>`

  Sets the default foreground color

`--btn, --button <color>`

  Sets the default button color

`--name <name>`

  Sets the application name

`--title <title>`

  Sets the application title (caption)

`--visual TrueColor`

  Forces the application to use a TrueColor visual on an 8-bit display

`--inputstyle <inputstyle>`

  Sets XIM (X Input Method) input style. Possible values are onthespot, overthespot, offthespot, and root

`--im <XIM server>`

  Sets XIM server

`--noxim`

  Disable XIM

`--reverse`

  Mirrors the whole layout of widgets

## See Also

`http://developer.kde.org`

  &kde; Developer's Corner website

## Bugs

Please use http://bugs.kde.org to report bugs, do not mail the authors directly.