Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
vite
Commits
68d76d81
Commit
68d76d81
authored
Dec 02, 2018
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply patch 8 from issue
#13
- modernise use of override
parent
626b8c85
Changes
39
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
216 additions
and
217 deletions
+216
-217
externals/qtcolorpicker/src/qtcolorpicker.h
externals/qtcolorpicker/src/qtcolorpicker.h
+20
-20
src/common/Session.hpp
src/common/Session.hpp
+1
-1
src/core/Core.hpp
src/core/Core.hpp
+6
-6
src/interface/Interface_graphic.hpp
src/interface/Interface_graphic.hpp
+11
-11
src/interface/Interval_select.hpp
src/interface/Interval_select.hpp
+1
-1
src/interface/Node_select.hpp
src/interface/Node_select.hpp
+2
-2
src/interface/Settings_window.hpp
src/interface/Settings_window.hpp
+2
-2
src/interface/qxtspanslider.h
src/interface/qxtspanslider.h
+6
-6
src/interface/viteqtreewidget.hpp
src/interface/viteqtreewidget.hpp
+8
-9
src/parser/PajeParser/PajeFileManager.hpp
src/parser/PajeParser/PajeFileManager.hpp
+1
-1
src/parser/PajeParser/ParserPaje.hpp
src/parser/PajeParser/ParserPaje.hpp
+3
-3
src/parser/PajeParser/ParserVite.hpp
src/parser/PajeParser/ParserVite.hpp
+3
-3
src/parser/PajeParser/mt_PajeFileManager.hpp
src/parser/PajeParser/mt_PajeFileManager.hpp
+1
-1
src/parser/PajeParser/mt_ParserEventPaje.hpp
src/parser/PajeParser/mt_ParserEventPaje.hpp
+1
-1
src/parser/PajeParser/mt_ParserPaje.hpp
src/parser/PajeParser/mt_ParserPaje.hpp
+3
-3
src/parser/Parser.hpp
src/parser/Parser.hpp
+1
-1
src/parser/TauParser/ParserTau.hpp
src/parser/TauParser/ParserTau.hpp
+3
-3
src/plugin/Plugin_window.hpp
src/plugin/Plugin_window.hpp
+1
-1
src/render/GanttDiagram.hpp
src/render/GanttDiagram.hpp
+1
-1
src/render/Hook_event.hpp
src/render/Hook_event.hpp
+8
-8
src/render/Minimap.hpp
src/render/Minimap.hpp
+2
-2
src/render/Render_alternate.hpp
src/render/Render_alternate.hpp
+32
-32
src/render/Render_opengl.hpp
src/render/Render_opengl.hpp
+31
-31
src/render/Render_svg.hpp
src/render/Render_svg.hpp
+29
-29
src/render/render_stats_opengl.hpp
src/render/render_stats_opengl.hpp
+9
-9
src/render/render_stats_svg.hpp
src/render/render_stats_svg.hpp
+5
-5
src/statistics/DrawCounter.hpp
src/statistics/DrawCounter.hpp
+2
-2
src/statistics/DrawHDiagram.hpp
src/statistics/DrawHDiagram.hpp
+2
-2
src/statistics/DrawVDiagram.hpp
src/statistics/DrawVDiagram.hpp
+4
-4
src/statistics/Stats_window.hpp
src/statistics/Stats_window.hpp
+8
-8
src/trace/EntityValue.hpp
src/trace/EntityValue.hpp
+1
-1
src/trace/LinkType.hpp
src/trace/LinkType.hpp
+1
-1
src/trace/values/Color.hpp
src/trace/values/Color.hpp
+1
-1
src/trace/values/Date.hpp
src/trace/values/Date.hpp
+1
-1
src/trace/values/Double.hpp
src/trace/values/Double.hpp
+1
-1
src/trace/values/Hex.hpp
src/trace/values/Hex.hpp
+1
-1
src/trace/values/Integer.hpp
src/trace/values/Integer.hpp
+1
-1
src/trace/values/Name.hpp
src/trace/values/Name.hpp
+1
-1
src/trace/values/String.hpp
src/trace/values/String.hpp
+1
-1
No files found.
externals/qtcolorpicker/src/qtcolorpicker.h
View file @
68d76d81
...
...
@@ -87,14 +87,14 @@ signals:
void
clicked
();
protected:
void
mousePressEvent
(
QMouseEvent
*
e
);
void
mouseMoveEvent
(
QMouseEvent
*
e
);
void
mouseReleaseEvent
(
QMouseEvent
*
e
);
void
keyPressEvent
(
QKeyEvent
*
e
);
void
keyReleaseEvent
(
QKeyEvent
*
e
);
void
paintEvent
(
QPaintEvent
*
e
);
void
focusInEvent
(
QFocusEvent
*
e
);
void
focusOutEvent
(
QFocusEvent
*
e
);
void
mousePressEvent
(
QMouseEvent
*
e
)
override
;
void
mouseMoveEvent
(
QMouseEvent
*
e
)
override
;
void
mouseReleaseEvent
(
QMouseEvent
*
e
)
override
;
void
keyPressEvent
(
QKeyEvent
*
e
)
override
;
void
keyReleaseEvent
(
QKeyEvent
*
e
)
override
;
void
paintEvent
(
QPaintEvent
*
e
)
override
;
void
focusInEvent
(
QFocusEvent
*
e
)
override
;
void
focusOutEvent
(
QFocusEvent
*
e
)
override
;
};
class
ColorPickerItem
:
public
QFrame
...
...
@@ -104,7 +104,7 @@ class ColorPickerItem : public QFrame
public:
ColorPickerItem
(
const
QColor
&
color
=
Qt
::
white
,
const
QString
&
text
=
QString
::
null
,
QWidget
*
parent
=
0
);
~
ColorPickerItem
();
~
ColorPickerItem
()
override
;
QColor
color
()
const
;
QString
text
()
const
;
...
...
@@ -119,10 +119,10 @@ public slots:
void
setColor
(
const
QColor
&
color
,
const
QString
&
text
=
QString
());
protected:
void
mousePressEvent
(
QMouseEvent
*
e
);
void
mouseReleaseEvent
(
QMouseEvent
*
e
);
void
mouseMoveEvent
(
QMouseEvent
*
e
);
void
paintEvent
(
QPaintEvent
*
e
);
void
mousePressEvent
(
QMouseEvent
*
e
)
override
;
void
mouseReleaseEvent
(
QMouseEvent
*
e
)
override
;
void
mouseMoveEvent
(
QMouseEvent
*
e
)
override
;
void
paintEvent
(
QPaintEvent
*
e
)
override
;
private:
QColor
c
;
...
...
@@ -138,7 +138,7 @@ class ColorPickerPopup : public QFrame
public:
ColorPickerPopup
(
int
width
,
bool
withColorDialog
,
QWidget
*
parent
=
0
);
~
ColorPickerPopup
();
~
ColorPickerPopup
()
override
;
void
insertColor
(
const
QColor
&
col
,
const
QString
&
text
,
int
index
);
void
exec
();
...
...
@@ -161,10 +161,10 @@ protected slots:
void
updateSelected
();
protected:
void
keyPressEvent
(
QKeyEvent
*
e
);
void
showEvent
(
QShowEvent
*
e
);
void
hideEvent
(
QHideEvent
*
e
);
void
mouseReleaseEvent
(
QMouseEvent
*
e
);
void
keyPressEvent
(
QKeyEvent
*
e
)
override
;
void
showEvent
(
QShowEvent
*
e
)
override
;
void
hideEvent
(
QHideEvent
*
e
)
override
;
void
mouseReleaseEvent
(
QMouseEvent
*
e
)
override
;
void
regenerateGrid
();
...
...
@@ -191,7 +191,7 @@ public:
QtColorPicker
(
QWidget
*
parent
=
0
,
int
columns
=
-
1
,
bool
enableColorDialog
=
true
);
~
QtColorPicker
();
~
QtColorPicker
()
override
;
void
insertColor
(
const
QColor
&
color
,
const
QString
&
text
=
QString
::
null
,
int
index
=
-
1
);
...
...
@@ -213,7 +213,7 @@ Q_SIGNALS:
void
colorChanged
(
const
QColor
&
);
protected:
void
paintEvent
(
QPaintEvent
*
e
);
void
paintEvent
(
QPaintEvent
*
e
)
override
;
private
Q_SLOTS
:
void
buttonPressed
(
bool
toggled
);
...
...
src/common/Session.hpp
View file @
68d76d81
...
...
@@ -185,7 +185,7 @@ public:
/*!
* \brief The class destructor.
*/
~
Session
();
~
Session
()
override
;
/*!
* \brief maximum number of file shown in the recent files menu.
...
...
src/core/Core.hpp
View file @
68d76d81
...
...
@@ -399,7 +399,7 @@ public:
/*!
* \brief The destructor.
*/
virtual
~
Core
()
;
~
Core
()
override
;
...
...
@@ -428,7 +428,7 @@ public:
* \brief Get the name of the current trace file.
*
*/
const
std
::
string
get_filename
()
const
;
const
std
::
string
get_filename
()
const
override
;
/*!
* \brief Set the name of the output file for SVG export.
...
...
@@ -454,26 +454,26 @@ public:
* \brief The function takes a string then displayed it into the terminal, then killed the application.
* \param string The string to be displayed.
*/
void
error
(
const
std
::
string
&
string
)
const
;
void
error
(
const
std
::
string
&
string
)
const
override
;
/*!
\brief The function takes a string then displayed it into the terminal, then the program go on with an indeterminated behaviour.
\param string The string to be displayed.
*/
void
warning
(
const
std
::
string
&
string
)
const
;
void
warning
(
const
std
::
string
&
string
)
const
override
;
/*!
* \brief The function takes a strings then displayed it into the terminal, then the program go on.
* \param string The string to be displayed.
*/
void
information
(
const
std
::
string
&
string
)
const
;
void
information
(
const
std
::
string
&
string
)
const
override
;
/*!
* \brief Only use in graphic interface.
*/
void
selection_information
(
const
std
::
string
&
)
const
{
void
selection_information
(
const
std
::
string
&
)
const
override
{
}
...
...
src/interface/Interface_graphic.hpp
View file @
68d76d81
...
...
@@ -96,10 +96,10 @@ class Interface_graphic : public QMainWindow, protected Ui::main_window, public
/*!
*\brief Drag and drop functions
*/
void
dragEnterEvent
(
QDragEnterEvent
*
event
);
void
dragMoveEvent
(
QDragMoveEvent
*
event
);
void
dragLeaveEvent
(
QDragLeaveEvent
*
event
);
void
dropEvent
(
QDropEvent
*
event
);
void
dragEnterEvent
(
QDragEnterEvent
*
event
)
override
;
void
dragMoveEvent
(
QDragMoveEvent
*
event
)
override
;
void
dragLeaveEvent
(
QDragLeaveEvent
*
event
)
override
;
void
dropEvent
(
QDropEvent
*
event
)
override
;
/*!
*\brief Open the trace of filename. Create a new process if necessary
...
...
@@ -338,7 +338,7 @@ public:
/*!
* \brief The destructor
*/
virtual
~
Interface_graphic
()
;
~
Interface_graphic
()
override
;
...
...
@@ -352,21 +352,21 @@ public:
* \brief The function takes strings and/or numbers then displayed an info box containing it, then the program go on with an indeterminated behaviour.
* \param string The string to be displayed.
*/
void
error
(
const
std
::
string
&
string
)
const
;
void
error
(
const
std
::
string
&
string
)
const
override
;
/*!
* \brief The function takes strings and/or numbers then displayed an info box containing it, then the program go on with an indeterminated behaviour.
* \param string The string to be displayed.
*/
void
warning
(
const
std
::
string
&
string
)
const
;
void
warning
(
const
std
::
string
&
string
)
const
override
;
/*!
* \brief The function takes strings and/or numbers then displayed an info box containing it, then the program go on.
* \param string The string to be displayed.
*/
void
information
(
const
std
::
string
&
string
)
const
;
void
information
(
const
std
::
string
&
string
)
const
override
;
...
...
@@ -380,7 +380,7 @@ public:
* \brief The function takes strings and/or numbers then displayed it in the entity informative text area in the info window.
* \param string The string to be displayed.
*/
void
selection_information
(
const
std
::
string
&
string
)
const
;
void
selection_information
(
const
std
::
string
&
string
)
const
override
;
/***********************************
*
...
...
@@ -471,14 +471,14 @@ public:
*
* This function can be used to display message for user to store its work before application closes.
*/
void
closeEvent
(
QCloseEvent
*
event
);
void
closeEvent
(
QCloseEvent
*
event
)
override
;
/*!
* \brief Get the name of the current trace file.
*
* \return The name of the current trace file
*/
const
std
::
string
get_filename
()
const
;
const
std
::
string
get_filename
()
const
override
;
/*!
* \fn get_console()
...
...
src/interface/Interval_select.hpp
View file @
68d76d81
...
...
@@ -94,7 +94,7 @@ public:
*/
Interval_select
(
Interface_graphic
*
console
,
QWidget
*
parent
=
nullptr
);
~
Interval_select
();
~
Interval_select
()
override
;
/*!
* \fn set_trace(Trace *trace)
...
...
src/interface/Node_select.hpp
View file @
68d76d81
...
...
@@ -101,7 +101,7 @@ public:
*/
Node_select
(
Interface_graphic
*
console
,
QWidget
*
parent
=
nullptr
);
~
Node_select
();
~
Node_select
()
override
;
/*!
* \fn set_initial_container_names()
...
...
@@ -181,7 +181,7 @@ private:
* \brief This functions receives all keyboard events.
* \param event The event triggered by the keyboard event.
*/
void
keyPressEvent
(
QKeyEvent
*
event
);
void
keyPressEvent
(
QKeyEvent
*
event
)
override
;
...
...
src/interface/Settings_window.hpp
View file @
68d76d81
...
...
@@ -96,7 +96,7 @@ public:
std
::
map
<
std
::
string
,
int
>
_cancel
;
Settings_tab
(
Core
*
,
std
::
string
);
~
Settings_tab
();
~
Settings_tab
()
override
;
void
refresh
();
...
...
@@ -161,7 +161,7 @@ public:
*/
Settings_window
(
Core
*
c
,
QWidget
*
parent
=
nullptr
);
~
Settings_window
();
~
Settings_window
()
override
;
/*!
* \brief Overloaded to store at beginning the values
...
...
src/interface/qxtspanslider.h
View file @
68d76d81
...
...
@@ -44,7 +44,7 @@ class QxtSpanSlider : public QSlider
public:
explicit
QxtSpanSlider
(
QWidget
*
parent
=
nullptr
);
explicit
QxtSpanSlider
(
Qt
::
Orientation
orientation
,
QWidget
*
parent
=
nullptr
);
virtual
~
QxtSpanSlider
()
;
~
QxtSpanSlider
()
override
;
enum
HandleMovementMode
{
...
...
@@ -88,11 +88,11 @@ Q_SIGNALS:
void
sliderPressed
(
SpanHandle
handle
);
protected:
v
irtual
void
keyPressEvent
(
QKeyEvent
*
event
)
;
v
irtual
void
mousePressEvent
(
QMouseEvent
*
event
)
;
v
irtual
void
mouseMoveEvent
(
QMouseEvent
*
event
)
;
v
irtual
void
mouseReleaseEvent
(
QMouseEvent
*
event
)
;
v
irtual
void
paintEvent
(
QPaintEvent
*
event
)
;
v
oid
keyPressEvent
(
QKeyEvent
*
event
)
override
;
v
oid
mousePressEvent
(
QMouseEvent
*
event
)
override
;
v
oid
mouseMoveEvent
(
QMouseEvent
*
event
)
override
;
v
oid
mouseReleaseEvent
(
QMouseEvent
*
event
)
override
;
v
oid
paintEvent
(
QPaintEvent
*
event
)
override
;
};
#endif // QXTSPANSLIDER_H
src/interface/viteqtreewidget.hpp
View file @
68d76d81
...
...
@@ -10,21 +10,20 @@ class viteQTreeWidget : public QTreeWidget
public:
viteQTreeWidget
(
QWidget
*
parent
=
nullptr
);
~
viteQTreeWidget
();
~
viteQTreeWidget
()
override
;
protected:
void
dropEvent
(
QDropEvent
*
event
);
void
dropEvent
(
QDropEvent
*
event
)
override
;
void
dragEnterEvent
(
QDragEnterEvent
*
e
);
void
dragMoveEvent
(
QDragMoveEvent
*
e
);
void
dragEnterEvent
(
QDragEnterEvent
*
e
)
override
;
void
dragMoveEvent
(
QDragMoveEvent
*
e
)
override
;
QList
<
QTreeWidgetItem
*>
selected_items
;
QMimeData
*
mimeData
(
const
QList
<
QTreeWidgetItem
*>
items
)
const
;
QMimeData
*
mimeData
(
const
QList
<
QTreeWidgetItem
*>
items
)
const
override
;
bool
dropMimeData
(
QTreeWidgetItem
*
newParentPtr
,
int
index
,
const
QMimeData
*
data
,
Qt
::
DropAction
action
)
;
bool
dropMimeData
(
QTreeWidgetItem
*
newParentPtr
,
int
index
,
const
QMimeData
*
data
,
Qt
::
DropAction
action
)
override
;
Qt
::
DropActions
supportedDropActions
()
const
;
Qt
::
DropActions
supportedDropActions
()
const
override
;
};
#endif
src/parser/PajeParser/PajeFileManager.hpp
View file @
68d76d81
...
...
@@ -129,7 +129,7 @@ public:
* \brief Destructor
* Destroy the file
*/
~
PajeFileManager
();
~
PajeFileManager
()
override
;
/*!
* \fn open(const char * filename, ios_base::openmode mode)
...
...
src/parser/PajeParser/ParserPaje.hpp
View file @
68d76d81
...
...
@@ -76,7 +76,7 @@ public:
/*!
* \fn ~ParserPaje()
*/
~
ParserPaje
();
~
ParserPaje
()
override
;
/*!
* \fn parse(Trace &trace, bool finish_trace_after_parse = true)
...
...
@@ -84,14 +84,14 @@ public:
* \param finish_trace_after_parse boolean set if we do not have to finish the trace after parsing
*/
void
parse
(
Trace
&
trace
,
bool
finish_trace_after_parse
=
true
);
bool
finish_trace_after_parse
=
true
)
override
;
/*!
* \fn get_percent_loaded() const
* \brief return the size of the file already read.
* \return the scale of the size already loaded of the file by the parser. (between 0 and 1)
*/
float
get_percent_loaded
()
const
;
float
get_percent_loaded
()
const
override
;
/*!
* Return the parser of definitions.
...
...
src/parser/PajeParser/ParserVite.hpp
View file @
68d76d81
...
...
@@ -74,7 +74,7 @@ public:
/*!
* \fn ~ParserVite()
*/
~
ParserVite
();
~
ParserVite
()
override
;
/*!
* \fn parse(Trace &trace, bool finish_trace_after_parse = true)
...
...
@@ -82,14 +82,14 @@ public:
* \param finish_trace_after_parse boolean set if we do not have to finish the trace after parsing
*/
void
parse
(
Trace
&
trace
,
bool
finish_trace_after_parse
=
true
);
bool
finish_trace_after_parse
=
true
)
override
;
/*!
* \fn get_percent_loaded() const
* \brief return the size of the file already read.
* \return the scale of the size already loaded of the file by the parser. (between 0 and 1)
*/
float
get_percent_loaded
()
const
;
float
get_percent_loaded
()
const
override
;
};
...
...
src/parser/PajeParser/mt_PajeFileManager.hpp
View file @
68d76d81
...
...
@@ -158,7 +158,7 @@ public:
* \brief Destructor
* Destroy the file
*/
~
mt_PajeFileManager
();
~
mt_PajeFileManager
()
override
;
/*!
* \fn open(const char * filename, ios_base::openmode mode)
...
...
src/parser/PajeParser/mt_ParserEventPaje.hpp
View file @
68d76d81
...
...
@@ -96,7 +96,7 @@ private:
public:
mt_ParserEventPaje
(
ParserDefinitionPaje
*
Defs
);
~
mt_ParserEventPaje
();
~
mt_ParserEventPaje
()
override
;
void
setTrace
(
Trace
*
trace
);
...
...
src/parser/PajeParser/mt_ParserPaje.hpp
View file @
68d76d81
...
...
@@ -85,7 +85,7 @@ public:
/*!
* \fn ~ParserPaje()
*/
~
mt_ParserPaje
();
~
mt_ParserPaje
()
override
;
/*!
* \fn parse(Trace &trace)
...
...
@@ -93,7 +93,7 @@ public:
* \param finish_trace_after_parse boolean set if we do not have to finish the trace after parsing
*/
void
parse
(
Trace
&
trace
,
bool
finish_trace_after_parse
=
true
);
bool
finish_trace_after_parse
=
true
)
override
;
void
releasefile
();
/*!
...
...
@@ -101,7 +101,7 @@ public:
* \brief return the size of the file already read.
* \return the scale of the size already loaded of the file by the parser. (between 0 and 1)
*/
float
get_percent_loaded
()
const
;
float
get_percent_loaded
()
const
override
;
signals:
...
...
src/parser/Parser.hpp
View file @
68d76d81
...
...
@@ -78,7 +78,7 @@ public:
Parser
();
Parser
(
const
std
::
string
&
filename
);
virtual
~
Parser
()
=
default
;
~
Parser
()
override
=
default
;
/*!
* \fn parse(const std::string &filename, Trace &trace, bool finish_trace_after_parse = true)
...
...
src/parser/TauParser/ParserTau.hpp
View file @
68d76d81
...
...
@@ -214,21 +214,21 @@ public:
*/
ParserTau
();
ParserTau
(
const
std
::
string
&
filename
);
~
ParserTau
();
~
ParserTau
()
override
;
/*!
* \fn parse(Trace &trace, bool finish_trace_after_parse)
* \param trace : the structure of data to fill
* \param finish_trace_after_parse boolean set if we do not have to finish the trace after parsing
*/
void
parse
(
Trace
&
trace
,
bool
finish_trace_after_parse
=
true
);
void
parse
(
Trace
&
trace
,
bool
finish_trace_after_parse
=
true
)
override
;
/*!
* \fn get_percent_loaded() const
* \brief return the size of the file already read.
* \return the scale of the size already loaded of the file by the parser. (between 0 and 1)
*/
float
get_percent_loaded
()
const
;
float
get_percent_loaded
()
const
override
;
static
Color
*
get_color
(
int
func_id
);
};
...
...
src/plugin/Plugin_window.hpp
View file @
68d76d81
...
...
@@ -82,7 +82,7 @@ public:
* \fn ~Plugin_window()
* \brief Destructor
*/
~
Plugin_window
();
~
Plugin_window
()
override
;
/*!
* \fn load_list()
...
...
src/render/GanttDiagram.hpp
View file @
68d76d81
...
...
@@ -119,7 +119,7 @@ public:
/*!
* \brief The destructor
*/
virtual
~
GanttDiagram
()
=
default
;
~
GanttDiagram
()
override
=
default
;
/***********************************
*
...
...
src/render/Hook_event.hpp
View file @
68d76d81
...
...
@@ -216,43 +216,43 @@ protected:
* \brief This functions receives all mouse press events.
* \param event The event triggered by mouse.
*/
void
mousePressEvent
(
QMouseEvent
*
event
);
void
mousePressEvent
(
QMouseEvent
*
event
)
override
;
/*!
* \brief This functions receives all mouse double click events.
* \param event The event triggered by mouse.
*/
void
mouseDoubleClickEvent
(
QMouseEvent
*
event
);
void
mouseDoubleClickEvent
(
QMouseEvent
*
event
)
override
;
/*!
* \brief If user press, this functions receives all mouse move events until user release mouse.
* \param event The event triggered by mouse.
*/
void
mouseMoveEvent
(
QMouseEvent
*
event
);
void
mouseMoveEvent
(
QMouseEvent
*
event
)
override
;
/*!
* \brief This functions receives all mouse release events.
* \param event The event triggered by mouse.
*/
void
mouseReleaseEvent
(
QMouseEvent
*
event
);
void
mouseReleaseEvent
(
QMouseEvent
*
event
)
override
;
/*!
* \brief This functions receives all mouse wheel events.
* \param event The event triggered by the mouse wheel.
*/
void
wheelEvent
(
QWheelEvent
*
event
);
void
wheelEvent
(
QWheelEvent
*
event
)
override
;
/*!
* \brief This functions receives all keyboard events.
* \param event The event triggered by the keyboard event.
*/
void
keyPressEvent
(
QKeyEvent
*
event
);
void
keyPressEvent
(
QKeyEvent
*
event
)
override
;
/*!
* \brief This functions receives all keyboard release events.
* \param event The event triggered by a keyboard release.
*/
void
keyReleaseEvent
(
QKeyEvent
*
event
);
void
keyReleaseEvent
(
QKeyEvent
*
event
)
override
;
/*!
* Use to update the render area.
...
...
@@ -286,7 +286,7 @@ public:
/*!
* \brief The destructor
*/
virtual
~
Hook_event
()
;
~
Hook_event
()
override
;
...
...
src/render/Minimap.hpp
View file @
68d76d81
...
...
@@ -96,13 +96,13 @@ protected:
* \brief Called by Qt when the user manually closes the window.
* \param event The Qt event.
*/
void
closeEvent
(
QCloseEvent
*
event
);
void
closeEvent
(
QCloseEvent
*
event
)
override
;
/*!
* \brief Called by Qt when the user manually resize the window.
* \param event The Qt event.
*/
void
resizeEvent
(
QResizeEvent
*
event
);
void
resizeEvent
(
QResizeEvent
*
event
)
override
;
/*!
...
...
src/render/Render_alternate.hpp
View file @
68d76d81
...
...
@@ -166,7 +166,7 @@ public:
/*!
* \brief The destructor
*/
virtual
~
Render_alternate
()
;
~
Render_alternate
()
override
;
/*!
* \brief Set Statistics and Informations about input trace
...
...
@@ -193,19 +193,19 @@ public:
/*!
* \brief Call by the system to initialize the OpenGL render area.
*/
void
initializeGL
();
void
initializeGL
()
override
;
/*!
* \brief Call by the system when the render area was resized (occurs during a window resizement).
* \param width : the new width of the render area.
* \param height : the new height of the render area.
*/
void
resizeGL
(
int
width
,
int
height
);
void
resizeGL
(
int
width
,
int
height
)
override
;
/*!
* \brief Call by the system each time the render area need to be updated.
*/
void
paintGL
();
void
paintGL
()
override
;
//void paintEvent(QPaintEvent *event);
...
...
@@ -233,12 +233,12 @@ public:
/*!
* \brief Proceeds with the initialization of the OpenGL draw functions.
*/
void
start_draw
();
void
start_draw
()
override
;
/*!
* \brief Creates and opens the display list for container draws.
*/
void
start_draw_containers
();
void
start_draw_containers
()
override
;
/*!
* \brief Draw a container according to the parameters
...
...
@@ -262,12 +262,12 @@ public:
/*!
* \brief Closes the container display list.
*/
void
end_draw_containers
();
void
end_draw_containers
()
override
;
/*!
* \brief Creates and opens the display list for stater draws.
*/
void
start_draw_states
();
void
start_draw_states
()
override
;
/*!
* \brief Draw a state of the trace.
...
...
@@ -279,17 +279,17 @@ public:
* \param g the green color rate of the state.
* \param b the blue color rate of the state.
*/
void
draw_state
(
const
Element_pos
start
,
const
Element_pos
end
,
const
Element_pos
base
,
const
Element_pos
height
,
const
Element_pos
r
,
EntityValue
*
type
);
void
draw_state
(
const
Element_pos
start
,
const
Element_pos
end
,
const
Element_pos
base
,
const
Element_pos
height
,
const
Element_pos
r
,
EntityValue
*
type
)
override
;
/*!
* \brief Closes the state display list.