init
This commit is contained in:
BIN
dmplot/plots/balboa.jpg
Normal file
BIN
dmplot/plots/balboa.jpg
Normal file
Binary file not shown.
39
dmplot/plots/main.cpp
Normal file
39
dmplot/plots/main.cpp
Normal file
@@ -0,0 +1,39 @@
|
||||
/***************************************************************************
|
||||
** **
|
||||
** QCustomPlot, an easy to use, modern plotting widget for Qt **
|
||||
** Copyright (C) 2011-2021 Emanuel Eichhammer **
|
||||
** **
|
||||
** This program is free software: you can redistribute it and/or modify **
|
||||
** it under the terms of the GNU General Public License as published by **
|
||||
** the Free Software Foundation, either version 3 of the License, or **
|
||||
** (at your option) any later version. **
|
||||
** **
|
||||
** This program is distributed in the hope that it will be useful, **
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of **
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
|
||||
** GNU General Public License for more details. **
|
||||
** **
|
||||
** You should have received a copy of the GNU General Public License **
|
||||
** along with this program. If not, see http://www.gnu.org/licenses/. **
|
||||
** **
|
||||
****************************************************************************
|
||||
** Author: Emanuel Eichhammer **
|
||||
** Website/Contact: http://www.qcustomplot.com/ **
|
||||
** Date: 29.03.21 **
|
||||
** Version: 2.1.0 **
|
||||
****************************************************************************/
|
||||
|
||||
#include <QApplication>
|
||||
#include "mainwindow.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
|
||||
QApplication::setGraphicsSystem("raster");
|
||||
#endif
|
||||
QApplication a(argc, argv);
|
||||
MainWindow w;
|
||||
w.show();
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
22
dmplot/plots/plot-examples.pro
Normal file
22
dmplot/plots/plot-examples.pro
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# QCustomPlot Plot Examples
|
||||
#
|
||||
|
||||
QT += core gui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11
|
||||
lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11
|
||||
|
||||
TARGET = plot-examples
|
||||
TEMPLATE = app
|
||||
|
||||
SOURCES += main.cpp\
|
||||
mainwindow.cpp \
|
||||
../../qcustomplot.cpp
|
||||
|
||||
HEADERS += mainwindow.h \
|
||||
../../qcustomplot.h
|
||||
|
||||
FORMS += mainwindow.ui
|
||||
|
||||
BIN
dmplot/plots/solarpanels.jpg
Normal file
BIN
dmplot/plots/solarpanels.jpg
Normal file
Binary file not shown.
BIN
dmplot/plots/sun.png
Normal file
BIN
dmplot/plots/sun.png
Normal file
Binary file not shown.
Reference in New Issue
Block a user