pyqt4 - Pyqt command line options -


i cannot find references command line arguments pyqt, such as:

-style windows -background "yellow"

i've found couple accident.

hasn't helped google or use qt assistant. (unless it's hidden)

thanks,

paul

from pyqt4 manual entry qapplication: (http://www.riverbankcomputing.co.uk/static/docs/pyqt4/html/qapplication.html)

all qt programs automatically support following command line options:

-style= style, sets application gui style. possible values motif, windows, , platinum. if compiled qt additional styles or have additional styles plugins these available -style command line option.

-style style, same listed above.

-stylesheet= stylesheet, sets application stylesheet. value must path file contains style sheet. note: relative urls in style sheet file relative style sheet file's path.

-stylesheet stylesheet, same listed above.

-session= session, restores application earlier session.

-session session, same listed above. -widgetcount, prints debug message @ end number of widgets left undestroyed , maximum number of widgets existed @ same time

-reverse, sets application's layout direction qt.righttoleft

-graphicssystem, sets backend used on-screen widgets , qpixmaps. available options raster , opengl.

-qmljsdebugger=, activates qml/js debugger specified port. value must of format port:1234[,block], block optional , make application wait until debugger connects it.

the x11 version of qt supports traditional x11 command line options:

-display display, sets x display (default $display).

-geometry geometry, sets client geometry of first window shown.

-fn or -font font, defines application font. font should specified using x logical font description. note option ignored when qt built fontconfig support enabled.

-bg or -background color, sets default background color , application palette (light , dark shades calculated).

-fg or -foreground color, sets default foreground color.

-btn or -button color, sets default button color.

-name name, sets application name.

-title title, sets application title.

-visual truecolor, forces application use truecolor visual on 8-bit display.

-ncols count, limits number of colors allocated in color cube on 8-bit display, if application using qapplication.manycolor color specification. if count 216 6x6x6 color cube used (i.e. 6 levels of red, 6 of green, , 6 of blue); other values, cube approximately proportional 2x3x1 cube used.

-cmap, causes application install private color map on 8-bit display.

-im, sets input method server (equivalent setting xmodifiers environment variable)

-inputstyle, defines how input inserted given widget, e.g., onthespot makes input appear directly in widget, while overthespot makes input appear in box floating on widget , not inserted until editing done.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -