mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Upgrade to QWT 6.0.1, but still uses a locally patched copy since support for 8 axes has not been included, despite it being a relatively simple patch. Fixes #634. Fixes #567.
24 lines
553 B
C++
24 lines
553 B
C++
#include <qapplication.h>
|
|
#include <qtabwidget.h>
|
|
#include "compass_grid.h"
|
|
#include "cockpit_grid.h"
|
|
|
|
//-----------------------------------------------------------------
|
|
//
|
|
// dials.cpp -- A demo program featuring QwtDial and friends
|
|
//
|
|
//-----------------------------------------------------------------
|
|
|
|
int main (int argc, char **argv)
|
|
{
|
|
QApplication a(argc, argv);
|
|
|
|
QTabWidget tabWidget;
|
|
tabWidget.addTab(new CompassGrid, "Compass");
|
|
tabWidget.addTab(new CockpitGrid, "Cockpit");
|
|
|
|
tabWidget.show();
|
|
|
|
return a.exec();
|
|
}
|