mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-09 05:57:14 +03:00
3rdparty
console
demo_r1
demo_r2
designer
designer_plugin
docs
include
limereport
bands
base
databrowser
dialogdesigner
exporters
images
items
charts
editors
images
items.qrc
lrabstractlayout.cpp
lrabstractlayout.h
lralignpropitem.cpp
lralignpropitem.h
lrbarcodeitem.cpp
lrbarcodeitem.h
lrchartitem.cpp
lrchartitem.h
lrchartitemeditor.cpp
lrchartitemeditor.h
lrchartitemeditor.ui
lreditableimageitemintf.h
lrhorizontallayout.cpp
lrhorizontallayout.h
lrimageitem.cpp
lrimageitem.h
lrimageitemeditor.cpp
lrimageitemeditor.h
lrimageitemeditor.ui
lrlayoutmarker.cpp
lrlayoutmarker.h
lrshapeitem.cpp
lrshapeitem.h
lrsimpletagparser.cpp
lrsimpletagparser.h
lrsubitemparentpropitem.cpp
lrsubitemparentpropitem.h
lrsvgitem.cpp
lrsvgitem.h
lrtextitem.cpp
lrtextitem.h
lrtextitemeditor.cpp
lrtextitemeditor.h
lrtextitemeditor.ui
lrverticallayout.cpp
lrverticallayout.h
objectinspector
objectsbrowser
scriptbrowser
scripteditor
serializators
translationeditor
LRCallbackDS
LRDataManager
LRScriptManager
LimeReport
designer.pri
limereport.prf
limereport.pri
limereport.pro
lraboutdialog.cpp
lraboutdialog.h
lraboutdialog.ui
lrbanddesignintf.cpp
lrbanddesignintf.h
lrbandsmanager.cpp
lrbandsmanager.h
lrbasedesignintf.cpp
lrbasedesignintf.h
lrcallbackdatasourceintf.h
lrcollection.h
lrcolorindicator.cpp
lrcolorindicator.h
lrdatadesignintf.cpp
lrdatadesignintf.h
lrdatasourceintf.h
lrdatasourcemanager.cpp
lrdatasourcemanager.h
lrdatasourcemanagerintf.h
lrdesignelementsfactory.h
lrdesignerplugininterface.h
lrexporterintf.h
lrexportersfactory.h
lrfactoryinitializer.cpp
lrfactoryinitializer.h
lrglobal.cpp
lrglobal.h
lrgraphicsviewzoom.cpp
lrgraphicsviewzoom.h
lrgroupfunctions.cpp
lrgroupfunctions.h
lritemdesignintf.cpp
lritemdesignintf.h
lritemscontainerdesignitf.cpp
lritemscontainerdesignitf.h
lrpagedesignintf.cpp
lrpagedesignintf.h
lrpageinitintf.h
lrpageitemdesignintf.cpp
lrpageitemdesignintf.h
lrpreparedpages.cpp
lrpreparedpages.h
lrpreparedpagesintf.h
lrpreviewreportwidget.cpp
lrpreviewreportwidget.h
lrpreviewreportwidget.ui
lrpreviewreportwidget_p.h
lrpreviewreportwindow.cpp
lrpreviewreportwindow.h
lrpreviewreportwindow.ui
lrreportdesignwidget.cpp
lrreportdesignwidget.h
lrreportdesignwindow.cpp
lrreportdesignwindow.h
lrreportdesignwindowintrerface.h
lrreportengine.cpp
lrreportengine.h
lrreportengine_p.h
lrreportrender.cpp
lrreportrender.h
lrreporttranslation.cpp
lrreporttranslation.h
lrscriptenginemanager.cpp
lrscriptenginemanager.h
lrscriptenginemanagerintf.h
lrsettingdialog.cpp
lrsettingdialog.h
lrsettingdialog.ui
lrsimplecrypt.cpp
lrsimplecrypt.h
lrvariablesholder.cpp
lrvariablesholder.h
report.qrc
tests
translations
.appveyor.yml
.gitignore
.gitmodules
.remarkrc
.travis.yml
CMakeLists.txt
COPYING
LICENSE
README.md
common.pri
followTo.patch
limereport.pri
limereport.pro
qzint.pri
64 lines
1.6 KiB
C++
64 lines
1.6 KiB
C++
#ifndef CHARITEMEDITOR_H
|
|
#define CHARITEMEDITOR_H
|
|
|
|
#include <QWidget>
|
|
#include "lrchartitem.h"
|
|
#include "lrcolorindicator.h"
|
|
#include <QTableWidgetItem>
|
|
#include <QToolButton>
|
|
|
|
namespace Ui {
|
|
class ChartItemEditor;
|
|
}
|
|
|
|
class ChartItemEditor : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ChartItemEditor(LimeReport::ChartItem* item, LimeReport::PageDesignIntf* page,
|
|
QSettings* settings=0, QWidget *parent = 0);
|
|
~ChartItemEditor();
|
|
public:
|
|
QSettings *settings();
|
|
void rebuildTable();
|
|
|
|
protected:
|
|
void resizeEvent(QResizeEvent *);
|
|
void moveEvent(QMoveEvent *);
|
|
|
|
signals:
|
|
void editingFinished();
|
|
|
|
private slots:
|
|
void on_splitter_splitterMoved(int, int);
|
|
void on_pbOk_clicked();
|
|
void slotAddSeries();
|
|
void slotDeleteSeries();
|
|
void on_tableWidget_itemSelectionChanged();
|
|
void on_seriesNameLineEdit_textChanged(const QString &arg1);
|
|
void on_valuesFieldComboBox_currentTextChanged(const QString &arg1);
|
|
void on_labelsFieldComboBox_currentTextChanged(const QString &arg1);
|
|
void slotChangeSeriesColor();
|
|
void on_seriesTypeComboBox_currentIndexChanged(const QString &arg1);
|
|
|
|
private:
|
|
void readSetting();
|
|
void writeSetting();
|
|
void init();
|
|
void enableSeriesEditor();
|
|
void disableSeriesEditor();
|
|
LimeReport::SeriesItem* currentSeries();
|
|
private:
|
|
Ui::ChartItemEditor *ui;
|
|
LimeReport::ChartItem* m_charItem;
|
|
LimeReport::PageDesignIntf* m_page;
|
|
QSettings* m_settings;
|
|
bool m_ownedSettings;
|
|
bool m_isReadingSetting;
|
|
QToolButton* m_colorButton;
|
|
ColorIndicator* m_colorIndicator;
|
|
bool m_initing;
|
|
};
|
|
|
|
#endif // CHARITEMEDITOR_H
|