23 lines
545 B
C++
23 lines
545 B
C++
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class QLabel;
|
|
|
|
namespace TikzRefinery {
|
|
|
|
// Presents current fixed-provider support. A general creation catalogue is still planned.
|
|
class tkrShapePalette final : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit tkrShapePalette(QWidget *pParent = nullptr);
|
|
void setProviderDescription(const QString &strDescription, bool bAvailable);
|
|
|
|
private:
|
|
QLabel *m_pProviderLabel = nullptr; // Owned by this widget through Qt parenting.
|
|
QLabel *m_pAvailabilityLabel = nullptr;
|
|
};
|
|
|
|
} // namespace TikzRefinery
|