Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
15
qt/qt_common/text_dialog.hpp
Normal file
15
qt/qt_common/text_dialog.hpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <QtWidgets/QDialog>
|
||||
|
||||
/// A reusable dialog that shows text or HTML.
|
||||
class TextDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TextDialog(QWidget * parent, QString const & htmlOrText, QString const & title = "");
|
||||
|
||||
private slots:
|
||||
void OnClose();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue