mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 00:18:06 +03:00
Change to subforder project model.
This commit is contained in:
24
limereport/lrcallbackdatasourceintf.h
Normal file
24
limereport/lrcallbackdatasourceintf.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef LRVIRTUALDATASOURCEINTF
|
||||
#define LRVIRTUALDATASOURCEINTF
|
||||
#include <QObject>
|
||||
namespace LimeReport {
|
||||
|
||||
struct CallbackInfo{
|
||||
enum DataType{IsEmpty, HasNext, ColumnHeaderData, ColumnData};
|
||||
enum ChangePosType{First, Next};
|
||||
DataType dataType;
|
||||
int index;
|
||||
QString columnName;
|
||||
};
|
||||
|
||||
class ICallbackDatasource :public QObject{
|
||||
Q_OBJECT
|
||||
signals:
|
||||
void getCallbackData(const LimeReport::CallbackInfo& info, QVariant& data);
|
||||
void changePos(const LimeReport::CallbackInfo::ChangePosType& type, bool& result);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // LRVIRTUALDATASOURCEINTF
|
||||
|
||||
Reference in New Issue
Block a user