#include <deleteqgraphicsitemcommand.h>
◆ DeleteQGraphicsItemCommand() [1/2]
      
        
          | DeleteQGraphicsItemCommand::DeleteQGraphicsItemCommand | ( | Diagram * | diagram, | 
        
          |  |  | const DiagramContent & | content, | 
        
          |  |  | QUndoCommand * | parent = nullptr | 
        
          |  | ) |  |  | 
      
 
 
◆ ~DeleteQGraphicsItemCommand()
  
  | 
        
          | DeleteQGraphicsItemCommand::~DeleteQGraphicsItemCommand | ( |  | ) |  |  | override | 
 
 
◆ DeleteQGraphicsItemCommand() [2/2]
◆ redo()
  
  | 
        
          | void DeleteQGraphicsItemCommand::redo | ( |  | ) |  |  | override | 
 
 
◆ setPotentialsOfRemovedElements()
  
  | 
        
          | void DeleteQGraphicsItemCommand::setPotentialsOfRemovedElements | ( |  | ) |  |  | private | 
 
 
◆ terminalInSamePotential()
DeleteQGraphicsItemCommand::terminalInSamePotential Return a terminal at the same potential of terminal, by traveling through the conductors connected to terminal only if the owner element of the terminal is not delete by this undo command. Return nullptr if a terminal can't be found. 
- Parameters
- 
  
    | terminal | - terminal from search |  | conductor_to_exclude | - a conductor to exlcude from search. |  
 
- Returns
 
 
◆ undo()
  
  | 
        
          | void DeleteQGraphicsItemCommand::undo | ( |  | ) |  |  | override | 
 
 
◆ m_connected_terminals
  
  | 
        
          | QList<QPair<Terminal *, Terminal *> > DeleteQGraphicsItemCommand::m_connected_terminals |  | private | 
 
Keep the parent group of each deleted element text item. 
 
 
◆ m_diagram
  
  | 
        
          | Diagram* DeleteQGraphicsItemCommand::m_diagram |  | private | 
 
 
◆ m_elmt_text_hash
keep linked element for each removed element linked to other element. 
 
 
◆ m_grp_texts_hash
Keep the parent element of each deleted dynamic element text item. 
 
 
◆ m_link_hash
  
  | 
        
          | QHash<Element *, QList<Element *> > DeleteQGraphicsItemCommand::m_link_hash |  | private | 
 
 
◆ m_remove_linked_table
  
  | 
        
          | bool DeleteQGraphicsItemCommand::m_remove_linked_table = false |  | private | 
 
 
◆ m_removed_contents
◆ m_table_scene_hash
  
  | 
        
          | QHash<QetGraphicsTableItem *, QPointer<QGraphicsScene> > DeleteQGraphicsItemCommand::m_table_scene_hash |  | private | 
 
 
The documentation for this class was generated from the following files: