********************************************************************* ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the autotests of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usage ** This file contains pre-release code and may not be distributed. ** You may use this file in accordance with the terms and conditions ** contained in the Technology Preview License Agreement accompanying ** this package. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain additional ** rights. These rights are described in the Nokia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** If you have questions regarding the use of this file, please contact ** Nokia at qt-info@nokia.com. ** ** ** ** ** ** ** ** ** $QT_END_LICENSE$ ** ********************************************************************* Preferences 0 0 482 480 Preferences true <b>Preferences</b><p>Change the preferences of Qt Designer. There is always one tab with general preferences. There may be additional tabs, depending on which plugins are installed.</p> 11 6 General File Saving Enable Auto Sa&ve Alt+V true Auto Save &Interval: timeEditAutoSave false Plu&gin Paths 20 20 QSizePolicy::Expanding Qt::Vertical Ge&neral 11 6 Restore Last &Workspace on Startup Alt+W true Restore last workspace The current workspace settings will be restored the next time you start Qt Designer if this option is checked. Show &Splash Screen on Startup true Show Splashscreen A splash screen is displayed when starting Qt Designer if this option is checked. Show Start &Dialog true Disable Data&base Auto-Edit in Preview Alt+B true Show Toolbutton Lab&els Alt+E Text Labels Text labels will be usin in the toolbars if this is checked. G&rid true 11 6 Sn&ap to Grid Alt+A true Snap to the grid <b>Customize the grid-settings for all forms.</b><p>When <b>Snap to Grid</b> is checked, the widgets snap to the grid using the the X/Y resolution.</p> 0 6 50 5 10 Grid resolution <b>Customize the grid-settings for all forms.</b><p>When <b>Show Grid</b> is checked, a grid is shown on all forms using the X/Y resolution.</p> 50 5 10 Grid resolution <b>Customize the grid-settings for all forms.</b><p>When <b>Show Grid</b> is checked, a grid is shown on all forms using the X/Y resolution.</p> Grid-&X: spinGridX false Grid-&Y: spinGridY false Backgro&und 11 6 false 0 0 0 0 Qt::TabFocus false Choose a color Select a color in the color dialog. Qt::NoFocus Co&lor Use a background color Use a background color. &Pixmap true Use a background pixmap Use a background pixmap. 0 0 0 0 Qt::TabFocus false Select a pixmap Choose a pixmap file. 0 6 &Help true 20 20 QSizePolicy::Expanding Qt::Horizontal &OK true true Close the dialog and apply all the changes. &Cancel true false Close the dialog and discard any changes. StyledButton QWidget
styledbutton.h
40 25 0 5 5 image0 color pixmap scale
buttonOk buttonCancel tabWidget radioColor radioPixmap buttonColor buttonPixmap checkBoxSnapGrid spinGridX spinGridY checkBoxWorkspace checkBoxSplash checkBoxStartDialog checkAutoEdit checkBoxTextLabels helpButton 789c9dd2cb8e9b301406e07d9e0225bba89a09601350d505302c5b7559a9eac23e6672b363620c0ca9faeef53949da2e2a55eab123f9e38f2f217e5e475f3e7f8cd6cf8bde0b7f8008f6c2456b3518337ffdf6e1fb62992451e8691ac5cb778be55304d1277b6e71fc12c6ab0d157222e61bd8e4c812196f6216535a13f318624a6764b2495842e99558249014c81e99c6294b69d3376291424ae9806431638cd28628183081f4489e70ce13e4852878c129ad905992f18cd291283295517a466ed32ddfa64847945bb595c80e99a739cf29d54499ab9c528b2c58c10b86344428540148400a26b8a0541241b482d215523299494a0551c9562ae409091c32e0c82351410b942aa4e22a53941e882d36e41ed966d8903b2215f215f99a6143b6442afaafff5aff485658622584a091941256948443d1cabbdd6ebf3f28753c09a9e9cdc1fe703c9e4ea19f689a0430fa4c8908082be093d08d016bbb0bbd5e7ceafade5b30de19d083b3fa9e008cd39b9fafd69495b473af7fcfb15325c1d61eea0afaf005ddf97b5295c658a866338f97591babef7340fa396c6c5ca9e7fe650807d0bf566b4262299986ba335a3b4a2cc84b69ac85b1b673037d8fabf95b023a9c09cc7530e104dd5419ed6e27083fb09a7c752db5a9bd31cde4ec634ed8a39aebbe337618c3f6fdc5dee6d8b0bb0d6b5b8b1fad43d78fe4e14e3f6aace8e29d9d736777fea3c686eee0138c9726d4d00c548df7a315ff750f7ebc5ffc04a0e5308d styledbutton.h styledbutton.h buttonOk clicked() Preferences accept() buttonCancel clicked() Preferences reject() radioColor toggled(bool) buttonColor setEnabled(bool) radioPixmap toggled(bool) buttonPixmap setEnabled(bool)