- Timestamp:
- Jan 9, 2013, 1:40:39 PM (12 years ago)
- Location:
- trunk/src/PacpusSensor/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusSensor/src/main.cpp
r31 r61 17 17 #ifdef WIN32 18 18 # include <windows.h> 19 # include <mmsystem.h>20 19 #endif 21 20 -
trunk/src/PacpusSensor/src/ui/pacpusmainwindow.cpp
r32 r61 27 27 28 28 ////////////////////////////////////////////////////////////////////////// 29 /// Constructor30 29 PacpusMainWindow::PacpusMainWindow(QWidget * parent) 31 30 : QDialog(parent) … … 63 62 64 63 ////////////////////////////////////////////////////////////////////////// 65 /// Destructor66 64 PacpusMainWindow::~PacpusMainWindow() 67 65 { … … 70 68 71 69 ////////////////////////////////////////////////////////////////////////// 72 /// slot73 /// Starts all the components and checks all the checkbox74 70 void PacpusMainWindow::startAcquisition() 75 71 { … … 80 76 81 77 ////////////////////////////////////////////////////////////////////////// 82 /// slot83 /// Stops all the components and unchecks all the checkbox84 78 void PacpusMainWindow::stopAcquisition() 85 79 { … … 89 83 } 90 84 91 //////////////////////////////////////////////////////////////////////////92 // slot93 // called when a checkbox is checked94 // start the corresponding component95 // start the monitoring loop if not running96 85 ////////////////////////////////////////////////////////////////////////// 97 86 void PacpusMainWindow::startComponent(QString component) … … 114 103 115 104 ////////////////////////////////////////////////////////////////////////// 116 /// slot117 /// called when a checkbox is unchecked118 /// stop the corresponding component119 /// eventually stop the monitoring loop if any other component is active120 105 void PacpusMainWindow::stopComponent(QString component) 121 106 { … … 145 130 ////////////////////////////////////////////////////////////////////////// 146 131 147 // Voir si besoin de faire un thread : un timer est peut être suffisant ??132 /// @todo Voir si besoin de faire un thread : un timer est peut être suffisant ?? 148 133 void PacpusMainWindow::monitoring() 149 134 { -
trunk/src/PacpusSensor/src/ui/pacpusmainwindow.h
r32 r61 33 33 34 34 public: 35 /// @todo Documentation 35 36 ComponentCheckBox(const QString & text, QWidget * parent, const char * /*name*/ = 0 ) 36 37 : QCheckBox(text, parent) … … 40 41 } 41 42 43 /// @todo Documentation 42 44 ~ComponentCheckBox() 43 45 { … … 45 47 46 48 public Q_SLOTS: 49 /// @todo Documentation 47 50 void change(bool state) 48 51 { … … 55 58 56 59 Q_SIGNALS: 60 /// @todo Documentation 57 61 void activate(QString); 62 /// @todo Documentation 58 63 void deactivate(QString); 59 64 }; 60 65 61 66 //////////////////////////////////////////////////////////////////////////////// 67 /// @todo Documentation 62 68 class PacpusMainWindow 63 69 : public QDialog … … 67 73 68 74 public: 75 /// Constructor 69 76 PacpusMainWindow(QWidget * parent = 0); 77 /// Destructor 70 78 ~PacpusMainWindow(); 71 79 72 80 public Q_SLOTS: 81 /// slot 82 /// Starts all the components and checks all the checkbox 73 83 void startAcquisition(); 84 /// slot 85 /// called when a checkbox is checked 86 /// start the corresponding component 87 /// start the monitoring loop if not running 74 88 void startComponent(QString component); 75 89 90 /// slot 91 /// Stops all the components and unchecks all the checkbox 76 92 void stopAcquisition(); 93 /// slot 94 /// called when a checkbox is unchecked 95 /// stop the corresponding component 96 /// eventually stop the monitoring loop if any other component is active 77 97 void stopComponent(QString component); 78 98 99 /// @todo Documentation 79 100 void monitoring(); 80 101
Note:
See TracChangeset
for help on using the changeset viewer.