Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform 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
6
7#include <QComboBox>
8#include <QDialog>
9#include <QDialogButtonBox>
10#include <QVBoxLayout>
11
12class AddAnalyticsPanelDialog : public QDialog
13{
14 Q_OBJECT
15public:
16 explicit AddAnalyticsPanelDialog(QWidget *parent);
17
18 QString selectedType() const
19 {
20 return typeCombo->currentData().toString();
21 }
22
23private:
24 QVBoxLayout *layout;
25 QComboBox *typeCombo;
26 QDialogButtonBox *buttons;
27};
28
29#endif // COCKATRICE_ADD_ANALYTICS_PANEL_DIALOG_H
AddAnalyticsPanelDialog(QWidget *parent)
Definition add_analytics_panel_dialog.cpp:8
QComboBox * typeCombo
Definition add_analytics_panel_dialog.h:25
QVBoxLayout * layout
Definition add_analytics_panel_dialog.h:24
QString selectedType() const
Definition add_analytics_panel_dialog.h:18
QDialogButtonBox * buttons
Definition add_analytics_panel_dialog.h:26