src/widgets/colorindexinput.h

Tue, 28 Jun 2022 11:51:17 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Tue, 28 Jun 2022 11:51:17 +0300
changeset 281
afed72b544f0
parent 264
76a025db4948
permissions
-rw-r--r--

- Add CMake build type to about page and window title
- Use locale-dependant short date format in window title and long format in about page
- Move version definition into project() call
- Renamed the c++ macros to match CMake variable names

#pragma once
#include "src/colors.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