IconViewEditorBase ********************************************************************* ** ** Copyright (C) 2012 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$ ** GNU Lesser General Public License Usage ** 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. ** ** 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. ** ** Other Usage ** Alternatively, this file may be used in accordance with the terms and ** conditions contained in a signed written agreement between you and Nokia. ** ** ** ** ** ** $QT_END_LICENSE$ ** ********************************************************************* IconViewEditorBase 0 0 567 321 Edit Iconview true <b>Edit Iconview</b><p>Add, edit or delete items in the icon view.</p><p>Click the <b>New Item</b>-button to create a new item, then enter text and choose a pixmap.</p><p>Select an item from the view and click the <b>Delete Item</b>-button to remove the item from the iconview.</p> unnamed 11 6 Layout6 unnamed 0 6 preview All items in the iconview. Layout5 unnamed 0 6 itemNew &New Item Add an item Create a new item for the iconview. itemDelete &Delete Item Delete item Delete the selected item. Vertical Spacing1 Vertical Expanding 20 20 GroupBox1 0 5 0 0 &Item Properties unnamed 11 6 Label1 &Text: itemText itemText 0 0 Change text Change the text for the selected item. Label2 &Pixmap: itemChoosePixmap Layout4 unnamed 0 6 itemPixmap Label4 itemDeletePixmap 30 22 designer_s_editcut.png Delete Pixmap Delete the selected item's pixmap. itemChoosePixmap 30 22 ... Select a Pixmap Select a pixmap file for the current item. Layout1 unnamed 0 6 buttonHelp &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. itemNew clicked() IconViewEditorBase insertNewItem() itemDelete clicked() IconViewEditorBase deleteCurrentItem() itemText textChanged( const QString & ) IconViewEditorBase currentTextChanged(const QString&) buttonOk clicked() IconViewEditorBase okClicked() buttonApply clicked() IconViewEditorBase applyClicked() buttonCancel clicked() IconViewEditorBase cancelClicked() itemChoosePixmap clicked() IconViewEditorBase choosePixmap() preview selectionChanged(QIconViewItem*) IconViewEditorBase currentItemChanged(QIconViewItem*) preview currentChanged(QIconViewItem*) IconViewEditorBase currentItemChanged(QIconViewItem*) itemDeletePixmap clicked() IconViewEditorBase deletePixmap() buttonOk buttonCancel preview itemNew itemDelete itemText itemDeletePixmap itemChoosePixmap buttonHelp buttonApply init() destroy() applyClicked() cancelClicked() choosePixmap() currentItemChanged( QIconViewItem * ) currentTextChanged( const QString & ) deleteCurrentItem() insertNewItem() deletePixmap() okClicked()