Inkscape
Vector Graphics Editor
licensor.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
6
/*
7
* Authors:
8
* bulia byak <buliabyak@users.sf.net>
9
* Bryce W. Harrington <bryce@bryceharrington.org>
10
* Lauris Kaplinski <lauris@kaplinski.com>
11
* Jon Phillips <jon@rejon.org>
12
* Ralf Stephan <ralf@ark.in-berlin.de> (Gtkmm)
13
* Abhishek Sharma
14
*
15
* Copyright (C) 2000 - 2005 Authors
16
*
17
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
18
*/
19
20
#ifndef INKSCAPE_UI_WIDGET_LICENSOR_H
21
#define INKSCAPE_UI_WIDGET_LICENSOR_H
22
23
#include <memory>
24
#include <vector>
25
#include <gtkmm/box.h>
26
27
class
SPDocument
;
28
struct
rdf_license_t
;
29
30
namespace
Gtk
{
31
class
CheckButton;
32
}
// namespace Gtk
33
34
namespace
Inkscape::UI::Widget
{
35
36
class
EntityEntry;
37
class
LicenseItem;
38
class
Registry;
39
44
class
Licensor
final :
public
Gtk::Box {
45
public
:
46
Licensor
();
47
~Licensor
() final;
48
49
void
init
(
Registry
&);
50
LicenseItem *
add_item
(
Registry
&wr,
rdf_license_t
const &license,
51
Gtk
::CheckButton *group);
52
void
update
(
SPDocument
*doc);
53
54
private:
55
std
::unique_ptr<
EntityEntry
>
_eentry
;
56
std
::vector<LicenseItem *>
_items
;
57
};
58
59
}
// namespace Inkscape::UI::Widget
60
61
#endif
// INKSCAPE_UI_WIDGET_LICENSOR_H
62
63
/*
64
Local Variables:
65
mode:c++
66
c-file-style:"stroustrup"
67
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
68
indent-tabs-mode:nil
69
fill-column:99
70
End:
71
*/
72
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
Inkscape::UI::Widget::EntityEntry
Definition:
entity-entry.h:29
Inkscape::UI::Widget::Licensor
Widget for specifying a document's license; part of document preferences dialog.
Definition:
licensor.h:44
Inkscape::UI::Widget::Licensor::_eentry
std::unique_ptr< EntityEntry > _eentry
Definition:
licensor.h:55
Inkscape::UI::Widget::Licensor::Licensor
Licensor()
Definition:
licensor.cpp:80
Inkscape::UI::Widget::Licensor::init
void init(Registry &)
Definition:
licensor.cpp:87
Inkscape::UI::Widget::Licensor::update
void update(SPDocument *doc)
Definition:
licensor.cpp:123
Inkscape::UI::Widget::Licensor::_items
std::vector< LicenseItem * > _items
Definition:
licensor.h:56
Inkscape::UI::Widget::Licensor::add_item
LicenseItem * add_item(Registry &wr, rdf_license_t const &license, Gtk::CheckButton *group)
Definition:
licensor.cpp:113
Inkscape::UI::Widget::Licensor::~Licensor
~Licensor() final
Inkscape::UI::Widget::Registry
Definition:
registry.h:19
SPDocument
Typed SVG document implementation.
Definition:
document.h:106
Gtk
Definition:
desktop.h:51
Inkscape::UI::Widget
Custom widgets.
Definition:
desktop.h:127
std
STL namespace.
rdf_license_t
Holds license name and RDF information.
Definition:
rdf.h:33
src
ui
widget
licensor.h
Generated on Sun Apr 7 2024 04:01:33 for Inkscape by
1.9.4