JKQtPlotter/examples/test_styling/test_styling.h
jkriege2 69ad2a0182 - added styling system for JKQTPlotter (+example app)
- improved documentation
- changed: using static const variables instead of \c #define for fixed default values (e.g. JKQTPImageTools::LUTSIZE, JKQTPImageTools::PALETTE_ICON_WIDTH, JKQTPlotterDrawinTools::ABS_MIN_LINEWIDTH, JKQTMathText::ABS_MIN_LINEWIDTH ...)
- new: added debugging option, which surrounds different regions with visible rectangles (JKQTBasePlotter::enableDebugShowRegionBoxes() )
- fixed: colorbars at top were positioned over the plot label
- new: frames (plot viewport, key/legend ...) may be rounded off at the corners
- new: diverse new styling options (default font name/size ...)
- speed improvements to JKQTMathText::useSTIX()
2019-02-09 12:43:12 +01:00

31 lines
631 B
C++

#ifndef TEST_STYLING_H
#define TEST_STYLING_H
#include <QMainWindow>
#include "jkqtplotter/jkqtplotter.h"
namespace Ui {
class TestStyling;
}
class TestStyling : public QMainWindow
{
Q_OBJECT
public:
explicit TestStyling(QWidget *parent = nullptr);
~TestStyling();
protected slots:
void on_btnUpdate_clicked();
void on_btnLoad_clicked(const QString &filename=QString());
void on_btnSave_clicked();
private:
Ui::TestStyling *ui;
void initPlot();
QPointer<JKQTPlotter> plotExtra;
};
#endif // TEST_STYLING_H