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 2021-10-12 at 20:06:42 +0000