ListBoxEditorBase ********************************************************************* ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite 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$ ** ********************************************************************* 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()