recategorize many misplaced classes; move lots of classes from miscellaneous [window] category to more specific categories; add the 'Book controls' and the 'Application and system configuration' class groups

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-02-20 11:34:52 +00:00
parent 7e08bc5acd
commit 3c99e2fd1b
50 changed files with 125 additions and 80 deletions

View File

@@ -92,6 +92,7 @@ ALIASES += appearance{1}="\htmlonly <br><div><span class='appearance'>Appearance
# aliases for additional wx-specific infos # aliases for additional wx-specific infos
ALIASES += category{1}="\ingroup group_class_\1 \n<div><span class='category'>Category:</span>&nbsp;&nbsp;<span class='category_text'>\ref group_class_\1</span></div>" ALIASES += category{1}="\ingroup group_class_\1 \n<div><span class='category'>Category:</span>&nbsp;&nbsp;<span class='category_text'>\ref group_class_\1</span></div>"
ALIASES += category{2}="\ingroup group_class_\1 group_class_\2 \n<div><span class='category'>Category:</span>&nbsp;&nbsp;<span class='category_text'>\ref group_class_\1, \ref group_class_\2</span></div>" ALIASES += category{2}="\ingroup group_class_\1 group_class_\2 \n<div><span class='category'>Category:</span>&nbsp;&nbsp;<span class='category_text'>\ref group_class_\1, \ref group_class_\2</span></div>"
ALIASES += category{3}="\ingroup group_class_\1 group_class_\2 group_class_\3 \n<div><span class='category'>Category:</span>&nbsp;&nbsp;<span class='category_text'>\ref group_class_\1, \ref group_class_\2, \ref group_class_\3</span></div>"
ALIASES += library{1}="<h2></h2><div><span class='lib'>Library:</span>&nbsp;&nbsp;<span class='lib_text'>\ref page_libs_\1</span></div>" ALIASES += library{1}="<h2></h2><div><span class='lib'>Library:</span>&nbsp;&nbsp;<span class='lib_text'>\ref page_libs_\1</span></div>"
ALIASES += nolibrary="<h2></h2><div><span class='lib'>Library:</span>&nbsp;&nbsp;<span class='lib_text'>None; this class implementation is entirely header-based.</span></div>" ALIASES += nolibrary="<h2></h2><div><span class='lib'>Library:</span>&nbsp;&nbsp;<span class='lib_text'>None; this class implementation is entirely header-based.</span></div>"
ALIASES += stdobjects="<span class='stdobj'>Predefined objects/pointers:</span>" ALIASES += stdobjects="<span class='stdobj'>Predefined objects/pointers:</span>"

View File

@@ -11,8 +11,9 @@
@defgroup group_class_appmanagement Application and Process Management @defgroup group_class_appmanagement Application and Process Management
@ingroup group_class @ingroup group_class
The classes in this section are used to handle application-wide settings or The classes in this section represent the application (see wxApp) or parts of it
for initialization/shutdown of the application itself. (e.g. wxEventLoopBase, wxModule).
They can be used for initialization/shutdown of the application itself.
Related macros/global-functions group: @ref group_funcmacro_appinitterm. Related macros/global-functions group: @ref group_funcmacro_appinitterm.

View File

@@ -0,0 +1,19 @@
/////////////////////////////////////////////////////////////////////////////
// Name: class_bookctrl.h
// Purpose: Book controls classes group docs
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
/**
@defgroup group_class_bookctrl Book Controls
@ingroup group_class
A book control contains pages of other controls.
Related overview: @ref overview_bookctrl
*/

View File

@@ -0,0 +1,18 @@
/////////////////////////////////////////////////////////////////////////////
// Name: class_cfg.h
// Purpose: Application and System configuration classes group docs
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
/**
@defgroup group_class_cfg Application and System configuration
@ingroup group_class
The classes in this section are used to handle application-wide settings
and system-wide settings.
*/

View File

@@ -12,6 +12,9 @@
@ingroup group_class @ingroup group_class
These are the data structure classes provided by wxWidgets. These are the data structure classes provided by wxWidgets.
Some of them are used to store generic data (e.g. wxPoint, wxSize, etc),
others are mainly helpers of other classes (e.g. wxListItem, wxCalendarDateAttr,
wxFindReplaceDialogData, etc).
*/ */

