ListBoxEditorBase ********************************************************************* ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and Digia. For licensing terms and ** conditions see http://qt.digia.com/licensing. For further information ** use the contact form at http://qt.digia.com/contact-us. ** ** 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, Digia gives you certain additional ** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** ** $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()