Salome HOME
PAL10125 - by double click on reference original object becomes selected
[modules/gui.git] / src / SUIT / SUIT_OverrideCursor.cxx
index fa8efc2fc4b32b06d009aeca2d9aa5b25a9db602..770d14521a47ff712cc7097db43869acec9308f9 100755 (executable)
@@ -1,25 +1,30 @@
 #include "SUIT_OverrideCursor.h"
 
+/*!Constructor. Initialize wait cursor.*/
 SUIT_OverrideCursor::SUIT_OverrideCursor()
 {
   QApplication::setOverrideCursor( QCursor( Qt::WaitCursor ) );
 }
 
+/*!Copy constructor.*/
 SUIT_OverrideCursor::SUIT_OverrideCursor( const QCursor& cursor )
 {
   QApplication::setOverrideCursor( cursor );
 }
 
+/*!Destructor. restoring override cursor.*/
 SUIT_OverrideCursor::~SUIT_OverrideCursor()
 {
   QApplication::restoreOverrideCursor();
 }
 
+/*! Check cursors is empty */
 bool SUIT_OverrideCursor::isActive() const
 {
   return myCursors.isEmpty();
 }
 
+/*!Suspend cursors.*/
 void SUIT_OverrideCursor::suspend()
 {
   if ( !isActive() )
@@ -32,6 +37,7 @@ void SUIT_OverrideCursor::suspend()
   }
 }
 
+/*!Resume cursors.*/
 void SUIT_OverrideCursor::resume()
 {
   if ( isActive() )