vdoublerowitemwidget.h 558 B

123456789101112131415161718192021222324
  1. #ifndef VDOUBLEROWITEMWIDGET_H
  2. #define VDOUBLEROWITEMWIDGET_H
  3. #include <QWidget>
  4. class QLabel;
  5. class VDoubleRowItemWidget : public QWidget
  6. {
  7. Q_OBJECT
  8. public:
  9. explicit VDoubleRowItemWidget(QWidget *p_parent = nullptr);
  10. void setText(const QString &p_firstText, const QString &p_secondText);
  11. static VDoubleRowItemWidget *cloneWidget(VDoubleRowItemWidget *p_widget,
  12. QWidget *p_parent = nullptr);
  13. private:
  14. QLabel *m_firstLabel;
  15. QLabel *m_secondLabel;
  16. };
  17. #endif // VDOUBLEROWITEMWIDGET_H