scidavis  2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
  Fossies Dox: scidavis-2.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

future_Folder.h
Go to the documentation of this file.
1 
12 
30 #ifndef FUTURE_FOLDER_H
31 #define FUTURE_FOLDER_H
32 
33 #include "core/AbstractAspect.h"
34 
35 namespace future{
37 class Folder : public AbstractAspect
38 {
39  Q_OBJECT
40 
41  public:
42  Folder(const QString &name);
43 
44  virtual ~Folder();
45 
46  virtual QIcon icon() const;
48 
51  virtual QMenu *createContextMenu() const;
52 
54 
55  virtual void save(QXmlStreamWriter *) const;
58  virtual bool load(XmlStreamReader *);
59  protected:
63 };
64 
65 } // namespace
66 #endif // ifndef FUTURE_FOLDER_H
future
Definition: AbstractAspect.h:43
XmlStreamReader
XML stream parser that supports errors as well as warnings.
Definition: XmlStreamReader.h:42
future::Folder
Folder in a project.
Definition: future_Folder.h:38
future::Folder::save
virtual void save(QXmlStreamWriter *) const
Save as XML.
Definition: future_Folder.cpp:67
future::Folder::Folder
Folder(const QString &name)
Definition: future_Folder.cpp:43
future::Folder::icon
virtual QIcon icon() const
Return an icon to be used for decorating my views.
Definition: future_Folder.cpp:52
AbstractAspect::name
QString name() const
Definition: AbstractAspect.cpp:229
future::Folder::createContextMenu
virtual QMenu * createContextMenu() const
Return a new context menu.
Definition: future_Folder.cpp:60
future::Folder::~Folder
virtual ~Folder()
Definition: future_Folder.cpp:48
future::Folder::load
virtual bool load(XmlStreamReader *)
Load from XML.
Definition: future_Folder.cpp:83
future::Folder::readChildAspectElement
bool readChildAspectElement(XmlStreamReader *reader)
Read child aspect from XML.
Definition: future_Folder.cpp:125
AbstractAspect.h
AbstractAspect
Base class of all persistent objects in a Project.
Definition: AbstractAspect.h:86