QVISH 0.1
Public Member Functions | Public Attributes | List of all members
Wizt::qVGadget< Gadget > Struct Template Reference

Template to allow extending the qVMainWindow in a plugin. More...

#include <qVGadgets.hpp>

Inheritance diagram for Wizt::qVGadget< Gadget >:
Wizt::qVGadgetBase

Public Member Functions

void create (qVMainWindow *theMainWindow) override
 

Public Attributes

std::list< RefPtr< Gadget > > Gs
 

Additional Inherited Members

- Static Public Member Functions inherited from Wizt::qVGadgetBase
static void iterate (const std::function< void(qVGadgetBase &)> &)
 

Detailed Description

template<class Gadget>
struct Wizt::qVGadget< Gadget >

Template to allow extending the qVMainWindow in a plugin.

Minimalistic example:

struct MyGadget : ReferenceBase<MyGadget>
{
MyGadget(qVMainWindow*)
: ReferenceBase<MyGadget>(this)
{
// do something with the qVMainWindow
}
};
static Auto<qVGadget<MyMouse3D>> MyMouse3DGadget;
The toplevel QT window.
Definition qVMainWindow.hpp:76

Member Function Documentation

◆ create()

template<class Gadget >
void Wizt::qVGadget< Gadget >::create ( qVMainWindow theMainWindow)
inlineoverridevirtual

Implements Wizt::qVGadgetBase.


The documentation for this struct was generated from the following file: