Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
add_analytics_panel_dialog.h
Go to the documentation of this file.
1
2#ifndef COCKATRICE_ADD_ANALYTICS_PANEL_DIALOG_H
3#define COCKATRICE_ADD_ANALYTICS_PANEL_DIALOG_H
4
5#include <QComboBox>
6#include <QDialog>
7#include <QString>
8#include <QVariant>
9#include <qtmetamacros.h>
10
11class QDialogButtonBox;
12class QVBoxLayout;
13class QWidget;
14
15class AddAnalyticsPanelDialog : public QDialog
16{
17 Q_OBJECT
18public:
19 explicit AddAnalyticsPanelDialog(QWidget *parent);
20
21 QString selectedType() const
22 {
23 return typeCombo->currentData().toString();
24 }
25
26private:
27 QVBoxLayout *layout;
28 QComboBox *typeCombo;
29 QDialogButtonBox *buttons;
30};
31
32#endif // COCKATRICE_ADD_ANALYTICS_PANEL_DIALOG_H
AddAnalyticsPanelDialog(QWidget *parent)
Definition add_analytics_panel_dialog.cpp:11
QComboBox * typeCombo
Definition add_analytics_panel_dialog.h:28
QVBoxLayout * layout
Definition add_analytics_panel_dialog.h:27
QString selectedType() const
Definition add_analytics_panel_dialog.h:21
QDialogButtonBox * buttons
Definition add_analytics_panel_dialog.h:29