mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-30 17:44:07 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
22
qt/info_dialog.hpp
Normal file
22
qt/info_dialog.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
|
||||
namespace qt
|
||||
{
|
||||
/// Simple information dialog with scrollable html content
|
||||
/// @note exec() returns 0 if dialog was closed or [1..buttons_count] for any button pressed
|
||||
class InfoDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit InfoDialog(QString const & title, QString const & text,
|
||||
QWidget * parent, QStringList const & buttons = QStringList());
|
||||
public Q_SLOTS:
|
||||
void OnButtonClick1();
|
||||
void OnButtonClick2();
|
||||
void OnButtonClick3();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user