Mod doc set style de same

This commit is contained in:
Simon De Backer
2020-08-16 11:19:36 +02:00
parent 90417ae509
commit d4ee161c07
274 changed files with 6823 additions and 6756 deletions

View File

@@ -23,10 +23,10 @@
#include <QAbstractItemModel>
/**
* @brief ElementProvider::ElementProvider Constructor
* @param prj the project where we must find element
* @param diagram the diagram to exclude from the search
*/
@brief ElementProvider::ElementProvider Constructor
@param prj the project where we must find element
@param diagram the diagram to exclude from the search
*/
ElementProvider::ElementProvider(QETProject *prj, Diagram *diagram)
{
m_diagram_list = prj->diagrams();
@@ -34,22 +34,22 @@ ElementProvider::ElementProvider(QETProject *prj, Diagram *diagram)
}
/**
* @brief ElementProvider::ElementProvider Constructor
* @param diag Diagram to search
*/
@brief ElementProvider::ElementProvider Constructor
@param diag Diagram to search
*/
ElementProvider::ElementProvider(Diagram *diag) {
m_diagram_list << diag;
}
/**
* @brief ElementProvider::FreeElement
* Search and return the asked element corresponding with the given filter
* All returned element are free, ie element aren't connected with another element
* @param filter
* the filter for search element
* (You can find all filter with the #define in Element.h)
* @return
*/
@brief ElementProvider::FreeElement
Search and return the asked element corresponding with the given filter
All returned element are free, ie element aren't connected with another element
@param filter
the filter for search element
(You can find all filter with the #define in Element.h)
@return
*/
QList <Element *> ElementProvider::freeElement(const int filter) const{
QList <Element *> free_elmt;
@@ -67,10 +67,10 @@ QList <Element *> ElementProvider::freeElement(const int filter) const{
}
/**
* @brief ElementProvider::fromUuids
* @param uuid_list list of uuid must be found
* @return all elements with uuid corresponding to uuid in @uuid_list
*/
@brief ElementProvider::fromUuids
@param uuid_list list of uuid must be found
@return all elements with uuid corresponding to uuid in @uuid_list
*/
QList <Element *> ElementProvider::fromUuids(QList<QUuid> uuid_list) const {
QList <Element *> found_element;
@@ -86,12 +86,12 @@ QList <Element *> ElementProvider::fromUuids(QList<QUuid> uuid_list) const {
}
/**
* @brief ElementProvider::find
* Search and return the asked element corresponding with the given filter
* @param filter
* the filter for search element
* (You can find all filter with the #define in Element.h)
*/
@brief ElementProvider::find
Search and return the asked element corresponding with the given filter
@param filter
the filter for search element
(You can find all filter with the #define in Element.h)
*/
QList <Element *> ElementProvider::find(const int filter) const {
QList <Element *> elmt_;
@@ -109,12 +109,12 @@ QList <Element *> ElementProvider::find(const int filter) const {
}
/**
* @brief ElementProvider::table
* @param table
* @param model
* @return All tables wich display the derivated class of @model (if set) and not already in all the chain of next/previous table of @table (if set)
* If table and model are nullptr, return every tables
*/
@brief ElementProvider::table
@param table
@param model
@return All tables wich display the derivated class of @model (if set) and not already in all the chain of next/previous table of @table (if set)
If table and model are nullptr, return every tables
*/
QVector<QetGraphicsTableItem *> ElementProvider::table(QetGraphicsTableItem *table, QAbstractItemModel *model)
{
QVector<QetGraphicsTableItem *> v_;
@@ -158,10 +158,10 @@ QVector<QetGraphicsTableItem *> ElementProvider::table(QetGraphicsTableItem *tab
}
/**
* @brief ElementProvider::tableFromUuid
* @param uuid
* @return the table with uuid @uuid or nullptr if not found
*/
@brief ElementProvider::tableFromUuid
@param uuid
@return the table with uuid @uuid or nullptr if not found
*/
QetGraphicsTableItem *ElementProvider::tableFromUuid(const QUuid &uuid)
{
for (auto table : this->table())