Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::UI::Widget::Licensor Class Referencefinal

Widget for specifying a document's license; part of document preferences dialog. More...

#include <licensor.h>

Inheritance diagram for Inkscape::UI::Widget::Licensor:

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
 

Detailed Description

Widget for specifying a document's license; part of document preferences dialog.

Definition at line 44 of file licensor.h.

Constructor & Destructor Documentation

◆ Licensor()

Inkscape::UI::Widget::Licensor::Licensor ( )

Definition at line 80 of file licensor.cpp.

◆ ~Licensor()

Inkscape::UI::Widget::Licensor::~Licensor ( )
finaldefault

Member Function Documentation

◆ add_item()

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().

◆ init()

◆ update()

void Inkscape::UI::Widget::Licensor::update ( SPDocument doc)

Member Data Documentation

◆ _eentry

std::unique_ptr<EntityEntry> Inkscape::UI::Widget::Licensor::_eentry
private

Definition at line 55 of file licensor.h.

Referenced by add_item(), init(), and update().

◆ _items

std::vector<LicenseItem *> Inkscape::UI::Widget::Licensor::_items
private

Definition at line 56 of file licensor.h.

Referenced by add_item(), and update().


The documentation for this class was generated from the following files: