src/widgets/circularsectioneditor.h

Fri, 22 Jun 2018 15:03:50 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 22 Jun 2018 15:03:50 +0300
changeset 1424
737df8e904af
parent 1417
ed39bfca7a67
permissions
-rw-r--r--

removed a duplicate member

#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