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 --- tools/designer/editor/preferences.ui | 510 +++++++++++++++++++++++++++++++++++ 1 file changed, 510 insertions(+) create mode 100644 tools/designer/editor/preferences.ui (limited to 'tools/designer/editor/preferences.ui') diff --git a/tools/designer/editor/preferences.ui b/tools/designer/editor/preferences.ui new file mode 100644 index 0000000..5dc1d53 --- /dev/null +++ b/tools/designer/editor/preferences.ui @@ -0,0 +1,510 @@ + +PreferencesBase +********************************************************************* +** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. +** +** This file is part of Qt Designer. +** +** This file may be used under the terms of the GNU General +** Public License versions 2.0 or 3.0 as published by the Free +** Software Foundation and appearing in the files LICENSE.GPL2 +** and LICENSE.GPL3 included in the packaging of this file. +** Alternatively you may (at your option) use any later version +** of the GNU General Public License if such license has been +** publicly approved by Trolltech ASA (or its successors, if any) +** and the KDE Free Qt Foundation. +** +** Please review the following information to ensure GNU General +** Public Licensing requirements will be met: +** http://trolltech.com/products/qt/licenses/licensing/opensource/. +** If you are unsure which license is appropriate for your use, please +** review the following information: +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview +** or contact the sales department at sales@trolltech.com. +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with +** the Software. +** +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted +** herein. +** +********************************************************************* + + + PreferencesBase + + + + 0 + 0 + 362 + 396 + + + + Form1 + + + + unnamed + + + 6 + + + 6 + + + + GroupBox2 + + + Box + + + Sunken + + + S&yntax Highlighting + + + + unnamed + + + 11 + + + 6 + + + + TextLabel1 + + + &Element: + + + listElements + + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + checkBold + + + &Bold + + + + + buttonColor + + + + 1 + 0 + 0 + 0 + + + + ... + + + + + comboFamily + + + true + + + + + TextLabel2 + + + &Family: + + + comboFamily + + + + + checkUnderline + + + &Underline + + + + + spinSize + + + 1 + + + + + checkItalic + + + &Italic + + + + + TextLabel4 + + + Change co&lor: + + + buttonColor + + + + + TextLabel3 + + + &Size: + + + spinSize + + + + + + + + Comment + + + + + Number + + + + + String + + + + + Type + + + + + Keyword + + + + + Preprocessor + + + + + Label + + + + + Standard + + + + listElements + + + + + TextLabel2_2 + + + &Preview: + + + editPreview + + + + + editPreview + + + Some Text + + + + + Spacer2 + + + Vertical + + + Expanding + + + + 20 + 0 + + + + + + + + GroupBox3 + + + Optio&ns + + + + unnamed + + + 11 + + + 6 + + + + checkWordWrap + + + &Word Wrap + + + + + checkCompletion + + + Comple&tion + + + + + checkParenMatching + + + Parentheses &Matching + + + + + + + GroupBox3_2 + + + Indentation + + + + unnamed + + + 11 + + + 6 + + + + Layout2 + + + + unnamed + + + 0 + + + 6 + + + + spinTabSize + + + 8 + + + + + TextLabel1_2 + + + Tab Size: + + + + + spinIndentSize + + + 4 + + + + + TextLabel2_3 + + + Indent Size: + + + + + + + checkKeepTabs + + + Keep Tabs + + + true + + + + + checkAutoIndent + + + Auto Indent + + + true + + + + + + + + + spinSize + valueChanged(int) + PreferencesBase + sizeChanged(int) + + + checkBold + toggled(bool) + PreferencesBase + boldChanged(bool) + + + checkItalic + toggled(bool) + PreferencesBase + italicChanged(bool) + + + checkUnderline + toggled(bool) + PreferencesBase + underlineChanged(bool) + + + buttonColor + clicked() + PreferencesBase + colorClicked() + + + comboFamily + activated(const QString&) + PreferencesBase + familyChanged(const QString&) + + + listElements + highlighted(const QString&) + PreferencesBase + elementChanged(const QString&) + + + + listElements + editPreview + comboFamily + spinSize + checkBold + checkItalic + checkUnderline + checkWordWrap + checkCompletion + checkParenMatching + + + qmap.h + conf.h + qpalette.h + qlineedit.h + qpixmap.h + qcombobox.h + qfontdatabase.h + editor.h + qpushbutton.h + qcheckbox.h + qcolordialog.h + qsettings.h + preferences.ui.h + + + QString path; + QMap<QString, ConfigStyle> styles; + ConfigStyle currentStyle; + QString currentElement; + + + init() + destroy() + colorClicked() + reInit() + save() + updatePreview() + boldChanged( bool b ) + elementChanged( const QString & element ) + familyChanged( const QString & f ) + italicChanged( bool b ) + setColorPixmap( const QColor & c ) + setPath( const QString & p ) + sizeChanged( int s ) + underlineChanged( bool b ) + + + -- cgit v1.2.1