Doc: Added some documentation

...to ioutputpane, inavigationwidgetfactory, ioptionspage and
removed now redundant comments

Authors:
    Falko Arps <fjarps@aol.com>
    Sven Klein <klein.sven@gmx.de>
    Giuliano Schneider <gs93@gmx.net>

Change-Id: I49651dfd4304a2e9a0ba2262a16f812d1fca773e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Falko Arps
2013-12-11 15:37:48 +01:00
committed by Eike Ziller
parent 6c440754a8
commit 5925be6fe5
8 changed files with 464 additions and 41 deletions

View File

@@ -1,6 +1,9 @@
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Copyright (c) 2014 Falko Arps
** Copyright (c) 2014 Sven Klein
** Copyright (c) 2014 Giuliano Schneider
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
@@ -31,17 +34,85 @@
#include <QKeySequence>
/*!
\class Core::INavigationWidgetFactory
\mainclass
\inmodule Qt Creator
\brief The INavigationWidgetFactory class provides new instances of navigation widgets.
A navigation widget factory is necessary because there can be more than one navigation widget of
the same type at a time. Each navigation widget is wrapped in a \l{Core::NavigationView} for
delivery.
*/
/*!
\class Core::NavigationView
\inmodule Qt Creator
\brief The NavigationView class is a C struct for wrapping a widget and a list of tool buttons.
Wrapping the widget that is shown in the content area of the navigation widget and a list of
tool buttons that is shown in the header above it.
*/
/*!
\fn INavigationWidgetFactory::INavigationWidgetFactory()
Constructs a navigation widget factory.
*/
/*!
\fn QString INavigationWidgetFactory::displayName() const
Returns the display name of the navigation widget, which is shown in the dropdown menu above the
navigation widget.
*/
/*!
\fn int INavigationWidgetFactory::priority() const
Determines the position of the navigation widget in the dropdown menu.
0 to 1000 from top to bottom
*/
/*!
\fn Id INavigationWidgetFactory::id() const
Returns a unique identifier for referencing the navigation widget factory.
*/
/*!
\fn NavigationView INavigationWidgetFactory::createWidget()
Returns a \l{Core::NavigationView} containing the widget and the buttons. The ownership is given
to the caller.
*/
using namespace Core;
/*!
Returns the keyboard shortcut to activate an instance of a navigation widget.
*/
QKeySequence INavigationWidgetFactory::activationSequence() const
{
return QKeySequence();
}
/*!
Stores the settings for the \a widget at \a position that was created by this factory
(the \a position identifies a specific navigation widget).
\sa INavigationWidgetFactory::restoreSettings()
*/
void INavigationWidgetFactory::saveSettings(int /* position */, QWidget * /* widget */)
{
}
/*!
Reads and restores the settings for the \a widget at \a position that was created by this
factory (the \a position identifies a specific navigation widget).
\sa INavigationWidgetFactory::saveSettings()
*/
void INavigationWidgetFactory::restoreSettings(int /* position */, QWidget * /* widget */)
{
}