Inkscape
Vector Graphics Editor
|
#include <tile.h>
Public Member Functions | |
ArrangeDialog () | |
void | desktopReplaced () final |
Called when the desktop has certainly changed. | |
void | update_arrange_btn () |
void | _apply () |
Callback from Apply. | |
![]() | |
DialogBase (char const *prefs_path=nullptr, Glib::ustring dialog_type={}) | |
DialogBase constructor. | |
DialogBase (DialogBase const &)=delete | |
DialogBase & | operator= (DialogBase const &)=delete |
~DialogBase () override | |
virtual void | update () |
The update() method is essential to Gtk state management. | |
void | setDesktop (SPDesktop *new_desktop) |
Called when the desktop might have changed for this dialog. | |
void | on_map () override |
Glib::ustring const & | get_name () const |
Glib::ustring const & | getPrefsPath () const |
Glib::ustring const & | get_type () const |
const Glib::ustring & | get_icon () const |
void | blink () |
Highlight notebook where dialog already exists. | |
virtual void | focus_dialog () |
void | defocus_dialog () |
bool | getShowing () |
void | fix_inner_scroll (Gtk::ScrolledWindow &scrollwin) |
SPDesktop * | getDesktop () const |
Private Attributes | |
Gtk::Box * | _arrangeBox = nullptr |
Gtk::Notebook * | _notebook = nullptr |
AlignAndDistribute * | _align_tab = nullptr |
GridArrangeTab * | _gridArrangeTab = nullptr |
PolarArrangeTab * | _polarArrangeTab = nullptr |
Gtk::Button * | _arrangeButton = nullptr |
Additional Inherited Members | |
![]() | |
InkscapeApplication * | getApp () const |
SPDocument * | getDocument () const |
Selection * | getSelection () const |
void | setShowing (bool showing) |
function called from notebook dialog that performs an update of the dialog and sets the dialog showing state true | |
![]() | |
Glib::ustring | _name |
Glib::ustring const | _prefs_path |
Glib::ustring const | _dialog_type |
Inkscape::UI::Dialog::ArrangeDialog::ArrangeDialog | ( | ) |
Definition at line 42 of file tile.cpp.
References _align_tab, _apply(), _arrangeBox, _arrangeButton, _gridArrangeTab, _notebook, _polarArrangeTab, Inkscape::UI::Dialog::create_tab_label(), Inkscape::UI::pack_end(), Inkscape::UI::pack_start(), page, and update_arrange_btn().
void Inkscape::UI::Dialog::ArrangeDialog::_apply | ( | ) |
Callback from Apply.
Definition at line 96 of file tile.cpp.
References _gridArrangeTab, _notebook, _polarArrangeTab, Inkscape::UI::Dialog::GridArrangeTab::arrange(), and Inkscape::UI::Dialog::PolarArrangeTab::arrange().
Referenced by ArrangeDialog().
|
finalvirtual |
Called when the desktop has certainly changed.
It may have changed to nullptr when destructing the dialog, so the override should expect nullptr too.
Reimplemented from Inkscape::UI::Dialog::DialogBase.
Definition at line 112 of file tile.cpp.
References _align_tab, _gridArrangeTab, Inkscape::UI::Dialog::AlignAndDistribute::desktop_changed(), Inkscape::UI::Dialog::DialogBase::getDesktop(), and Inkscape::UI::Dialog::GridArrangeTab::setDesktop().
void Inkscape::UI::Dialog::ArrangeDialog::update_arrange_btn | ( | ) |
Definition at line 86 of file tile.cpp.
References _arrangeButton, and _notebook.
Referenced by ArrangeDialog().
|
private |
Definition at line 53 of file tile.h.
Referenced by ArrangeDialog(), and desktopReplaced().
|
private |
Definition at line 51 of file tile.h.
Referenced by ArrangeDialog().
|
private |
Definition at line 56 of file tile.h.
Referenced by ArrangeDialog(), and update_arrange_btn().
|
private |
Definition at line 54 of file tile.h.
Referenced by _apply(), ArrangeDialog(), and desktopReplaced().
|
private |
Definition at line 52 of file tile.h.
Referenced by _apply(), ArrangeDialog(), and update_arrange_btn().
|
private |
Definition at line 55 of file tile.h.
Referenced by _apply(), and ArrangeDialog().