From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- examples/toplevel/options.ui | 587 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 587 insertions(+) create mode 100644 examples/toplevel/options.ui (limited to 'examples/toplevel/options.ui') diff --git a/examples/toplevel/options.ui b/examples/toplevel/options.ui new file mode 100644 index 0000000..ef0573f --- /dev/null +++ b/examples/toplevel/options.ui @@ -0,0 +1,587 @@ + +OptionsDialog + + + OptionsDialog + + + + 0 + 0 + 371 + 482 + + + + Select Options + + + + unnamed + + + + layout5 + + + + unnamed + + + + layout4 + + + + unnamed + + + + bgBorder + + + &Border + + + true + + + true + + + Select different types of borders, or turn the border off. Windows without a border are ignored by the window manager. + + + + unnamed + + + + rbBorderNormal + + + &Normal + + + Alt+N + + + true + + + A normal border + + + Gives the window a normal, resizable border. The window should have a layout installed to handle the resizing gracefully. + + + + + rbBorderDialog + + + &Dialog + + + Alt+D + + + A thin dialog border + + + Gives the window a thin dialog border. Depending on the window manager the window will not be resizable. Use QWidget::setFixedSize() in addition to enforce a static size on all systems. + + + + + + + bgTitle + + + &Titlebar + + + true + + + true + + + Select different controls you want to see in the titlebar, or turn the titlebar off. Popup windows should not have a titlebar. + + + + unnamed + + + + cbTitleSystem + + + S&ystem Menu + + + Alt+Y + + + true + + + A window system menu. + + + Adds a window system menu. Many window managers require a system menu to be able to provide minimize or maximize controls. A system menu implies a close button. + + + + + cbTitleMinimize + + + Minimi&ze + + + Alt+Z + + + A minimize button + + + Adds a minimze button. This option requires a system menu on many window managers. + + + + + cbTitleMaximize + + + Ma&ximize + + + Alt+X + + + A maximize button + + + Adds a maximze button. This option requires a system menu on many window managers. + + + + + cbTitleContext + + + &What's This + + + Alt+W + + + A context help button + + + Adds a context help button. This option requires a system menu on many window managers, and often doesn't work together with minimize and maximize buttons. + + + + + + + + + layout3 + + + + unnamed + + + + bgBehavior + + + Behavior + + + true + + + Select different behaviors of the window in runtime. + + + + unnamed + + + + cbBehaviorTaskbar + + + Taskbar &Entry + + + Alt+E + + + Entry in the taskbar + + + Gives the window a separate task bar entry. + + + + + cbBehaviorStays + + + Stays on T&op + + + Alt+O + + + Stay on top of the desktop + + + Informs the window system that the window should stay on top of all other windows, including windows from other applications. This is not supported on all X11 window managers. + + + + + cbBehaviorPopup + + + false + + + &Popup + + + Alt+P + + + A popup window + + + Indicates that this widget is a popup window. Popup windows are modal, but close automatically when the mouse is clicked. + + + + + cbBehaviorTool + + + Too&l + + + Alt+L + + + A tool window + + + Makes the window a tool window. Tool windows often have a smaller titlebar and decoration, and don't activate automtically when displayed. Tool windows often cannot have their own taskbar entry. + + + + + cbBehaviorModal + + + &Modal + + + Alt+M + + + Show modal + + + The window is modal for the application, e.g. input for other windows are blocked by this window. + + + + + + + spacer2 + + + Vertical + + + Expanding + + + + 20 + 31 + + + + + + + + + + gbProperties + + + Properties + + + true + + + Set other properties of the window. + + + + unnamed + + + + leCaption + + + Caption + + + Window caption + + + The caption of the window. + + + + + layout2 + + + + unnamed + + + + leIcon + + + Icon file + + + Provide an image file. + + + + + tbPick + + + ... + + + Pick an icon + + + Select an image file. + + + + + + + slTransparency + + + 100 + + + 10 + + + Horizontal + + + Below + + + 10 + + + Window transparency + + + Set the transparency of the window. +A high value gives a high window transparency, e.g. it is less visible. + +Note that this attribute is not supported on many windowing systems and will have no effect. + + + + + textLabel3 + + + Transp&arency: + + + slTransparency + + + + + textLabel2 + + + &Icon: + + + leIcon + + + + + textLabel1 + + + &Caption: + + + leCaption + + + + + + + layout1 + + + + unnamed + + + + spacer1 + + + Horizontal + + + Expanding + + + + 70 + 21 + + + + + + pbApply + + + Apply + + + + + + true + + + Creates a new window with the selected flags, or modifies the visible window. + + + + + pbClose + + + Close + + + + + + Closes this dialog and exits the application. + + + + + + + + + pbClose + clicked() + OptionsDialog + close() + + + pbApply + clicked() + OptionsDialog + apply() + + + bgBorder + toggled(bool) + bgTitle + setEnabled(bool) + + + cbTitleSystem + toggled(bool) + cbTitleMinimize + setEnabled(bool) + + + cbTitleSystem + toggled(bool) + cbTitleMaximize + setEnabled(bool) + + + cbTitleSystem + toggled(bool) + cbTitleContext + setEnabled(bool) + + + bgTitle + toggled(bool) + cbBehaviorPopup + setDisabled(bool) + + + cbBehaviorPopup + toggled(bool) + bgTitle + setDisabled(bool) + + + tbPick + clicked() + OptionsDialog + pickIcon() + + + + qguardedptr.h + qvbox.h + qfiledialog.h + + + QGuardedPtr<QVBox> widget; + + + apply() + pickIcon() + + + -- cgit v1.2.1