Changeset 3610 in ntrip
- Timestamp:
- Jan 22, 2012, 12:36:17 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r3609 r3610 119 119 _actPostProcessing = new QAction(tr("Start PP"),this); 120 120 connect(_actPostProcessing, SIGNAL(triggered()), SLOT(slotPostProcessing())); 121 122 _postProgressBar = new QProgressBar; 123 _postProgressBar->setTextVisible(true); 124 _postProgressBar->setMinimum(0); 125 _postProgressBar->setMaximum(100); 126 _postProgressBar->setMinimumWidth(20*ww); 127 _postProgressBar->setMaximumWidth(20*ww); 121 128 122 129 _actStop = new QAction(tr("Sto&p"),this); … … 1796 1803 toolBar->addAction(_actStop); 1797 1804 toolBar->addAction(_actPostProcessing); 1798 toolBar->addWidget(new QLabel(" ")); 1805 _postProgressLabel = new QLabel(" Progress"); 1806 toolBar->addWidget(_postProgressLabel); 1807 toolBar->addWidget(_postProgressBar); 1808 enableWidget(false, _postProgressLabel); 1809 enableWidget(false, _postProgressBar); 1810 toolBar->addWidget(new QLabel(" ")); 1799 1811 toolBar->addAction(_actwhatsthis); 1800 1812 } … … 2211 2223 _actPostProcessing->setEnabled(false); 2212 2224 slotSaveOptions(); 2213 cout << "slotPostProcessing" << endl; 2214 } 2225 _postProgressBar->reset(); 2226 enableWidget(true, _postProgressLabel); 2227 enableWidget(true, _postProgressBar); 2228 //// beg test 2229 for (int ii = 0; ii <= 100; ii += 20) { 2230 _postProgressBar->setValue(ii); 2231 sleep(1); 2232 } 2233 //// end test 2234 enableWidget(false, _postProgressLabel); 2235 enableWidget(false, _postProgressBar); 2236 _postProgressBar->reset(); 2237 _actPostProcessing->setEnabled(true); 2238 } -
trunk/BNC/bncwindow.h
r3608 r3610 160 160 qtFileChooser* _postNavFileChooser; 161 161 qtFileChooser* _postCorrFileChooser; 162 QProgressBar* _postProgressBar; 163 QLabel* _postProgressLabel; 162 164 163 165 QCheckBox* _rnxV3CheckBox;
Note:
See TracChangeset
for help on using the changeset viewer.