openscad/src/FontListTableView.h

19 lines
306 B
C++

#pragma once
#include <QTableView>
class FontListTableView : public QTableView
{
Q_OBJECT;
public:
FontListTableView(QWidget *parent = NULL);
void setDragText(const QString &text);
protected:
void startDrag(Qt::DropActions supportedActions);
private:
QString text;
};