Doc update

This commit is contained in:
Matthias Koefferlein 2026-03-01 15:32:21 +01:00
parent b657cd9b57
commit 8a594c1626
1 changed files with 5 additions and 1 deletions

View File

@ -156,9 +156,13 @@ Class<lay::LayoutView> decl_LayoutView (decl_LayoutViewBase, "lay", "LayoutView"
gsi::constructor ("new", &new_view, gsi::arg ("editable", false), gsi::arg ("manager", (db::Manager *) 0, "nil"), gsi::arg ("options", (unsigned int) 0),
"@brief Creates a standalone view\n"
"\n"
"This constructor is for special purposes only. To create a view in the context of a main window, "
"This constructor creates a non-GUI, standalone layout view. It is not attached to a Qt object and can be used for generating "
"images through the screenshot method for example. To create a view in the context of a main window, "
"use \\MainWindow#create_view and related methods.\n"
"\n"
"A standalone layout view has a default configuration that is different from a standard view - for example the "
"color scheme is not initialized according to screen settings.\n"
"\n"
"@param editable True to make the view editable\n"
"@param manager The \\Manager object to enable undo/redo\n"
"@param options A combination of the values in the LV_... constants from \\LayoutViewBase\n"