View File

@@ -31,7 +31,7 @@
so you should avoid specifying these fields to achieve more native look and feel. so you should avoid specifying these fields to achieve more native look and feel.
@library{wxadv} @library{wxadv}
@category{misc} @category{cmndlg,data}
@see wxAboutDialogInfo::SetArtists @see wxAboutDialogInfo::SetArtists
*/ */

View File

@@ -34,7 +34,7 @@ enum wxAcceleratorEntryFlags
(see wxAcceleratorTable). (see wxAcceleratorTable).
@library{wxcore} @library{wxcore}
@category{misc} @category{data}
@see wxAcceleratorTable, wxWindow::SetAcceleratorTable @see wxAcceleratorTable, wxWindow::SetAcceleratorTable
*/ */
@@ -157,7 +157,7 @@ public:
'OK'. 'OK'.
@library{wxcore} @library{wxcore}
@category{misc} @category{data}
@stdobjects @stdobjects
::wxNullAcceleratorTable ::wxNullAcceleratorTable

View File

@@ -23,7 +23,7 @@
implementation of the wxAppTraits interface. implementation of the wxAppTraits interface.
@library{wxbase} @library{wxbase}
@category{appmanagement} @category{cfg}
@see @ref overview_app, wxApp @see @ref overview_app, wxApp
*/ */

View File

@@ -164,7 +164,7 @@ typedef wxString wxArtID;
identical bitmap for different client values! identical bitmap for different client values!
@library{wxcore} @library{wxcore}
@category{misc,data} @category{misc}
@see the @ref page_samples_artprov for an example of wxArtProvider usage. @see the @ref page_samples_artprov for an example of wxArtProvider usage.
*/ */

View File

@@ -29,7 +29,7 @@
wxBitmap class documentation. wxBitmap class documentation.
@library{wxcore} @library{wxcore}
@category{misc} @category{gdi}
@see @ref overview_bitmap, wxBitmap, wxIcon, wxCursor @see @ref overview_bitmap, wxBitmap, wxIcon, wxCursor
*/ */

View File

@@ -23,7 +23,7 @@
This is a pure virtual class so you cannot allocate it directly. This is a pure virtual class so you cannot allocate it directly.
@library{wxcore} @library{wxcore}
@category{miscwnd} @category{bookctrl}
@see @ref overview_bookctrl @see @ref overview_bookctrl
*/ */
@@ -363,7 +363,7 @@ public:
probably unnecessary to process both events at once. probably unnecessary to process both events at once.
@library{wxcore} @library{wxcore}
@category{events} @category{events,bookctrl}
@see wxNotebook, wxListbook, wxChoicebook, wxTreebook, wxToolbook @see wxNotebook, wxListbook, wxChoicebook, wxTreebook, wxToolbook
*/ */

View File

