nngn
Loading...
Searching...
No Matches
component_button.h
Go to the documentation of this file.
1
#ifndef NNGN_TOOLS_AUDIO_COMPONENT_BUTTON_H
2
#define NNGN_TOOLS_AUDIO_COMPONENT_BUTTON_H
3
4
#include <QToolButton>
5
6
namespace
nngn
{
7
8
class
ComponentButton
final :
public
QToolButton {
9
public
:
10
ComponentButton
(
11
int
icon_size,
const
QString &
name
,
const
QString &
code
,
12
const
QString &desc,
const
QString &icon);
13
QString
code
(
void
)
const
{
return
this->
m_code
; }
14
void
mouseMoveEvent
(QMouseEvent*)
final
;
15
private
:
16
QString
m_code
= {};
17
};
18
19
}
20
21
#endif
name
name
Definition
cathedral.lua:11
nngn::ComponentButton
Definition
component_button.h:8
nngn::ComponentButton::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *) final
Definition
component_button.cpp:23
nngn::ComponentButton::code
QString code(void) const
Definition
component_button.h:13
nngn::ComponentButton::m_code
QString m_code
Definition
component_button.h:16
nngn::ComponentButton::ComponentButton
ComponentButton(int icon_size, const QString &name, const QString &code, const QString &desc, const QString &icon)
Definition
component_button.cpp:9
nngn
Definition
audio.cpp:7
tools
audio
component_button.h
Generated by
1.11.0