ListBoxEditorBase ********************************************************************* ** 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. ** ********************************************************************* ListBoxEditorBase 0 0 482 229 Edit Listbox true <b>Edit Listbox</b><p>Add, edit or delete items in the listbox.</p><p>Click the <b>New Item</b>-button to create a new listbox entry, then enter text and choose a pixmap.</p><p>Select an item from the list and click the <b>Delete Item</b>-button to remove the item from the list.</p> unnamed 11 6 Layout1 unnamed 0 6 helpButton &Help true Horizontal Spacing2 Horizontal Expanding 20 20 buttonApply &Apply true Apply all changes. buttonOk &OK true true Close the dialog and apply all the changes. buttonCancel &Cancel true Close the dialog and discard any changes. preview Item list The list of items. GroupBox1 &Item Properties unnamed 11 6 Label2 &Pixmap: itemChoosePixmap itemPixmap Label4 itemDeletePixmap 30 22 designer_s_editcut.png Delete Pixmap Delete the selected item's pixmap. itemChoosePixmap 30 22 ... Select a Pixmap Choose a pixmap file for the selected item. Label1 &Text: itemText itemText 0 0 Change text Change the selected item's text. itemNew &New Item Add an item <b>Add a new item.</b><p>New items are appended to the list.</p> itemDelete &Delete Item Delete Item Delete the selected item Vertical Spacing1 Vertical Expanding 20 20 itemUp designer_s_up.png Move up Moves the selected item up. itemDown designer_s_down.png Move down Move the selected item down. itemNew clicked() ListBoxEditorBase insertNewItem() itemDelete clicked() ListBoxEditorBase deleteCurrentItem() itemText textChanged( const QString & ) ListBoxEditorBase currentTextChanged(const QString&) buttonOk clicked() ListBoxEditorBase okClicked() buttonApply clicked() ListBoxEditorBase applyClicked() buttonCancel clicked() ListBoxEditorBase cancelClicked() itemChoosePixmap clicked() ListBoxEditorBase choosePixmap() itemDeletePixmap clicked() ListBoxEditorBase deletePixmap() itemUp clicked() ListBoxEditorBase moveItemUp() itemDown clicked() ListBoxEditorBase moveItemDown() preview selectionChanged(QListBoxItem*) ListBoxEditorBase currentItemChanged(QListBoxItem*) preview currentChanged( QListBoxItem * ) ListBoxEditorBase currentItemChanged(QListBoxItem*) buttonOk buttonCancel preview itemNew itemDelete itemUp itemDown itemText itemDeletePixmap itemChoosePixmap helpButton buttonApply init() destroy() insertNewItem() deleteCurrentItem() currentItemChanged( QListBoxItem * ) currentTextChanged( const QString & ) okClicked() cancelClicked() applyClicked() choosePixmap() deletePixmap() moveItemUp() moveItemDown()