Sun, 06 Sep 2015 15:14:27 +0300
Add ${LDFORGE_HEADERS} into the add_executable call so that header files without corresponding source files show up in Qt Creator's project listing
#pragma once #include <QObject> #include "main.h" class MainWindow; class ConfigurationValueBag; class GuiUtilities; class LDDocument; // // Objects that are to take part in the MainWindow's hierarchy multiple-inherit from this class to get a few useful // pointer members. // class HierarchyElement { public: HierarchyElement (QObject* parent); const LDObjectList& selectedObjects(); LDDocument* currentDocument(); GuiUtilities* guiUtilities() const; protected: MainWindow* m_window; ConfigurationValueBag* m_config; };