vnote/src/vdoublerowitemwidget.h
2018-04-01 12:33:02 +08:00

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