mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
Fix some doxygen issues (~100)
This commit is contained in:
@@ -25,15 +25,22 @@
|
||||
/**
|
||||
@brief The QWidgetAnimation class
|
||||
This class animate the show and hide function of a QWidget.
|
||||
*
|
||||
The role of @behavior is to calcul as best the animation process when widget is show.
|
||||
Because this class don't change the current and final size of the widget but her maximum size during the animation process,
|
||||
|
||||
The role of behavior is to calcul as best the animation process
|
||||
when widget is show.
|
||||
Because this class don't change the current and final size
|
||||
of the widget but her maximum size during the animation process,
|
||||
we must to know in advance the final size of the widget.
|
||||
Behavior minimumSizeHint : the final size of the widget will be his minimum size hint.
|
||||
Behavior availableSpace : the final size of widget will be the available size of her parent.
|
||||
Since parent can have other widgets you can add a QVector of widget to subtract of the final size.
|
||||
Because we suppose the animated widget will take the maximum available space, we subtract the minimum size hint of widgets in QVector.
|
||||
Behavior lastSize : The widget will have the same size as the last time he was showed.
|
||||
Behavior minimumSizeHint : the final size of the widget
|
||||
will be his minimum size hint.
|
||||
Behavior availableSpace : the final size of widget will be
|
||||
the available size of her parent.
|
||||
Since parent can have other widgets you can add a QVector of widget
|
||||
to subtract of the final size.
|
||||
Because we suppose the animated widget will take the maximum
|
||||
available space, we subtract the minimum size hint of widgets in QVector.
|
||||
Behavior lastSize :
|
||||
The widget will have the same size as the last time he was showed.
|
||||
*/
|
||||
class QWidgetAnimation : public QPropertyAnimation
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user