0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-01-11 17:18:10 +03:00
LimeReport/limereport/objectinspector/propertyItems/lrseriespropitem.h
Андрей Лухнов 0fca7169d3 Define code style and format all source file using clang-format-14
except those placed in 3rdparty directories.
2024-09-19 21:09:38 +03:00

43 lines
1023 B
C++

#ifndef SERIESPROPITEM_H
#define SERIESPROPITEM_H
#include <QHBoxLayout>
#include <QPushButton>
#include <lrchartitem.h>
#include <lrobjectpropitem.h>
namespace LimeReport {
class SeriesPropEditor: public QWidget {
Q_OBJECT
public:
SeriesPropEditor(ChartItem* chart, QWidget* parent = 0);
signals:
void editingFinished();
private slots:
void slotButtonClicked();
private:
QPushButton* m_button;
ChartItem* m_chart;
};
class SeriesPropItem: public LimeReport::ObjectPropItem {
Q_OBJECT
public:
SeriesPropItem(): ObjectPropItem() { }
SeriesPropItem(QObject* object, ObjectsList* objects, const QString& name,
const QString& displayName, const QVariant& value, ObjectPropItem* parent,
bool readonly):
ObjectPropItem(object, objects, name, displayName, value, parent, readonly)
{
}
QWidget* createProperyEditor(QWidget* parent) const;
QString displayValue() const;
};
} // namespace LimeReport
#endif // SERIESPROPITEM_H