新增sql连接,目前支持mysql、sqlite、oracle连接以及相关数据库操作

This commit is contained in:
taocong
2026-06-26 10:36:47 +08:00
commit 903d805f31
238 changed files with 86008 additions and 0 deletions
@@ -0,0 +1,25 @@
#ifndef ELADOUBLESPINBOX_H
#define ELADOUBLESPINBOX_H
#include <QDoubleSpinBox>
#include "ElaDef.h"
class ElaDoubleSpinBoxPrivate;
class ELA_EXPORT ElaDoubleSpinBox : public QDoubleSpinBox
{
Q_OBJECT
Q_Q_CREATE(ElaDoubleSpinBox)
Q_PROPERTY_CREATE_Q_H(ElaSpinBoxType::ButtonMode, ButtonMode)
public:
explicit ElaDoubleSpinBox(QWidget* parent = nullptr);
~ElaDoubleSpinBox() override;
protected:
void focusInEvent(QFocusEvent* event) override;
void focusOutEvent(QFocusEvent* event) override;
void paintEvent(QPaintEvent* event) override;
void contextMenuEvent(QContextMenuEvent* event) override;
};
#endif // ELADOUBLESPINBOX_H