|
enum | LayoutMode { InvalidLayout
, FullLine
, TwoLines
, Compact
} |
|
enum | Mode {
InvalidMode
, UnconfirmedEditMode
, ConfirmedMode
, ConfirmedEditMode
,
IgnoredMode
} |
|
enum | TagEntryWidgetMode { InvalidTagEntryWidgetMode
, AddTagsComboBoxMode
, AddTagsLineEditMode
} |
|
enum | VisualStyle { InvalidVisualStyle
, StyledFrame
, TranslucentDarkRound
, TranslucentThemedFrameless
} |
|
◆ LayoutMode
Enumerator |
---|
InvalidLayout | |
FullLine | |
TwoLines | |
Compact | |
◆ Mode
Enumerator |
---|
InvalidMode | |
UnconfirmedEditMode | |
ConfirmedMode | |
ConfirmedEditMode | |
IgnoredMode | |
◆ TagEntryWidgetMode
Enumerator |
---|
InvalidTagEntryWidgetMode | |
AddTagsComboBoxMode | |
AddTagsLineEditMode | |
◆ VisualStyle
Enumerator |
---|
InvalidVisualStyle | |
StyledFrame | |
TranslucentDarkRound | |
TranslucentThemedFrameless | |
◆ AssignNameWidget()
Digikam::AssignNameWidget::AssignNameWidget |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
◆ ~AssignNameWidget()
Digikam::AssignNameWidget::~AssignNameWidget |
( |
| ) |
|
|
override |
◆ assigned
void Digikam::AssignNameWidget::assigned |
( |
const TaggingAction & |
action, |
|
|
const ItemInfo & |
info, |
|
|
const QVariant & |
faceIdentifier |
|
) |
| |
|
signal |
◆ comboBox()
◆ faceIdentifier()
QVariant Digikam::AssignNameWidget::faceIdentifier |
( |
| ) |
const |
◆ ignored
void Digikam::AssignNameWidget::ignored |
( |
const ItemInfo & |
info, |
|
|
const QVariant & |
faceIdentifier |
|
) |
| |
|
signal |
◆ ignoredClicked
void Digikam::AssignNameWidget::ignoredClicked |
( |
const ItemInfo & |
info, |
|
|
const QVariant & |
faceIdentifier |
|
) |
| |
|
signal |
In IgnoredMode, this signal is emitted when the user clicked on the label
Referenced by slotIgnoredClicked().
◆ info()
ItemInfo Digikam::AssignNameWidget::info |
( |
| ) |
const |
◆ keyPressEvent()
void Digikam::AssignNameWidget::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
overrideprotected |
◆ labelClicked
void Digikam::AssignNameWidget::labelClicked |
( |
const ItemInfo & |
info, |
|
|
const QVariant & |
faceIdentifier |
|
) |
| |
|
signal |
In ConfirmedMode, this signal is emitted when the user clicked on the label
Referenced by slotLabelClicked().
◆ layoutMode()
◆ lineEdit()
◆ mode()
◆ rejected
void Digikam::AssignNameWidget::rejected |
( |
const ItemInfo & |
info, |
|
|
const QVariant & |
faceIdentifier |
|
) |
| |
|
signal |
◆ selected
void Digikam::AssignNameWidget::selected |
( |
const TaggingAction & |
action, |
|
|
const ItemInfo & |
info, |
|
|
const QVariant & |
faceIdentifier |
|
) |
| |
|
signal |
An action has been selected. This purely signals user interaction, no fixed decision - mouse hover may be enough to emit this signal. The action may be invalid (user switched back to empty selection).
Referenced by slotActionSelected().
◆ setAlbumModels()
Set the tag model to use for completion.
References Digikam::AssignNameWidget::Private::comboBox, Digikam::ApplicationSettings::instance(), Digikam::AssignNameWidget::Private::lineEdit, Digikam::TagPropertiesFilterModel::listOnlyTagsWithProperty(), Digikam::AssignNameWidget::Private::modelsGiven, Digikam::TagPropertyName::person(), Digikam::AddTagsLineEdit::setAlbumModels(), Digikam::AddTagsComboBox::setAlbumModels(), Digikam::ApplicationSettings::showOnlyPersonTagsInPeopleSidebar(), Digikam::AssignNameWidget::Private::tagFilteredModel, Digikam::AssignNameWidget::Private::tagFilterModel, and Digikam::AssignNameWidget::Private::tagModel.
Referenced by Digikam::FaceGroup::Private::createAssignNameWidget(), and setDefaultModel().
◆ setCurrentFace
void Digikam::AssignNameWidget::setCurrentFace |
( |
const FaceTagsIface & |
face | ) |
|
|
slot |
◆ setCurrentTag [1/2]
void Digikam::AssignNameWidget::setCurrentTag |
( |
int |
tagId | ) |
|
|
slot |
◆ setCurrentTag [2/2]
void Digikam::AssignNameWidget::setCurrentTag |
( |
TAlbum * |
album | ) |
|
|
slot |
◆ setDefaultModel()
void Digikam::AssignNameWidget::setDefaultModel |
( |
| ) |
|
◆ setLayoutMode()
void Digikam::AssignNameWidget::setLayoutMode |
( |
LayoutMode |
mode | ) |
|
◆ setMode()
void Digikam::AssignNameWidget::setMode |
( |
Mode |
mode | ) |
|
◆ setParentTag
void Digikam::AssignNameWidget::setParentTag |
( |
TAlbum * |
album | ) |
|
|
slot |
◆ setTagEntryWidgetMode()
◆ setUserData
void Digikam::AssignNameWidget::setUserData |
( |
const ItemInfo & |
info, |
|
|
const QVariant & |
faceIdentifier = QVariant() |
|
) |
| |
|
slot |
The identifying information emitted with the signals
Ignored faces are drawn over with a different overlay, as Reject button should be disabled.
References ConfirmedMode, Digikam::FaceTagsIface::ConfirmedName, faceIdentifier(), Digikam::AssignNameWidget::Private::faceIdentifier, Digikam::FaceTagsIface::fromVariant(), IgnoredMode, Digikam::FaceTagsIface::IgnoredName, info(), Digikam::AssignNameWidget::Private::info, setMode(), Digikam::FaceTagsIface::type(), and UnconfirmedEditMode.
Referenced by Digikam::FaceGroup::Private::createAssignNameWidget(), and Digikam::AssignNameOverlay::updateFace().
◆ setVisualStyle()
void Digikam::AssignNameWidget::setVisualStyle |
( |
VisualStyle |
style | ) |
|
◆ showEvent()
void Digikam::AssignNameWidget::showEvent |
( |
QShowEvent * |
e | ) |
|
|
overrideprotected |
◆ slotActionActivated
void Digikam::AssignNameWidget::slotActionActivated |
( |
const TaggingAction & |
action | ) |
|
|
protectedslot |
◆ slotActionSelected
void Digikam::AssignNameWidget::slotActionSelected |
( |
const TaggingAction & |
action | ) |
|
|
protectedslot |
◆ slotConfirm
void Digikam::AssignNameWidget::slotConfirm |
( |
| ) |
|
|
protectedslot |
◆ slotIgnore
void Digikam::AssignNameWidget::slotIgnore |
( |
| ) |
|
|
protectedslot |
◆ slotIgnoredClicked
void Digikam::AssignNameWidget::slotIgnoredClicked |
( |
| ) |
|
|
protectedslot |
◆ slotLabelClicked
void Digikam::AssignNameWidget::slotLabelClicked |
( |
| ) |
|
|
protectedslot |
◆ slotReject
void Digikam::AssignNameWidget::slotReject |
( |
| ) |
|
|
protectedslot |
◆ tagEntryWidgetMode()
◆ visualStyle()
◆ layoutMode
◆ mode
Mode Digikam::AssignNameWidget::mode |
|
readwrite |
◆ tagEntryWidgetMode
◆ visualStyle
The documentation for this class was generated from the following files: