src/hierarchyelement.h

changeset 1328
d68d1ce89d05
parent 1326
69a90bd2dba2
child 1380
bc799b965418
equal deleted inserted replaced
1327:b179ab2f2c4e 1328:d68d1ce89d05
26 class GuiUtilities; 26 class GuiUtilities;
27 class LDDocument; 27 class LDDocument;
28 class DocumentManager; 28 class DocumentManager;
29 class PrimitiveManager; 29 class PrimitiveManager;
30 class Grid; 30 class Grid;
31 class MathFunctions;
32 class MainWindow; 31 class MainWindow;
33 32
34 // 33 //
35 // Objects that are to take part in the MainWindow's hierarchy multiple-inherit from this class to get a pointer back 34 // Objects that are to take part in the MainWindow's hierarchy multiple-inherit from this class to get a pointer back
36 // to the MainWindow class along with a few useful pointers and methods. 35 // to the MainWindow class along with a few useful pointers and methods.
43 QSet<LDObject *> selectedObjects(); 42 QSet<LDObject *> selectedObjects();
44 LDDocument* currentDocument() const; 43 LDDocument* currentDocument() const;
45 GuiUtilities* guiUtilities() const; 44 GuiUtilities* guiUtilities() const;
46 PrimitiveManager* primitives(); 45 PrimitiveManager* primitives();
47 Grid* grid() const; 46 Grid* grid() const;
48 MathFunctions* math() const;
49 47
50 // Utility functions 48 // Utility functions
51 QString preferredLicenseText() const; 49 QString preferredLicenseText() const;
52 50
53 // Format and print the given args to the message log. 51 // Format and print the given args to the message log.

mercurial