first commit

This commit is contained in:
2026-02-21 17:11:31 +09:00
commit 18b4338361
4001 changed files with 365464 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
#ifndef RM_POPUP_H
#define RM_POPUP_H
#include <QDialog>
#include "../rm_include.h"
class TitleWidget;
class RMWidgetDrag;
class RMButton;
class RMPopup : public QDialog
{
Q_OBJECT
protected:
TitleWidget* _title;
QVBoxLayout* _mainLayout;
RMWidgetDrag* _drag;
QWidget* _contentWidget; // message, content area
QWidget* _buttonWidget; // button area
QHBoxLayout* _buttonLayout; // button layout
public:
#if (LIVE_LANGUAGE_CHANGE)
RMButton* _cancelButton;
RMButton* _okButton;
static int languageIndex;
void createLanguageLayout();
#endif
public:
RMPopup(QWidget *parent = 0, QString title = "",QString icon = "", Qt::WindowFlags f = 0);
~RMPopup();
void hideCloseButton();
public slots:
#if (LIVE_LANGUAGE_CHANGE)
void onLanguageSelected(int index);
#endif
};
#endif // RM_POPUP_H