Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::UI::Dialog::ArrangeDialog Class Referencefinal

#include <tile.h>

Inheritance diagram for Inkscape::UI::Dialog::ArrangeDialog:
Inkscape::UI::Dialog::DialogBase

Public Member Functions

 ArrangeDialog ()
 
void desktopReplaced () final
 Called when the desktop has certainly changed.
 
void update_arrange_btn ()
 
void _apply ()
 Callback from Apply.
 
- Public Member Functions inherited from Inkscape::UI::Dialog::DialogBase
 DialogBase (char const *prefs_path=nullptr, Glib::ustring dialog_type={})
 DialogBase constructor.
 
 DialogBase (DialogBase const &)=delete
 
DialogBaseoperator= (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)
 
SPDesktopgetDesktop () 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

- Protected Member Functions inherited from Inkscape::UI::Dialog::DialogBase
InkscapeApplicationgetApp () const
 
SPDocumentgetDocument () const
 
SelectiongetSelection () const
 
void setShowing (bool showing)
 function called from notebook dialog that performs an update of the dialog and sets the dialog showing state true
 
- Protected Attributes inherited from Inkscape::UI::Dialog::DialogBase
Glib::ustring _name
 
Glib::ustring const _prefs_path
 
Glib::ustring const _dialog_type
 

Detailed Description

Definition at line 36 of file tile.h.

Constructor & Destructor Documentation

◆ ArrangeDialog()

Member Function Documentation

◆ _apply()

void Inkscape::UI::Dialog::ArrangeDialog::_apply ( )

◆ desktopReplaced()

void Inkscape::UI::Dialog::ArrangeDialog::desktopReplaced ( )
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().

◆ update_arrange_btn()

void Inkscape::UI::Dialog::ArrangeDialog::update_arrange_btn ( )

Definition at line 86 of file tile.cpp.

References _arrangeButton, and _notebook.

Referenced by ArrangeDialog().

Member Data Documentation

◆ _align_tab

AlignAndDistribute* Inkscape::UI::Dialog::ArrangeDialog::_align_tab = nullptr
private

Definition at line 53 of file tile.h.

Referenced by ArrangeDialog(), and desktopReplaced().

◆ _arrangeBox

Gtk::Box* Inkscape::UI::Dialog::ArrangeDialog::_arrangeBox = nullptr
private

Definition at line 51 of file tile.h.

Referenced by ArrangeDialog().

◆ _arrangeButton

Gtk::Button* Inkscape::UI::Dialog::ArrangeDialog::_arrangeButton = nullptr
private

Definition at line 56 of file tile.h.

Referenced by ArrangeDialog(), and update_arrange_btn().

◆ _gridArrangeTab

GridArrangeTab* Inkscape::UI::Dialog::ArrangeDialog::_gridArrangeTab = nullptr
private

Definition at line 54 of file tile.h.

Referenced by _apply(), ArrangeDialog(), and desktopReplaced().

◆ _notebook

Gtk::Notebook* Inkscape::UI::Dialog::ArrangeDialog::_notebook = nullptr
private

Definition at line 52 of file tile.h.

Referenced by _apply(), ArrangeDialog(), and update_arrange_btn().

◆ _polarArrangeTab

PolarArrangeTab* Inkscape::UI::Dialog::ArrangeDialog::_polarArrangeTab = nullptr
private

Definition at line 55 of file tile.h.

Referenced by _apply(), and ArrangeDialog().


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