VAPOR3
3.9.4
apps
vaporgui
VPushButton.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <QWidget>
6
#include <QPushButton>
7
8
#include "
VHBoxWidget.h
"
9
14
15
class
VPushButton
:
public
VHBoxWidget
{
16
Q_OBJECT
17
18
public
:
19
VPushButton
(
const
std::string &buttonText =
"Select"
);
20
21
private
:
22
QPushButton *_pushButton;
23
24
public
slots:
25
void
emitButtonClicked
();
26
27
signals:
28
void
ButtonClicked
();
29
};
VHBoxWidget.h
VHBoxWidget
Definition:
VHBoxWidget.h:16
VPushButton
Definition:
VPushButton.h:15
VPushButton::VPushButton
VPushButton(const std::string &buttonText="Select")
VPushButton::emitButtonClicked
void emitButtonClicked()
VPushButton::ButtonClicked
void ButtonClicked()
Generated by
1.9.6