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

@@ -57,12 +57,12 @@ bool DVEventInterface::wheelEvent(QWheelEvent *event) {
}
/**
* @brief DVEventInterface::keyPressEvent
* By default, press escape key abort the curent action.
* isFinish return true, and emit finish
* @param event
* @return
*/
@brief DVEventInterface::keyPressEvent
By default, press escape key abort the curent action.
isFinish return true, and emit finish
@param event
@return
*/
bool DVEventInterface::keyPressEvent(QKeyEvent *event)
{
if (event->key() == Qt::Key_Escape)

View File

@@ -27,14 +27,18 @@ class DiagramView;
class Diagram;
/**
* @brief The DVEventInterface class
* This class is the main interface for manage event of a Diagram View.
* This do nothing, for create new event behavior, we must to create new class from this.
* Each method return a bool: True if the methode do something else return false.
* Each method of DVEventInterface return false;
* isRunning() return true if action is started but not finish. By default return false.
* isFinish() return true when the action is finish, or not started. By default return true.
*/
@brief The DVEventInterface class
This class is the main interface for manage event of a Diagram View.
This do nothing, for create new event behavior,
we must to create new class from this.
Each method return a bool:
True if the methode do something else return false.
Each method of DVEventInterface return false;
isRunning() return true if action is started but not finish.
By default return false.
isFinish() return true when the action is finish, or not started.
By default return true.
*/
class DVEventInterface : public QObject
{
Q_OBJECT
@@ -54,8 +58,8 @@ class DVEventInterface : public QObject
signals:
/**
* @brief finish
* emited when the interface finish is work
@brief finish
emited when the interface finish is work
*/
void finish();