diff options
Diffstat (limited to 'doc/src/snippets/code/tools_designer_src_lib_sdk_abstractformwindowmanager.cpp')
-rw-r--r-- | doc/src/snippets/code/tools_designer_src_lib_sdk_abstractformwindowmanager.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/snippets/code/tools_designer_src_lib_sdk_abstractformwindowmanager.cpp b/doc/src/snippets/code/tools_designer_src_lib_sdk_abstractformwindowmanager.cpp new file mode 100644 index 0000000..b54f0a6 --- /dev/null +++ b/doc/src/snippets/code/tools_designer_src_lib_sdk_abstractformwindowmanager.cpp @@ -0,0 +1,11 @@ +//! [0] + QDesignerFormWindowManagerInterface *manager = 0; + QDesignerFormWindowInterface *formWindow = 0; + + manager = formEditor->formWindowManager(); + formWindow = manager->formWindow(0); + + manager->setActiveFormWindow(formWindow); +//! [0] + + |