| 
    QElectroTech
    0.70
    
   | 
 
#include <templatecommands.h>
Public Member Functions | |
| CutTemplateCellsCommand (TitleBlockTemplate *, QUndoCommand *=nullptr) | |
| ~CutTemplateCellsCommand () override | |
| void | undo () override | 
| void | redo () override | 
| virtual void | setCutCells (const QList< TitleBlockCell *> &) | 
  Public Member Functions inherited from TitleBlockTemplateCommand | |
| TitleBlockTemplateCommand (TitleBlockTemplate *=nullptr, QUndoCommand *=nullptr) | |
| ~TitleBlockTemplateCommand () override | |
| TitleBlockTemplate * | titleBlockTemplate () const | 
| void | setTitleBlockTemplate (TitleBlockTemplate *) | 
| TitleBlockTemplateView * | view () const | 
| void | setView (TitleBlockTemplateView *) | 
| void | refreshView () | 
| void | refreshLayout () | 
Public Attributes | |
| QHash< TitleBlockCell *, TitleBlockCell::TemplateCellType > | cut_cells_ | 
| Cut cells.  More... | |
Protected Member Functions | |
| virtual void | updateText () | 
Private Member Functions | |
| CutTemplateCellsCommand (const CutTemplateCellsCommand &) | |
Additional Inherited Members | |
  Protected Attributes inherited from TitleBlockTemplateCommand | |
| TitleBlockTemplate * | tbtemplate_ | 
| Modified TitleBlock Template.  More... | |
| TitleBlockTemplateView * | view_ | 
| This class may trigger a view update.  More... | |
This class represents the action of cutting a cells set.
Definition at line 265 of file templatecommands.h.
| CutTemplateCellsCommand::CutTemplateCellsCommand | ( | TitleBlockTemplate * | tb_template, | 
| QUndoCommand * | parent = nullptr  | 
        ||
| ) | 
Constructor
Definition at line 886 of file templatecommands.cpp.
      
  | 
  override | 
Destructor
Definition at line 894 of file templatecommands.cpp.
      
  | 
  private | 
      
  | 
  override | 
Redo a cut operation
Definition at line 910 of file templatecommands.cpp.
References cut_cells_, TitleBlockCell::EmptyCell, and TitleBlockTemplateCommand::refreshView().
      
  | 
  virtual | 
Definition at line 917 of file templatecommands.cpp.
References cut_cells_, and updateText().
      
  | 
  override | 
Undo a cut operation
Definition at line 900 of file templatecommands.cpp.
References cut_cells_, and TitleBlockTemplateCommand::refreshView().
      
  | 
  protectedvirtual | 
Update the label describing this command
Definition at line 927 of file templatecommands.cpp.
References cut_cells_, and QET::Icons::tr.
Referenced by setCutCells().
| QHash<TitleBlockCell *, TitleBlockCell::TemplateCellType> CutTemplateCellsCommand::cut_cells_ | 
Cut cells.
Definition at line 284 of file templatecommands.h.
Referenced by redo(), setCutCells(), undo(), and updateText().
 1.8.15