@@ -12,8 +12,11 @@
@todo provide better docs for this class @todo provide better docs for this class
@tparam T
The type of the characters stored in this class.
@nolibrary @nolibrary
@category{misc} @category{data}
*/ */
template <typename T> template <typename T>
class wxCharTypeBuffer class wxCharTypeBuffer
@@ -45,7 +48,7 @@ public:
@todo provide better docs for this class @todo provide better docs for this class
@nolibrary @nolibrary
@category{misc} @category{data}
*/ */
class wxCharBuffer : public wxCharTypeBuffer<char> class wxCharBuffer : public wxCharTypeBuffer<char>
{ {
@@ -63,7 +66,7 @@ public:
This class is available only when <tt>wxUSE_WCHAR_T==1</tt> This class is available only when <tt>wxUSE_WCHAR_T==1</tt>
@nolibrary @nolibrary
@category{misc} @category{data}
*/ */
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t> class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
{ {
@@ -76,8 +79,6 @@ public:
wxWCharBuffer(const wxCStrData& cstr); wxWCharBuffer(const wxCStrData& cstr);
}; };
/** /**
@class wxMemoryBuffer @class wxMemoryBuffer

View File

@@ -53,7 +53,7 @@ enum wxCalendarDateBorder
of this class are used with wxCalendarCtrl. of this class are used with wxCalendarCtrl.
@library{wxadv} @library{wxadv}
@category{misc} @category{data}
@see wxCalendarCtrl @see wxCalendarCtrl
*/ */

View File

@@ -46,7 +46,7 @@
@endEventTable @endEventTable
@library{wxcore} @library{wxcore}
@category{miscwnd} @category{bookctrl}
@appearance{choicebook.png} @appearance{choicebook.png}
@see @ref overview_bookctrl, wxNotebook, @ref page_samples_notebook @see @ref overview_bookctrl, wxNotebook, @ref page_samples_notebook

View File

@@ -12,7 +12,7 @@
This class holds a variety of information related to font dialogs. This class holds a variety of information related to font dialogs.
@library{wxcore} @library{wxcore}
@category{cmndlg} @category{cmndlg,data}
@see @ref overview_cmndlg_font, wxFont, wxFontDialog @see @ref overview_cmndlg_font, wxFont, wxFontDialog
*/ */
@@ -137,7 +137,7 @@ public:
stored by wxPageSetupDialogData). stored by wxPageSetupDialogData).
@library{wxcore} @library{wxcore}
@category{printing} @category{printing,data}
@see @ref overview_printing, wxPageSetupDialog @see @ref overview_printing, wxPageSetupDialog
*/ */
@@ -349,7 +349,7 @@ public:
This class holds a variety of information related to colour dialogs. This class holds a variety of information related to colour dialogs.
@library{wxcore} @library{wxcore}
@category{cmndlg} @category{cmndlg,data}
@see wxColour, wxColourDialog, @ref overview_cmndlg_colour @see wxColour, wxColourDialog, @ref overview_cmndlg_colour
*/ */
@@ -511,7 +511,7 @@ enum wxPrintBin
@endcode @endcode
@library{wxcore} @library{wxcore}
@category{printing} @category{printing,data}
@see @ref overview_printing, wxPrintDialog, wxPageSetupDialog, @see @ref overview_printing, wxPrintDialog, wxPageSetupDialog,
wxPrintDialogData, wxPageSetupDialogData, @ref overview_cmndlg_print, wxPrintDialogData, wxPageSetupDialogData, @ref overview_cmndlg_print,
@@ -681,7 +681,7 @@ public:
settings. settings.
@library{wxcore} @library{wxcore}
@category{printing} @category{printing,cmndlg,data}
@see @ref overview_printing, wxPrintDialog, @ref overview_cmndlg_print @see @ref overview_printing, wxPrintDialog, @ref overview_cmndlg_print
*/ */

View File

@@ -255,7 +255,7 @@
@library{wxbase} @library{wxbase}
@category{misc} @category{cfg}
*/ */
class wxConfigBase : public wxObject class wxConfigBase : public wxObject
{ {

View File

@@ -2045,7 +2045,7 @@ public:
@todo Write wxDateTimeHolidayAuthority documentation. @todo Write wxDateTimeHolidayAuthority documentation.
@library{wxbase} @library{wxbase}
@category{misc} @category{data}
*/ */
class wxDateTimeHolidayAuthority class wxDateTimeHolidayAuthority
{ {

View File

@@ -12,7 +12,7 @@
Determines the sizes and locations of displays connected to the system. Determines the sizes and locations of displays connected to the system.
@library{wxcore} @library{wxcore}
@category{misc} @category{cfg}
@see wxClientDisplayRect(), wxDisplaySize(), wxDisplaySizeMM() @see wxClientDisplayRect(), wxDisplaySize(), wxDisplaySizeMM()
*/ */

View File

@@ -18,14 +18,13 @@
@c wxFONTENCODING_KOI8. @c wxFONTENCODING_KOI8.
@note @note
Please use wxMBConv classes instead if possible. wxCSConv has much better Please use wxMBConv classes instead if possible. wxCSConv has much better
support for various encodings than wxEncodingConverter. support for various encodings than wxEncodingConverter.
wxEncodingConverter is useful only if you rely on wxCONVERT_SUBSTITUTE mode wxEncodingConverter is useful only if you rely on wxCONVERT_SUBSTITUTE mode
of operation (see wxEncodingConverter::Init()). of operation (see wxEncodingConverter::Init()).
@library{wxbase} @library{wxbase}
@category{misc} @category{conv}
@see wxFontMapper, wxMBConv, @ref overview_nonenglish @see wxFontMapper, wxMBConv, @ref overview_nonenglish
*/ */

View File

@@ -2562,7 +2562,7 @@ public:
(unless the @c wxEVT_CATEGORY_THREAD is specified - which is never in wx code). (unless the @c wxEVT_CATEGORY_THREAD is specified - which is never in wx code).
@library{wxcore} @library{wxcore}
@category{events} @category{events,threading}
@see @ref overview_thread, wxEventLoopBase::YieldFor @see @ref overview_thread, wxEventLoopBase::YieldFor
*/ */

View File

@@ -111,7 +111,7 @@ public:
dialog and calling them has no effect later. dialog and calling them has no effect later.
@library{wxcore} @library{wxcore}
@category{data} @category{cmndlg,data}
*/ */
class wxFindReplaceData : public wxObject class wxFindReplaceData : public wxObject
{ {

View File

@@ -20,7 +20,7 @@
Windows. Windows.
@library{wxbase} @library{wxbase}
@category{misc} @category{cfg}
@see wxFileConfig::Save @see wxFileConfig::Save
*/ */

View File

@@ -40,14 +40,14 @@
@endEventTable @endEventTable
@library{wxbase} @library{wxbase}
@category{miscwnd} @category{ctrl}
@appearance{filectrl.png} @appearance{filectrl.png}
@nativeimpl{wxgtk} @nativeimpl{wxgtk}
@see wxGenericDirCtrl @see wxGenericDirCtrl
*/ */
class wxFileCtrl : public wxWindow class wxFileCtrl : public wxControl
{ {
public: public:
wxFileCtrl(); wxFileCtrl();

View File

@@ -54,9 +54,9 @@
@endcode @endcode
@library{wxcore} @library{wxcore}
@category{misc} @category{cfg}
@see wxEncodingConverter, @ref overview_nonenglish "Writing non-English applications" @see wxEncodingConverter, @ref overview_nonenglish
*/ */
class wxFontMapper class wxFontMapper
{ {

View File

@@ -645,7 +645,7 @@ protected:
Event class representing the events generated by wxHeaderCtrl. Event class representing the events generated by wxHeaderCtrl.
@library{wxcore} @library{wxcore}
@category{ctrl} @category{events}
@see wxHeaderCtrl @see wxHeaderCtrl
*/ */

View File

@@ -63,7 +63,7 @@ enum wxImagePNGType
::wxNullImage ::wxNullImage
@library{wxcore} @library{wxcore}
@category{misc} @category{gdi}
@see wxImage, wxInitAllImageHandlers() @see wxImage, wxInitAllImageHandlers()
*/ */

View File

@@ -361,7 +361,7 @@ struct WXDLLIMPEXP_BASE wxLanguageInfo
@endWxPerlOnly @endWxPerlOnly
@library{wxbase} @library{wxbase}
@category{misc} @category{cfg}
@see @ref overview_i18n, @ref page_samples_internat, wxXLocale @see @ref overview_i18n, @ref page_samples_internat, wxXLocale
*/ */

View File

@@ -89,7 +89,7 @@
The type stored in the wxList nodes. The type stored in the wxList nodes.
@library{wxbase} @library{wxbase}
@category{data} @category{containers}
@see wxArray<T>, wxVector<T>, wxNode<T> @see wxArray<T>, wxVector<T>, wxNode<T>
*/ */

View File

@@ -45,7 +45,7 @@
@endEventTable @endEventTable
@library{wxcore} @library{wxcore}
@category{miscwnd} @category{bookctrl}
@appearance{listbook.png} @appearance{listbook.png}
@see wxBookCtrl, wxNotebook, @ref page_samples_notebook @see wxBookCtrl, wxNotebook, @ref page_samples_notebook

View File

@@ -1084,7 +1084,7 @@ public:
Represents the attributes (color, font, ...) of a wxListCtrl's wxListItem. Represents the attributes (color, font, ...) of a wxListCtrl's wxListItem.
@library{wxbase} @library{wxbase}
@category{ctrl} @category{data}
@see @ref overview_listctrl, wxListCtrl, wxListItem @see @ref overview_listctrl, wxListCtrl, wxListItem
*/ */
@@ -1296,7 +1296,7 @@ enum wxListColumnFormat
If the colour/font is not specified, the default list control colour/font is used. If the colour/font is not specified, the default list control colour/font is used.
@library{wxbase} @library{wxbase}
@category{ctrl} @category{data}
@see wxListCtrl @see wxListCtrl
*/ */

View File

@@ -69,7 +69,7 @@ public:
@onlyfor{wxmsw} @onlyfor{wxmsw}
@library{wxcore} @library{wxcore}
@category{gdi,misc} @category{gdi}
@see wxMetafileDC @see wxMetafileDC
*/ */

View File

@@ -68,7 +68,7 @@
@library{wxbase} @library{wxbase}
@category{misc} @category{cfg}
@see wxFileType @see wxFileType
*/ */
@@ -228,7 +228,7 @@ wxMimeTypesManager* wxTheMimeTypesManager;
@library{wxbase} @library{wxbase}
@category{misc} @category{data}
@see wxMimeTypesManager @see wxMimeTypesManager
*/ */

View File

@@ -73,7 +73,7 @@
@endcode @endcode
@library{wxbase} @library{wxbase}
@category{misc} @category{appmanagement}
*/ */
class wxModule : public wxObject class wxModule : public wxObject
{ {

View File

@@ -7,23 +7,25 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/** /**
wxMessageQueue allows passing messages between threads. wxMessageQueue allows passing messages between threads.
This class should be typically used to communicate between the main and worker This class should be typically used to communicate between the main and worker
threads. The main thread calls wxMessageQueue::Post and the worker thread threads. The main thread calls wxMessageQueue::Post and the worker thread
calls wxMessageQueue::Receive. calls wxMessageQueue::Receive.
@tparam T
For this class a message is an object of arbitrary type T. For this class a message is an object of arbitrary type T.
Notice that often there is a some special message indicating that the thread Notice that often there is a some special message indicating that the thread
should terminate as there is no other way to gracefully shutdown a thread should terminate as there is no other way to gracefully shutdown a thread
waiting on the message queue. waiting on the message queue.
@nolibrary @nolibrary
@category{misc} @category{threading}
@see wxThread @see wxThread
*/ */
template <typename T>
class wxMessageQueue<T> class wxMessageQueue<T>
{ {
public: public:

View File

@@ -279,7 +279,7 @@ public:
@onlyfor{wxmsw} @onlyfor{wxmsw}
@library{wxbase} @library{wxbase}
@category{misc,ipc} @category{ctrl,ipc}
@see wxActiveXEvent, @ref page_samples_flash @see wxActiveXEvent, @ref page_samples_flash
*/ */

View File

@@ -33,7 +33,7 @@
@onlyfor{wxmsw} @onlyfor{wxmsw}
@library{wxcore} @library{wxcore}
@category{misc} @category{data}
@see wxVariant @see wxVariant
*/ */

View File

@@ -32,9 +32,6 @@
@onlyfor{wxmsw} @onlyfor{wxmsw}
@library{wxbase}
@category{misc}
@b Example: @b Example:
@code @code
@@ -64,6 +61,10 @@
key->GetNextKey(key_name, 1); key->GetNextKey(key_name, 1);
} }
@endcode @endcode
@library{wxbase}
@category{cfg}
*/ */
class wxRegKey class wxRegKey
{ {

View File

@@ -85,7 +85,7 @@
@library{wxcore} @library{wxcore}
@category{miscwnd} @category{bookctrl}
@appearance{notebook.png} @appearance{notebook.png}
@see wxBookCtrl, wxBookCtrlEvent, wxImageList, @ref page_samples_notebook @see wxBookCtrl, wxBookCtrlEvent, wxImageList, @ref page_samples_notebook

View File

@@ -116,7 +116,7 @@ enum wxEndianness
where it's running. where it's running.
@library{wxbase} @library{wxbase}
@category{misc} @category{cfg}
@see ::wxGetOsVersion(), wxIsPlatformLittleEndian(), wxIsPlatform64Bit(), @see ::wxGetOsVersion(), wxIsPlatformLittleEndian(), wxIsPlatform64Bit(),
wxAppTraits wxAppTraits

View File

@@ -163,7 +163,7 @@ enum wxSystemScreenType
and user interface element sizes. and user interface element sizes.
@library{wxcore} @library{wxcore}
@category{misc} @category{cfg}
@see wxFont, wxColour @see wxFont, wxColour
*/ */

View File

@@ -57,7 +57,7 @@
system call, but almost all of modern Unix systems do) only. system call, but almost all of modern Unix systems do) only.
@library{wxbase} @library{wxbase}
@category{misc} @category{appmanagement}
*/ */
class wxSingleInstanceChecker class wxSingleInstanceChecker
{ {

View File

@@ -16,7 +16,7 @@
Open Sound System or Simple DirectMedia Layer). Open Sound System or Simple DirectMedia Layer).
@library{wxadv} @library{wxadv}
@category{misc} @category{media}
*/ */
class wxSound : public wxObject class wxSound : public wxObject
{ {

View File

@@ -14,7 +14,7 @@
@todo list styled text ctrl events. @todo list styled text ctrl events.
@library{wxbase} @library{wxbase}
@category{events} @category{events,stc}
*/ */
class wxStyledTextEvent : public wxCommandEvent class wxStyledTextEvent : public wxCommandEvent
{ {

View File

@@ -122,7 +122,7 @@
The compile-time option to include or exclude this functionality is wxUSE_SYSTEM_OPTIONS. The compile-time option to include or exclude this functionality is wxUSE_SYSTEM_OPTIONS.
@library{wxbase} @library{wxbase}
@category{misc} @category{cfg}
@see wxSystemSettings @see wxSystemSettings
*/ */

View File

@@ -41,7 +41,7 @@
@endEventTable @endEventTable
@library{wxcore} @library{wxcore}
@category{miscwnd} @category{bookctrl}
@see @ref overview_bookctrl, wxBookCtrlBase, wxNotebook, @see @ref overview_bookctrl, wxBookCtrlBase, wxNotebook,
@ref page_samples_notebook @ref page_samples_notebook

View File

@@ -12,7 +12,7 @@
An opaque reference to a tree item. An opaque reference to a tree item.
@library{wxcore} @library{wxcore}
@category{misc} @category{data}
@see wxTreeCtrl, wxTreeItemData, @ref overview_treectrl @see wxTreeCtrl, wxTreeItemData, @ref overview_treectrl
*/ */

View File

@@ -38,7 +38,7 @@
@endEventTable @endEventTable
@library{wxcore} @library{wxcore}
@category{miscwnd} @category{bookctrl}
@see wxBookCtrl, wxBookCtrlEvent, wxNotebook, wxTreeCtrl, wxImageList, @see wxBookCtrl, wxBookCtrlEvent, wxNotebook, wxTreeCtrl, wxImageList,
@ref overview_bookctrl, @ref page_samples_notebook @ref overview_bookctrl, @ref page_samples_notebook

View File

@@ -12,7 +12,7 @@
Determines the sizes and locations of displays connected to the system. Determines the sizes and locations of displays connected to the system.
@library{wxcore} @library{wxcore}
@category{misc} @category{cfg}
@stdobjects @stdobjects
::wxDefaultVideoMode ::wxDefaultVideoMode

View File

@@ -19,7 +19,7 @@ typedef int wxWindowID;
and can also be used be used directly. and can also be used be used directly.
@library{wxcore} @library{wxcore}
@category{misc} @category{cfg}
@see wxWindow::NewControlId(), wxWindow::UnreserveControlId(), @see wxWindow::NewControlId(), wxWindow::UnreserveControlId(),
@ref overview_windowids @ref overview_windowids

View File

@@ -61,7 +61,7 @@
IO) in the near future. IO) in the near future.
@library{wxbase} @library{wxbase}
@category{misc} @category{cfg}
@see wxLocale @see wxLocale
*/ */