mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
25 lines
558 B
C++
25 lines
558 B
C++
#ifndef VDOUBLEROWITEMWIDGET_H
|
|
#define VDOUBLEROWITEMWIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
class QLabel;
|
|
|
|
class VDoubleRowItemWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit VDoubleRowItemWidget(QWidget *p_parent = nullptr);
|
|
|
|
void setText(const QString &p_firstText, const QString &p_secondText);
|
|
|
|
static VDoubleRowItemWidget *cloneWidget(VDoubleRowItemWidget *p_widget,
|
|
QWidget *p_parent = nullptr);
|
|
|
|
private:
|
|
QLabel *m_firstLabel;
|
|
QLabel *m_secondLabel;
|
|
};
|
|
|
|
#endif // VDOUBLEROWITEMWIDGET_H
|