NDEVR
API Documentation
RibbonArea.h
1/*--------------------------------------------------------------------------------------------
2Copyright (c) 2019, NDEVR LLC
3tyler.parke@ndevr.org
4 __ __ ____ _____ __ __ _______
5 | \ | | | __ \ | ___|\ \ / / | __ \
6 | \ | | | | \ \ | |___ \ \ / / | |__) |
7 | . \| | | |__/ / | |___ \ V / | _ /
8 | |\ |_|_____/__|_____|___\_/____| | \ \
9 |__| \__________________________________| \__\
10
11Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12Licensee a limited, non-exclusive, non-transferable, royalty-free license
13(without the right to sublicense) to use the API solely for the purpose of
14Licensee's internal development efforts to develop applications for which
15the API was provided.
16
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25DEALINGS IN THE SOFTWARE.
26
27Library: Widgets
28File: RibbonArea
29Included in API: True
30Author(s): Tyler Parke
31 *-----------------------------------------------------------------------------------------**/
32#pragma once
33#include <QFlags>
34class QWidget;
35class QSplitter;
36namespace NDEVR
37{
39 class SectionWidget;
40 class QCustomSplitter;
41
66
82}
83
The root class that manages a series of SectionContent that can share the same space or lay out in va...
A splitter lets the user control the size of 2 child widgets by dragging the boundary between them.
SectionWidget manages multiple instances of SectionContent.
The primary namespace for the NDEVR SDK.
@ e_top
Align text to the top.
Definition Font.h:321
@ e_bottom
Align text to the bottom.
Definition Font.h:322
@ e_right
Align text to the right.
Definition Font.h:320
@ e_left
Align text to the left.
Definition Font.h:319
DropArea
relates where a widget should be dropped relative to another.
Definition RibbonArea.h:46
@ e_drop_center
Drop into the center (tabbed area) of the target.
Definition RibbonArea.h:49
@ e_drop_top_insert
Insert above the target within an existing splitter.
Definition RibbonArea.h:61
@ e_drop_popup
Drop into a popup/floating container.
Definition RibbonArea.h:48
@ e_drop_bottom_insert
Insert below the target within an existing splitter.
Definition RibbonArea.h:64
@ e_drop_bottom_direct_fixed
Drop directly below the target as a fixed panel.
Definition RibbonArea.h:59
@ e_drop_bottom_fixed
Drop below the target as a fixed panel.
Definition RibbonArea.h:54
@ e_drop_top_fixed
Drop above the target as a fixed panel.
Definition RibbonArea.h:51
@ e_drop_right_insert
Insert to the right of the target within an existing splitter.
Definition RibbonArea.h:62
@ e_drop_top_direct_fixed
Drop directly above the target as a fixed panel (no splitter).
Definition RibbonArea.h:56
@ e_drop_left_fixed
Drop to the left of the target as a fixed panel.
Definition RibbonArea.h:53
@ e_drop_right_fixed
Drop to the right of the target as a fixed panel.
Definition RibbonArea.h:52
@ e_drop_right_direct_fixed
Drop directly to the right of the target as a fixed panel.
Definition RibbonArea.h:57
@ e_drop_invalid
No valid drop target.
Definition RibbonArea.h:47
@ e_drop_left_direct_fixed
Drop directly to the left of the target as a fixed panel.
Definition RibbonArea.h:58
@ e_drop_left_insert
Insert to the left of the target within an existing splitter.
Definition RibbonArea.h:63
RibbonArea
Requests a ribbon or tab area to be in a certain location and orientation relative to another widget.
Definition RibbonArea.h:71
@ e_vertical_menu
Ribbon displayed as a vertical menu.
Definition RibbonArea.h:80
@ e_keep_square
Keeps the ribbon area in a square aspect ratio.
Definition RibbonArea.h:72
@ e_right_horizontal
Ribbon positioned on the right but oriented horizontally.
Definition RibbonArea.h:78
@ e_left_horizontal
Ribbon positioned on the left but oriented horizontally.
Definition RibbonArea.h:77
@ e_vertical_accordian
Ribbon displayed as a vertical accordion menu.
Definition RibbonArea.h:79