mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
32 lines
864 B
C++
32 lines
864 B
C++
#ifndef VLISTWIDGETDOUBLEROWS_H
|
|
#define VLISTWIDGETDOUBLEROWS_H
|
|
|
|
#include "vlistwidget.h"
|
|
|
|
#include <QIcon>
|
|
|
|
class QListWidgetItem;
|
|
|
|
|
|
class VListWidgetDoubleRows : public VListWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit VListWidgetDoubleRows(QWidget *p_parent = nullptr);
|
|
|
|
QListWidgetItem *addDoubleRowsItem(const QIcon &p_icon,
|
|
const QString &p_firstRow,
|
|
const QString &p_secondRow);
|
|
|
|
QListWidgetItem *insertDoubleRowsItem(int p_row,
|
|
const QIcon &p_icon,
|
|
const QString &p_firstRow,
|
|
const QString &p_secondRow);
|
|
|
|
void moveItem(int p_srcRow, int p_destRow) Q_DECL_OVERRIDE;
|
|
|
|
void clearAll() Q_DECL_OVERRIDE;
|
|
};
|
|
|
|
#endif // VLISTWIDGETDOUBLEROWS_H
|