src/Gui/GuiWidget.hpp

Namespaces

Name
Engine
This namespace contains all of the necessary engine components.
Engine::Gui

Classes

Name
class Engine::Gui::GuiWidget
Some generic gui widget class.

Source code

#pragma once

class QObject; // Forward definition

namespace Engine {
    namespace Gui {
        class GuiWidget {
        public:
            explicit GuiWidget(QObject* parent);
            virtual ~GuiWidget() = default;

        signals:
            void mySignal(QObject* object, int a, bool b);

        public slots:
            void mySlot(QObject* object, int a, bool b);

        private:
            QObject* parent;
        };
    } // namespace Gui
} // namespace Engine

Updated on 2022-10-19 at 22:21:59 +0000