mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
folio report: improve GUI and add unlinkcommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2720 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -598,8 +598,24 @@ class LinkElementsCommand : public QUndoCommand {
|
||||
|
||||
private:
|
||||
//attributes
|
||||
Diagram*diagram_;
|
||||
Element *elmt_1, *elmt_2;
|
||||
Diagram *diagram_;
|
||||
Element *elmt_1, *elmt_2, *previous_report;
|
||||
};
|
||||
|
||||
class unlinkElementsCommand : public QUndoCommand {
|
||||
public:
|
||||
//constructor destructor
|
||||
unlinkElementsCommand (Element *elmt1, Element *elmt2 = 0, QUndoCommand *parent = 0);
|
||||
virtual ~unlinkElementsCommand();
|
||||
//methods
|
||||
virtual void undo();
|
||||
virtual void redo();
|
||||
|
||||
private:
|
||||
//attributes
|
||||
Diagram *diagram_;
|
||||
Element *element_;
|
||||
QList <Element *> elmt_list;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user