src/widgets/colorindexinput.h

Tue, 15 Mar 2022 19:48:07 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 15 Mar 2022 19:48:07 +0200
changeset 185
a38a0eb007b0
parent 178
a23024fc98e0
child 200
ca23936b455b
permissions
-rw-r--r--

Added line path tool

#pragma once
#include "document.h"

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

mercurial