Files
qt-creator/share/qtcreator/templates/qt4project/customwidgetwizard/tpl_widget.h

21 lines
345 B
C
Raw Normal View History

@if '%{Cpp:PragmaOnce}'
#pragma once
@else
#ifndef @WIDGET_INCLUDE_GUARD@
#define @WIDGET_INCLUDE_GUARD@
@endif
#include <@WIDGET_BASE_CLASS@>
class @WIDGET_CLASS@ : public @WIDGET_BASE_CLASS@
{
Q_OBJECT
public:
explicit @WIDGET_CLASS@(QWidget *parent = nullptr);
};
@if ! '%{Cpp:PragmaOnce}'
#endif // @WIDGET_INCLUDE_GUARD@
@endif