src/widgets/circularsectioneditor.h

Thu, 20 Jun 2019 08:54:35 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Thu, 20 Jun 2019 08:54:35 +0300
changeset 1440
265b2e95a8e8
parent 1417
ed39bfca7a67
permissions
-rw-r--r--

uuid things

#pragma once
#include <QWidget>
#include "../basics.h"

class CircularSectionEditor : public QWidget
{
	Q_OBJECT

public:
	explicit CircularSectionEditor(QWidget *parent = 0);
	~CircularSectionEditor();

	CircularSection section();
	void setSection(const CircularSection& newSection);

signals:
	void sectionChanged(CircularSection);

private:
	class Ui_CircularSectionEditor& ui;
	int previousDivisions;

	Q_SLOT void updateFractionLabel();
	Q_SLOT void segmentsChanged();
	Q_SLOT void divisionsChanged();
};

mercurial