Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

41 lines
833 B

#ifndef QTMVVM_MESSAGE_P_H
#define QTMVVM_MESSAGE_P_H
#include <QtCore/QHash>
#include <QtCore/QPointer>
#include <QtCore/QMetaMethod>
#include "qtmvvmcore_global.h"
#include "message.h"
namespace QtMvvm {
class MessageConfigPrivate : public QSharedData
{
public:
MessageConfigPrivate(const QByteArray &type, const QByteArray &subType);
MessageConfigPrivate(const MessageConfigPrivate &other);
QByteArray type;
QByteArray subType;
QString title;
QString text;
MessageConfig::StandardButtons buttons;
QHash<MessageConfig::StandardButton, QString> buttonTexts;
QVariant defaultValue;
QVariantMap editProperties;
};
class MessageResultPrivate
{
public:
QPointer<QObject> closeObject;
QMetaMethod closeMethod;
bool closeRequested = false;
QVariant result;
bool autoDelete = true;
};
}
#endif // QTMVVM_MESSAGE_P_H