Changeset 4451 in ntrip
- Timestamp:
- Jul 29, 2012, 5:21:34 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/graphwin.cpp
r4450 r4451 151 151 // Save the Widget as PNG Files 152 152 //////////////////////////////////////////////////////////////////////////// 153 void t_graphWin::savePNG() { 153 void t_graphWin::savePNG(const QString& dirName) { 154 if (dirName.isEmpty()) { 155 return; 156 } 154 157 QImage image(_canvas->size(), QImage::Format_RGB32); 155 158 QPainter painter(&image); -
trunk/BNC/src/rinex/graphwin.h
r4450 r4451 56 56 ~t_graphWin(); 57 57 58 void savePNG( );58 void savePNG(const QString& dirName); 59 59 60 60 signals: -
trunk/BNC/src/rinex/reqcanalyze.cpp
r4450 r4451 133 133 graphWin->show(); 134 134 135 //// beg test 136 graphWin->savePNG(); 137 //// end test 135 bncSettings settings; 136 QString dirName = settings.value("reqcPlotDir").toString(); 137 if (!dirName.isEmpty()) { 138 graphWin->savePNG(dirName); 139 } 138 140 } 139 141 }
Note:
See TracChangeset
for help on using the changeset viewer.