atrooney-online-2/include/aobutton.h
Crystalwarrior c8e12558cd Clang-ify the code with this styling using Visual Studio Code:
{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Stroustrup, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All }
(this is the Visual Studio preset with only "BreakBeforeBraces" changed from Allman to Stroustrup)
2020-05-22 01:18:24 +03:00

22 lines
333 B
C++

#ifndef AOBUTTON_H
#define AOBUTTON_H
#include "aoapplication.h"
#include <QDebug>
#include <QPushButton>
class AOButton : public QPushButton {
Q_OBJECT
public:
AOButton(QWidget *parent, AOApplication *p_ao_app);
~AOButton();
AOApplication *ao_app;
void set_image(QString p_image);
};
#endif // AOBUTTON_H