digiKam
metadatacheckbox.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam project
4
* https://www.digikam.org
5
*
6
* Date : 2006-10-18
7
* Description : a checkbox with a boolean valid parameter.
8
* The boolean statement is used to check if
9
* a metadata value from a picture have a know
10
* value registered by EXIF/IPTC spec.
11
*
12
* Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
13
*
14
* This program is free software; you can redistribute it
15
* and/or modify it under the terms of the GNU General
16
* Public License as published by the Free Software Foundation;
17
* either version 2, or (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
23
*
24
* ============================================================ */
25
26
#ifndef DIGIKAM_METADATA_CHECKBOX_H
27
#define DIGIKAM_METADATA_CHECKBOX_H
28
29
// Qt includes
30
31
#include <QCheckBox>
32
33
namespace
DigikamGenericMetadataEditPlugin
34
{
35
36
class
MetadataCheckBox
:
public
QCheckBox
37
{
38
Q_OBJECT
39
40
public
:
41
42
explicit
MetadataCheckBox
(
const
QString& text, QWidget*
const
parent);
43
~MetadataCheckBox
()
override
;
44
45
void
setValid
(
bool
v);
46
bool
isValid
()
const
;
47
48
private
Q_SLOTS:
49
50
void
slotValid();
51
52
private
:
53
54
bool
m_valid;
55
};
56
57
}
// namespace DigikamGenericMetadataEditPlugin
58
59
#endif
// DIGIKAM_METADATA_CHECKBOX_H
DigikamGenericMetadataEditPlugin::MetadataCheckBox
Definition:
metadatacheckbox.h:37
DigikamGenericMetadataEditPlugin::MetadataCheckBox::isValid
bool isValid() const
Definition:
metadatacheckbox.cpp:48
DigikamGenericMetadataEditPlugin::MetadataCheckBox::~MetadataCheckBox
~MetadataCheckBox() override
Definition:
metadatacheckbox.cpp:39
DigikamGenericMetadataEditPlugin::MetadataCheckBox::setValid
void setValid(bool v)
Definition:
metadatacheckbox.cpp:43
DigikamGenericMetadataEditPlugin::MetadataCheckBox::MetadataCheckBox
MetadataCheckBox(const QString &text, QWidget *const parent)
Definition:
metadatacheckbox.cpp:31
DigikamGenericMetadataEditPlugin
Definition:
altlangstringedit.cpp:39
core
dplugins
generic
metadata
metadataedit
dialog
metadatacheckbox.h
Generated by
1.9.1