Changeset 4329 in ntrip for trunk/BNC/src/rinex/graphwin.cpp
- Timestamp:
- Jun 23, 2012, 6:35:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/graphwin.cpp
r4310 r4329 40 40 41 41 #include "graphwin.h" 42 #include "qwt_scale_widget.h" 42 43 43 44 using namespace std; … … 61 62 connect(_buttonOK, SIGNAL(clicked()), this, SLOT(slotOK())); 62 63 64 // Color Scale 65 // ----------- 66 _colorScale = new QwtScaleWidget( this ); 67 _colorScale->setAlignment( QwtScaleDraw::RightScale ); 68 _colorScale->setColorBarEnabled( true ); 69 70 QwtText title( "Intensity" ); 71 QFont font = _colorScale->font(); 72 font.setBold( true ); 73 title.setFont( font ); 74 _colorScale->setTitle( title ); 75 76 _colorScale->setColorMap(QwtInterval(0.0, 1.0), new t_colorMap()); 77 63 78 // Layout 64 79 // ------ … … 67 82 plotLayout->addWidget(plots[ip]); 68 83 } 84 plotLayout->addWidget(_colorScale); 69 85 70 86 QHBoxLayout* buttonLayout = new QHBoxLayout;
Note:
See TracChangeset
for help on using the changeset viewer.