mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-05 20:39:59 -08:00
36 lines
663 B
C++
36 lines
663 B
C++
/**
|
|
* @file tab_home.h
|
|
* @ingroup Tabs
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef TAB_HOME_H
|
|
#define TAB_HOME_H
|
|
|
|
#include "../interface/widgets/general/home_widget.h"
|
|
#include "tab.h"
|
|
|
|
#include <QHBoxLayout>
|
|
#include <libcockatrice/network/client/abstract/abstract_client.h>
|
|
#include <qgroupbox.h>
|
|
|
|
class AbstractClient;
|
|
|
|
class TabHome : public Tab
|
|
{
|
|
Q_OBJECT
|
|
private:
|
|
AbstractClient *client;
|
|
HomeWidget *homeWidget;
|
|
|
|
public:
|
|
TabHome(TabSupervisor *_tabSupervisor, AbstractClient *_client);
|
|
void retranslateUi() override;
|
|
[[nodiscard]] QString getTabText() const override
|
|
{
|
|
return tr("Home");
|
|
}
|
|
};
|
|
|
|
#endif // TAB_HOME_H
|