wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ElementTabNavigator.h
Go to the documentation of this file.
1// Copyright 2015 - 2026, GIBIS-UNIFESP and the wiRedPanda contributors
2// SPDX-License-Identifier: GPL-3.0-or-later
3
7
8#pragma once
9
10#include <QObject>
11#include <QVector>
12
13class ElementEditor;
14class GraphicElement;
15class Scene;
16
32class ElementTabNavigator : public QObject
33{
34 Q_OBJECT
35
36public:
42 explicit ElementTabNavigator(ElementEditor *editor, QObject *parent = nullptr);
43
45 bool eventFilter(QObject *obj, QEvent *event) override;
46
50 static QVector<GraphicElement *> readingOrder(QVector<GraphicElement *> elements);
51
52private:
53 // --- Members ---
54
55 ElementEditor *m_editor;
56};
Widget for inspecting and editing the properties of selected circuit elements.
static QVector< GraphicElement * > readingOrder(QVector< GraphicElement * > elements)
bool eventFilter(QObject *obj, QEvent *event) override
ElementTabNavigator(ElementEditor *editor, QObject *parent=nullptr)
Constructs the navigator.
Abstract base class for all graphical circuit elements in wiRedPanda.
Main circuit editing scene.
Definition Scene.h:56