Inkscape
Vector Graphics Editor
|
Widget for specifying a document's license; part of document preferences dialog. More...
#include <licensor.h>
Public Member Functions | |
Licensor () | |
~Licensor () final | |
void | init (Registry &) |
LicenseItem * | add_item (Registry &wr, rdf_license_t const &license, Gtk::CheckButton *group) |
void | update (SPDocument *doc) |
Private Attributes | |
std::unique_ptr< EntityEntry > | _eentry |
std::vector< LicenseItem * > | _items |
Widget for specifying a document's license; part of document preferences dialog.
Definition at line 44 of file licensor.h.
Inkscape::UI::Widget::Licensor::Licensor | ( | ) |
Definition at line 80 of file licensor.cpp.
|
finaldefault |
LicenseItem * Inkscape::UI::Widget::Licensor::add_item | ( | Registry & | wr, |
rdf_license_t const & | license, | ||
Gtk::CheckButton * | group | ||
) |
Definition at line 113 of file licensor.cpp.
References _eentry, _items, Inkscape::append(), and item.
Referenced by init().
void Inkscape::UI::Widget::Licensor::init | ( | Registry & | wr | ) |
Definition at line 87 of file licensor.cpp.
References _eentry, Inkscape::UI::Widget::_other_license, Inkscape::UI::Widget::_proprietary_license, add_item(), Inkscape::UI::Widget::EntityEntry::create(), item, rdf_license_t::name, Inkscape::UI::pack_start(), rdf_find_entity(), rdf_licenses, and Inkscape::UI::Widget::Registry::setUpdating().
Referenced by Inkscape::UI::Dialog::DocumentProperties::build_metadata().
void Inkscape::UI::Widget::Licensor::update | ( | SPDocument * | doc | ) |
Definition at line 123 of file licensor.cpp.
References _eentry, _items, item, rdf_get_license(), and SPItem::update().
Referenced by Inkscape::UI::Dialog::DocumentProperties::update_widgets().
|
private |
Definition at line 55 of file licensor.h.
Referenced by add_item(), init(), and update().
|
private |
Definition at line 56 of file licensor.h.
Referenced by add_item(), and update().