|
| CoreSymbol (const std::string &filename, Pool &pool) |
|
bool | has_object_type (ObjectType ty) const override |
|
Symbol * | get_symbol (bool work=true) |
|
Junction * | get_junction (const UUID &uu, bool work=true) override |
|
Line * | get_line (const UUID &uu, bool work=true) override |
|
SymbolPin * | get_symbol_pin (const UUID &uu, bool work=true) |
|
Arc * | get_arc (const UUID &uu, bool work=true) override |
|
Junction * | insert_junction (const UUID &uu, bool work=true) override |
|
void | delete_junction (const UUID &uu, bool work=true) override |
|
Line * | insert_line (const UUID &uu, bool work=true) override |
|
void | delete_line (const UUID &uu, bool work=true) override |
|
Arc * | insert_arc (const UUID &uu, bool work=true) override |
|
void | delete_arc (const UUID &uu, bool work=true) override |
|
SymbolPin * | insert_symbol_pin (const UUID &uu, bool work=true) |
|
void | delete_symbol_pin (const UUID &uu, bool work=true) |
|
class LayerProvider * | get_layer_provider () override |
|
std::vector< Line * > | get_lines (bool work=true) override |
|
std::vector< Arc * > | get_arcs (bool work=true) override |
|
std::vector< const Pin * > | get_pins (bool work=true) |
|
void | rebuild (bool from_undo=false) override |
| Expands the non-working document. More...
|
|
void | commit () override |
|
void | revert () override |
|
bool | set_property (ObjectType type, const UUID &uu, ObjectProperty::ID property, const class PropertyValue &value) override |
|
bool | get_property (ObjectType type, const UUID &uu, ObjectProperty::ID property, class PropertyValue &value) override |
|
bool | get_property_meta (ObjectType type, const UUID &uu, ObjectProperty::ID property, class PropertyMeta &meta) override |
|
std::string | get_display_name (ObjectType type, const UUID &uu) override |
|
const Symbol * | get_canvas_data () |
|
std::pair< Coordi, Coordi > | get_bbox () override |
|
bool | can_search_for_object_type (ObjectType type) const override |
|
std::list< SearchResult > | search (const SearchQuery &q) override |
|
void | reload_pool () override |
|
void | set_pin_display_mode (Symbol::PinDisplayMode mode) |
|
const std::string & | get_filename () const override |
|
virtual class Text * | insert_text (const UUID &uu, bool work=true) |
|
virtual class Text * | get_text (const UUID &uu, bool work=true) |
|
virtual void | delete_text (const UUID &uu, bool work=true) |
|
virtual class Polygon * | insert_polygon (const UUID &uu, bool work=true) |
|
virtual class Polygon * | get_polygon (const UUID &uu, bool work=true) |
|
virtual void | delete_polygon (const UUID &uu, bool work=true) |
|
virtual class Hole * | insert_hole (const UUID &uu, bool work=true) |
|
virtual class Hole * | get_hole (const UUID &uu, bool work=true) |
|
virtual void | delete_hole (const UUID &uu, bool work=true) |
|
virtual class Dimension * | insert_dimension (const UUID &uu) |
|
virtual class Dimension * | get_dimension (const UUID &uu) |
|
virtual void | delete_dimension (const UUID &uu) |
|
virtual class Keepout * | insert_keepout (const UUID &uu) |
|
virtual class Keepout * | get_keepout (const UUID &uu) |
|
virtual void | delete_keepout (const UUID &uu) |
|
virtual std::vector< Keepout * > | get_keepouts () |
|
virtual class Block * | get_block (bool work=true) |
|
ToolResponse | tool_begin (ToolID tool_id, const ToolArgs &args, class ImpInterface *imp, bool transient=false) |
|
ToolResponse | tool_update (const ToolArgs &args) |
|
std::pair< bool, bool > | tool_can_begin (ToolID tool_id, const std::set< SelectableRef > &selection) |
|
bool | tool_handles_esc () |
|
void | save () |
|
void | autosave () |
|
void | undo () |
|
void | redo () |
|
bool | can_undo () const |
|
bool | can_redo () const |
|
bool | tool_is_active () |
|
virtual std::string | get_display_name (ObjectType type, const UUID &uu, const UUID &sheet) |
|
void | set_property_begin () |
|
void | set_property_commit () |
|
bool | get_property_transaction () const |
|
virtual json | get_meta () |
|
virtual class Rules * | get_rules () |
|
virtual void | update_rules () |
|
bool | get_needs_save () const |
|
void | set_needs_save () |
|
type_signal_tool_changed | signal_tool_changed () |
|
type_signal_rebuilt | signal_rebuilt () |
|
type_signal_rebuilt | signal_save () |
| Gets emitted right before saving. More...
|
|
type_signal_rebuilt | signal_modified () |
|
type_signal_rebuilt | signal_can_undo_redo () |
|
type_signal_request_save_meta | signal_request_save_meta () |
| connect to this signal for providing meta information when the document is saved
|
|
type_signal_needs_save | signal_needs_save () |
|
type_signal_load_tool_settings | signal_load_tool_settings () |
|
type_signal_save_tool_settings | signal_save_tool_settings () |
|
|
typedef sigc::signal< void, ToolID > | type_signal_tool_changed |
|
typedef sigc::signal< void > | type_signal_rebuilt |
|
typedef sigc::signal< json > | type_signal_request_save_meta |
|
typedef sigc::signal< void, bool > | type_signal_needs_save |
|
typedef sigc::signal< json, ToolID > | type_signal_load_tool_settings |
|
typedef sigc::signal< void, ToolID, json > | type_signal_save_tool_settings |
|
std::set< SelectableRef > | selection |
|
Pool * | m_pool |
|
virtual std::map< UUID, Junction > * | get_junction_map (bool work=true) |
|
virtual std::map< UUID, Line > * | get_line_map (bool work=true) |
|
virtual std::map< UUID, Arc > * | get_arc_map (bool work=true) |
|
virtual std::map< UUID, Hole > * | get_hole_map (bool work=true) |
|
virtual std::map< UUID, Dimension > * | get_dimension_map () |
|
virtual std::map< UUID, Keepout > * | get_keepout_map () |
|
void | set_needs_save (bool v) |
|
void | history_clear () |
|
void | layers_to_meta (class PropertyMeta &meta) |
|
void | get_placement (const Placement &placement, class PropertyValue &value, ObjectProperty::ID property) |
|
void | set_placement (Placement &placement, const class PropertyValue &value, ObjectProperty::ID property) |
|
void | sort_search_results (std::list< Core::SearchResult > &results, const SearchQuery &q) |
|
bool | reverted = false |
|
std::unique_ptr< ToolBase > | tool = nullptr |
|
type_signal_tool_changed | s_signal_tool_changed |
|
type_signal_rebuilt | s_signal_rebuilt |
|
type_signal_rebuilt | s_signal_save |
|
type_signal_rebuilt | s_signal_modified |
|
type_signal_rebuilt | s_signal_can_undo_redo |
|
type_signal_request_save_meta | s_signal_request_save_meta |
|
type_signal_needs_save | s_signal_needs_save |
|
type_signal_load_tool_settings | s_signal_load_tool_settings |
|
type_signal_save_tool_settings | s_signal_save_tool_settings |
|
bool | needs_save = false |
|
std::deque< std::unique_ptr< HistoryItem > > | history |
|
int | history_current = -1 |
|
bool | property_transaction = false |
|
static const std::string | autosave_suffix = ".autosave" |
|