![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtOhosAppKit More...
#include <qohossharekit_p.h>
Public Member Functions | |
| virtual | ~ShareControllerOptions () |
| virtual void | setAnchorOffset (QPoint anchorOffset)=0 |
| Sets sharing pop-up window anchor window offset with a given anchorOffset. | |
| virtual void | setAnchor (QRect anchor)=0 |
| Sets anchor offset and size with a given anchor. | |
| virtual void | setSingleSelectionMode (bool singleSelectionMode)=0 |
| Sets sharing selection mode with a given singleSelectionMode. | |
| virtual void | setDefaultPreviewMode (bool defaultPreviewMode)=0 |
| Set sharing panel preview mode with a given defaultPreviewMode. | |
| virtual void | setExcludedAbilities (const QList< ShareAbilityType > &excludedAbilities)=0 |
| Set a list of capabilities that do not need to be displayed in the operation area. | |
Protected Member Functions | |
| ShareControllerOptions () | |
\inmodule QtOhosAppKit
The ShareControllerOptions class is to configure items, such as the preview mode of the shared content, selection mode, and other information, and pop-up window anchor. It determines the display style of the sharing panel. See \l {https://developer.huawei.com/consumer/en/doc/harmonyos-references/share-system-share#section107934816010} {ShareControllerOptions}
Definition at line 84 of file qohossharekit_p.h.
|
virtualdefault |
|
protecteddefault |
Sets anchor offset and size with a given anchor.
See \l {https://developer.huawei.com/consumer/en/doc/harmonyos-references/share-system-share#section19505934714} {ShareControllerAnchor}
|
pure virtual |
Sets sharing pop-up window anchor window offset with a given anchorOffset.
See \l {https://developer.huawei.com/consumer/en/doc/harmonyos-references/share-system-share#section107934816010} {ShareControllerOptions.anchor}
|
pure virtual |
Set sharing panel preview mode with a given defaultPreviewMode.
If defaultPreviewMode is true, default preview mode (thumbnail card) is set, detail mode otherwise. Detail mode is recommended for images and videos. See \l {https://developer.huawei.com/consumer/en/doc/harmonyos-references/share-system-share#section107934816010} {ShareControllerOptions.previewMode}
|
pure virtual |
Set a list of capabilities that do not need to be displayed in the operation area.
See \l {https://developer.huawei.com/consumer/en/doc/harmonyos-references/share-system-share#section107934816010} {ShareControllerOptions.excludedAbilities}
|
pure virtual |
Sets sharing selection mode with a given singleSelectionMode.
If singleSelectionMode is true, single selection is set, batch mode otherwise. See \l {https://developer.huawei.com/consumer/en/doc/harmonyos-references/share-system-share#section107934816010} {ShareControllerOptions.selectionMode}