QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskMessageSubWindow.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_MESSAGE_SUB_WINDOW_H
7#define QSK_MESSAGE_SUB_WINDOW_H
8
9#include "QskDialogSubWindow.h"
10
11class QskTextOptions;
12
13class QSK_EXPORT QskMessageSubWindow : public QskDialogSubWindow
14{
15 Q_OBJECT
16
17 Q_PROPERTY( QString text READ text
18 WRITE setText NOTIFY textChanged )
19
20 Q_PROPERTY( QskTextOptions textOptions READ textOptions
21 WRITE setTextOptions NOTIFY textOptionsChanged )
22
24
25 public:
26 QskMessageSubWindow( QQuickItem* parent = nullptr );
27 ~QskMessageSubWindow() override;
28
29 void setTextOptions( const QskTextOptions& );
30 QskTextOptions textOptions() const;
31
32 QString text() const;
33
34 public Q_SLOTS:
35 void setText( const QString& );
36
37 Q_SIGNALS:
38 void textChanged( const QString& );
39 void textOptionsChanged( const QskTextOptions& );
40};
41
42#endif