src/widgets/colorindexinput.h

Sun, 26 Jun 2022 20:27:04 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 26 Jun 2022 20:27:04 +0300
changeset 261
6a875faebde2
parent 258
fe094d0687ad
child 263
59b6027b9843
permissions
-rw-r--r--

pi is no longer a template

#pragma once
#include "document.h"

class ColorIndexInput : public QWidget
{
	Q_OBJECT
	const ColorTable* colorTable = nullptr;
	class Ui_ColorIndexInput& ui;
public:
	ColorIndexInput(QWidget *parent = nullptr);
	~ColorIndexInput();
	ldraw::Color selectedColor() const;
	void setSelectedColor(ldraw::Color color);
Q_SIGNALS:
	void colorChanged(ldraw::Color color);
private:
};

mercurial