src/widgets/colorindexinput.h

Wed, 22 Jun 2022 23:51:06 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Wed, 22 Jun 2022 23:51:06 +0300
changeset 258
fe094d0687ad
parent 214
8e1fe64ce4e3
child 263
59b6027b9843
permissions
-rw-r--r--

Add widgets to object editor

#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