src/widgets/colorindexinput.h

Tue, 07 Jun 2022 21:35:29 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 07 Jun 2022 21:35:29 +0300
changeset 203
1909a0123c72
parent 200
ca23936b455b
child 205
1a4342d80de7
permissions
-rw-r--r--

Move editing modes tool bar, tool options widget stack and model list view into the main window

#pragma once
#include "document.h"

class ColorIndexInput : public QWidget
{
	Q_OBJECT
public:
	ColorIndexInput(EditorTabWidget *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:
	EditorTabWidget* const document;
	class Ui_ColorIndexInput& ui;
};

mercurial