Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* PresentationManangement - Script Overview Dialog Model
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*
|
||||
* Created by Mike Wille, SLSE, 2017-03-15
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Services/PresentationManagement/logger.h>
|
||||
#include <Plugins/PresentationManagement/Gui/Common/preguicommon_export.h>
|
||||
|
||||
#include <Plugins/PresentationManagement/Gui/Common/pre_model.h>
|
||||
|
||||
namespace PresentationManagement
|
||||
{
|
||||
|
||||
class PREGUICOMMON_EXPORT PreMobileDialogModel : public PresentationManagementDialogModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PreMobileDialogModel(QObject *parent = nullptr);
|
||||
~PreMobileDialogModel();
|
||||
|
||||
QVariant data(const QModelIndex &, int) const override final;
|
||||
Qt::ItemFlags flags(const QModelIndex &index) const override;
|
||||
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
|
||||
|
||||
QVector<int> getDownloadedScriptIds() const;
|
||||
|
||||
Q_SIGNALS:
|
||||
void checkboxClicked();
|
||||
protected:
|
||||
void switchCheckbox(const QModelIndex &index);
|
||||
private:
|
||||
friend class PreMobileDialogProxyModel;
|
||||
|
||||
QVector<bool> m_vecDownload;
|
||||
|
||||
int m_checkboxColumn;
|
||||
LOGGER_T m_logger;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user