first commit, again.
This commit is contained in:
45
src/application/xqmainmodel.h
Normal file
45
src/application/xqmainmodel.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/***************************************************************************
|
||||
|
||||
source::worx xtree
|
||||
Copyright © 2024-2025 c.holzheuer
|
||||
christoph.holzheuer@gmail.com
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef XQMAINMODEL_H
|
||||
#define XQMAINMODEL_H
|
||||
|
||||
//#include <QItemSelectionModel>
|
||||
|
||||
#include <xqviewmodel.h>
|
||||
//#include <xqmodelsections.h>
|
||||
|
||||
class XQTreeTable;
|
||||
|
||||
|
||||
class XQMainModel : public XQViewModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
explicit XQMainModel(QObject *parent = nullptr);
|
||||
virtual ~XQMainModel() = default;
|
||||
|
||||
XQItem* addProjectItem( XQNodePtr contentNode );
|
||||
void addSectionItem( const XQModelSection& section, XQItem* projectItem );
|
||||
|
||||
protected:
|
||||
|
||||
void initContextMenu() override;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif // XQMAINMODEL_H
|
Reference in New Issue
Block a user