Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The LauncherView class provides the base for any type of laucnher view used by Qtopia. More...
#include <LauncherView>
Inherits QWidget.
Inherited by ApplicationLauncherView, ArchiveViewer, ContentSetLauncherView, DocumentLauncherView, and TaskManagerLauncherView.
The LauncherView class provides the base for any type of laucnher view used by Qtopia.
This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
See also ApplicationLauncherView and DocumentLauncherView.
Create a LauncherView instance with the given parent and flags.
Destroys the LauncherView.
Adds app to the view. resort is ignored at this stage.
See also removeItem().
Clears the current selection.
This signal is emitted whenever the user clickes on an item. The activated item is passed as content object.
Returns a new launcher view instance with the given parent and flags. name is the name of the LauncherView subclass to be created.
New launcher view subclasses can be registered via the UIFactory class and UIFACTORY_REGISTER_WIDGET().
//customlauncherview.cpp #include "uifactory.h" #include "launcherview.h" class CustomLauncherView : public LauncherView { }; UIFACTORY_REGISTER_WIDGET(CustomLauncherView); //code.cpp LauncherView *view = LauncherView::createLauncherView( "CustomLauncherView", parent, flags );
Launcher view instances should be created via this factory method whenever the caller doesn't intend to actually include the declaration for CustomLauncherView.
This function returns a null pointer if name doesn't exist.
This slot is called when a new item becomes the current item. The previous current item is specified by the previous index, and the new item by the current index.
Returns the index of the currently selected item.
Returns the currently selected item.
Returns the direction the items layout should flows.
See also setFlow() and QListView::flow().
This event handler can be reimplemented in a subclass to react when a mouse button is clicked with the specified item. item will be selected if setCurrentIndex is true.
This event handler can be reimplemented in a subclass to react when a mouse button is pressed with the specified item.
This event handler can be reimplemented in a subclass to react to Enter or Return key press on the current item. The default implementation emits the clicked() signal.
Returns the size of icons the given widget should use if it is a launcher view in list mode. This can be used to make other list views look consistent with launcher views.
Returns the content model that the view is presenting.
See also setModel().
Removes all items from the view
Removes app from the view.
See also addItem().
This function can be reimplemented by subclasses to adjust the way how the view is reset. The default implementation selects the first item in the view.
This signal is emitted when the user clciks on content with the right mouse button. This signal may be used in conjunction with a context menu.
filter acts as an auxiliary filter besides the main filter.
Sets the busy state of the currently selected item to on. This indicates to the user that the current selection is processed.
Sets the number of columns. This value defaults to 1.
The view will be adjusted according to filter.
Sets the direction the items layout should flow.
This property only affects the Icon view mode.
See also flow() and QListView::setFlow().
Sets the item delegate for the contained view and its model to delegate. The old delegate is deleted in the process.
See also QAbstractItemView::setItemDelegate().
Sets a new model for this view. Any existing model will be deleted.
See also model().
Sets the viewmode of the contained item view to m.
See also viewMode() and QListView::setViewMode().
Only items that are of category filter will be shown.
filter is applied in addition to the main filter.
See also setFilter().
Returns the used view mode.
See also setViewMode() and QListView::viewMode().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |