15#ifndef INKSCAPE_UI_TOOLBAR_PAGE_TOOLBAR_H
16#define INKSCAPE_UI_TOOLBAR_PAGE_TOOLBAR_H
20#include <sigc++/scoped_connection.h>
70 void sizeChoose(
const std::string &preset_key);
110 double _unit_to_size(std::string number, std::string unit_str, std::string
const &backup);
sigc::scoped_connection _pages_changed
Gtk::Label & _label_page_pos
Inkscape::UI::Widget::MathSpinButton & _margin_left
Inkscape::UI::Widget::MathSpinButton & _margin_bottom
void setDesktop(SPDesktop *desktop) override
Glib::RefPtr< Gtk::ListStore > _sizes_list
sigc::scoped_connection _doc_connection
Inkscape::UI::Widget::MathSpinButton & _margin_top
void selectionChanged(SPPage *page)
void sizeChoose(const std::string &preset_key)
void setLabelText(SPPage *page=nullptr)
Sets the label of the page to the text box.
Glib::RefPtr< Gtk::ListStore > _sizes_search
Gtk::Button & _btn_move_toggle
Gtk::Button & _btn_page_backward
Gtk::Entry * _entry_page_sizes
void populate_sizes()
Take all selectable page sizes and add to search and dropdowns.
void marginBottomEdited()
void toolChanged(SPDesktop *desktop, Inkscape::UI::Tools::ToolBase *tool)
void setSizeText(SPPage *page=nullptr, bool display_only=true)
Sets the size of the current page into the entry page size.
sigc::scoped_connection _page_modified
void selectionModified(SPPage *page)
Update all the elements that might have changed within a page.
Gtk::Entry & _text_page_label
Gtk::Entry & _text_page_margins
Gtk::ComboBoxText & _combo_page_sizes
double _unit_to_size(std::string number, std::string unit_str, std::string const &backup)
Convert the parsed sections of a text input into a desktop pixel value.
Gtk::Popover & _margin_popover
Gtk::Button & _btn_page_delete
void marginSideEdited(int side, const Glib::ustring &value)
Inkscape::UI::Widget::MathSpinButton & _margin_right
void setMarginText(SPPage *page=nullptr)
void sizeChanged()
A manually typed input size, parse out what we can understand from the text or ignore it if the text ...
Gtk::Entry & _text_page_bleeds
sigc::scoped_connection _page_selected
Gtk::Button & _btn_page_foreward
To do: update description of desktop.
Typed SVG document implementation.
Helper class to stream background task notifications as a series of messages.
Glib::RefPtr< Gtk::Builder > builder