mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-16 02:25:50 +08:00
69ad2a0182
- 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()
31 lines
631 B
C++
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
|