Hide able edit patient panel.

This commit is contained in:
Krad
2022-01-12 11:24:37 +08:00
parent 386bdf7c5a
commit 7bf85c0b4f
11 changed files with 112 additions and 23 deletions

View File

@@ -0,0 +1,24 @@
//
// Created by Krad on 2022/1/11.
//
#ifndef GUI_VERTICALTEXTTOOLBUTTON_H
#define GUI_VERTICALTEXTTOOLBUTTON_H
#include <QToolButton>
class VerticalTextToolButton: public QToolButton {
public:
explicit VerticalTextToolButton(QWidget* parent = nullptr);
virtual ~VerticalTextToolButton();
void setVerticalText(const QString text){
verticalText = text;
}
protected:
virtual void paintEvent(QPaintEvent* e) override;
private:
QString verticalText;
};
#endif //GUI_VERTICALTEXTTOOLBUTTON_H