element collection widget : highlight unused element in a project.

the feature "clean project" does not clean unused elements yet


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4561 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-06-30 09:12:25 +00:00
parent 62c2806e31
commit 438ce78c4f
11 changed files with 240 additions and 93 deletions

View File

@@ -17,14 +17,20 @@
*/
#ifndef PROJECT_VIEW_H
#define PROJECT_VIEW_H
#include <QtWidgets>
#include <QWidget>
#include "templatelocation.h"
#include "qetresult.h"
class QETProject;
class DiagramView;
class Diagram;
class ElementsLocation;
class QTabWidget;
class QLabel;
class QVBoxLayout;
/**
This class provides a widget displaying the diagrams of a particular
project using tabs.
@@ -133,7 +139,7 @@ class ProjectView : public QWidget {
// attributes
private:
QAction *add_new_diagram_;
QETProject *project_;
QETProject *m_project;
QVBoxLayout *layout_;
QWidget *fallback_widget_;
QLabel *fallback_label_;