wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ClockDialogUI.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// Specific Qt includes instead of monolithic QtWidgets
11#include <QDialog>
12#include <QDialogButtonBox>
13#include <QGridLayout>
14#include <QLabel>
15#include <QSlider>
16#include <QSpinBox>
17
19{
20public:
21 // --- Lifecycle ---
22
23 ClockDialogUi() = default;
24
25 ClockDialogUi(const ClockDialogUi&) = delete;
27
28 // --- Setup ---
29
34 void setupUi(QDialog *ClockDialog);
35
40 void retranslateUi(QDialog *ClockDialog);
41
42 // --- Widgets ---
43
44 // Layout
45 QGridLayout *gridLayout_2 = nullptr;
46
47 // Controls
48 QSpinBox *periodSpinBox = nullptr;
49 QSlider *periodSlider = nullptr;
50
51 // Labels
52 QLabel *titleLabel = nullptr;
53 QLabel *maxLabel = nullptr;
54 QLabel *minLabel = nullptr;
55
56 // Buttons
57 QDialogButtonBox *buttonBox = nullptr;
58};
QSpinBox * periodSpinBox
ClockDialogUi & operator=(const ClockDialogUi &)=delete
void setupUi(QDialog *ClockDialog)
Creates and lays out all child widgets inside ClockDialog.
void retranslateUi(QDialog *ClockDialog)
Updates all translatable strings in the dialog.
ClockDialogUi()=default
QSlider * periodSlider
QLabel * titleLabel
QLabel * minLabel
ClockDialogUi(const ClockDialogUi &)=delete
QLabel * maxLabel
QGridLayout * gridLayout_2
QDialogButtonBox * buttonBox
Modal dialog for selecting the period of a beWavedDolphin clock wave.
Definition ClockDialog.h:25