src/widgets/colorindexinput.h

Wed, 08 Jun 2022 23:14:55 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 08 Jun 2022 23:14:55 +0300
changeset 208
930928b760a2
parent 205
1a4342d80de7
child 214
8e1fe64ce4e3
permissions
-rw-r--r--

Add model icons back into the list view

#pragma once
#include "document.h"

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

mercurial