Commit 965608c3 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED Viewer's type is now declared as a Qt type

+ CepGenerator comment clarification
parent 3571e27e
......@@ -76,7 +76,8 @@ public :
*
* <b>Supposes that the CEP does NOT exist.</b>
*
* \note the CepGenerator instance <b>takes ownership</b>, you need to use std::move(yourDomCEP) for the first parameter
* \note the CepGenerator instance <b>takes ownership</b> of \c domCep. When sending your \c unique_ptr you need
* to use \c std::move(yourDomCep) for the first parameter
*
**/
CepGenerator(std::unique_ptr<cepcoreschema::Cep> domCep, QString devDirectoryName);
......
......@@ -106,7 +106,9 @@ public:
EMBEDDED, ///< this viewer is meant to be embedded inside a layout (of another viewer or widget), use embedIn(..) to set the layout it is embedded in (this is the default viewer type)
DOCKED, ///< this viewer is meant to be docked, use dockIn() to get the dock widget
};
Q_ENUMS(ViewerType)
/// default constructor
Viewer(QString name, ViewerType type = EMBEDDED);
......@@ -251,4 +253,6 @@ private:
}
Q_DECLARE_METATYPE(camitk::Viewer::ViewerType)
#endif // VIEWER_H
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment