Wavelength
Privacy-focused, cross-platform, and open-source communication application
Loading...
Searching...
No Matches
cyber_chat_button.h
Go to the documentation of this file.
1
#ifndef CYBER_CHAT_BUTTON_H
2
#define CYBER_CHAT_BUTTON_H
3
4
#include <QPushButton>
5
13
class
CyberChatButton
final :
public
QPushButton {
14
Q_OBJECT
15
16
public
:
23
explicit
CyberChatButton
(
const
QString &text, QWidget *parent =
nullptr
);
24
25
protected
:
32
void
paintEvent
(QPaintEvent *event)
override
;
33
};
34
35
#endif
//CYBER_CHAT_BUTTON_H
CyberChatButton::paintEvent
void paintEvent(QPaintEvent *event) override
Overridden paint event handler. Draws the custom cyberpunk button appearance. Renders the clipped bac...
Definition
cyber_chat_button.cpp:10
CyberChatButton::CyberChatButton
CyberChatButton(const QString &text, QWidget *parent=nullptr)
Constructs a CyberChatButton. Initializes the button with the given text and sets the cursor to a poi...
Definition
cyber_chat_button.cpp:6
src
ui
buttons
cyber_chat_button.h
Generated by
1.13.2