Backup.
This commit is contained in:
@@ -20,9 +20,10 @@
|
||||
#include <xqmaptor.h>
|
||||
#include <xqitem.h>
|
||||
|
||||
/**
|
||||
* @brief Struct containing data for a header section
|
||||
*/
|
||||
|
||||
|
||||
|
||||
//! Daten zur beschreibung einer 'sektion' des models.
|
||||
|
||||
class XQModelSection
|
||||
{
|
||||
@@ -57,8 +58,15 @@ protected:
|
||||
|
||||
Q_DECLARE_METATYPE(XQModelSection)
|
||||
|
||||
//! Erste und letzte ziele einer XQModelSection
|
||||
struct XQSectionPos
|
||||
{
|
||||
int firstRow{-1};
|
||||
int lastRow{-1};
|
||||
};
|
||||
|
||||
//! 'maptor' struktur, die alle sections enthält
|
||||
|
||||
//! struktur, die alle sections enthält
|
||||
|
||||
class XQSectionManager
|
||||
{
|
||||
@@ -72,9 +80,13 @@ public:
|
||||
|
||||
const XQModelSection& createSection(const QString& sectionKey, const QModelIndex& modelIndex, XQNodePtr sheetNode);
|
||||
|
||||
/*
|
||||
int firstRow(const QModelIndex& idx) const;
|
||||
int lastRow(const QModelIndex& idx) const;
|
||||
int lastRow(const XQModelSection& section) const;
|
||||
*/
|
||||
|
||||
XQSectionPos sectionPos();
|
||||
|
||||
void dump()const;
|
||||
|
||||
|
Reference in New Issue
Block a user