SILICON
Toggle main menu visibility
Loading...
Searching...
No Matches
actionGroups.hpp
Go to the documentation of this file.
1
/*
2
Copyright (c) 2026. Giulio Cocconi
3
4
This program is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 3 of the License, or
7
(at your option) any later version.
8
*/
9
10
#pragma once
11
12
class
QAction;
13
14
namespace
SILICON::ui
{
15
17
struct
ProjectActions
{
18
QAction*
newProject
=
nullptr
;
19
QAction*
open
=
nullptr
;
20
QAction*
save
=
nullptr
;
21
QAction*
exportImage
=
nullptr
;
22
QAction*
exit
=
nullptr
;
23
QAction*
settings
=
nullptr
;
24
QAction*
about
=
nullptr
;
25
};
26
28
struct
DocumentActions
{
29
QAction*
newCircuit
=
nullptr
;
30
QAction*
newCodeFile
=
nullptr
;
31
QAction*
newArchitecture
=
nullptr
;
32
QAction*
newBinaryFile
=
nullptr
;
33
QAction*
codeConversion
=
nullptr
;
34
};
35
37
struct
EditActions
{
38
QAction*
undo
=
nullptr
;
39
QAction*
redo
=
nullptr
;
40
QAction*
cut
=
nullptr
;
41
QAction*
copy
=
nullptr
;
42
QAction*
paste
=
nullptr
;
43
QAction*
remove
=
nullptr
;
44
};
45
47
struct
CircuitActions
{
48
QAction*
selectAll
=
nullptr
;
49
QAction*
rotate
=
nullptr
;
50
QAction*
autoPlace
=
nullptr
;
51
QAction*
centerView
=
nullptr
;
52
QAction*
setNormalMode
=
nullptr
;
53
QAction*
setPanMode
=
nullptr
;
54
QAction*
setWireCreationMode
=
nullptr
;
55
QAction*
setSimulationMode
=
nullptr
;
56
QAction*
setComponentPlacingMode
=
nullptr
;
57
QAction*
cancelInteraction
=
nullptr
;
58
QAction*
openComponentCatalog
=
nullptr
;
59
QAction*
editSubcircuitShape
=
nullptr
;
60
};
61
63
struct
ArchitectureActions
{
64
QAction*
build
=
nullptr
;
65
QAction*
visualize
=
nullptr
;
66
};
67
69
struct
WaveformActions
{
70
QAction*
toggleTrace
=
nullptr
;
71
};
72
73
}
// namespace SILICON::ui
SILICON::ui
Definition
actionGroups.hpp:14
SILICON::ui::ArchitectureActions
Definition
actionGroups.hpp:63
SILICON::ui::ArchitectureActions::build
QAction * build
Definition
actionGroups.hpp:64
SILICON::ui::ArchitectureActions::visualize
QAction * visualize
Definition
actionGroups.hpp:65
SILICON::ui::CircuitActions
Definition
actionGroups.hpp:47
SILICON::ui::CircuitActions::selectAll
QAction * selectAll
Definition
actionGroups.hpp:48
SILICON::ui::CircuitActions::autoPlace
QAction * autoPlace
Definition
actionGroups.hpp:50
SILICON::ui::CircuitActions::editSubcircuitShape
QAction * editSubcircuitShape
Definition
actionGroups.hpp:59
SILICON::ui::CircuitActions::centerView
QAction * centerView
Definition
actionGroups.hpp:51
SILICON::ui::CircuitActions::rotate
QAction * rotate
Definition
actionGroups.hpp:49
SILICON::ui::CircuitActions::openComponentCatalog
QAction * openComponentCatalog
Definition
actionGroups.hpp:58
SILICON::ui::CircuitActions::setPanMode
QAction * setPanMode
Definition
actionGroups.hpp:53
SILICON::ui::CircuitActions::setSimulationMode
QAction * setSimulationMode
Definition
actionGroups.hpp:55
SILICON::ui::CircuitActions::cancelInteraction
QAction * cancelInteraction
Definition
actionGroups.hpp:57
SILICON::ui::CircuitActions::setComponentPlacingMode
QAction * setComponentPlacingMode
Definition
actionGroups.hpp:56
SILICON::ui::CircuitActions::setWireCreationMode
QAction * setWireCreationMode
Definition
actionGroups.hpp:54
SILICON::ui::CircuitActions::setNormalMode
QAction * setNormalMode
Definition
actionGroups.hpp:52
SILICON::ui::DocumentActions
Definition
actionGroups.hpp:28
SILICON::ui::DocumentActions::codeConversion
QAction * codeConversion
Definition
actionGroups.hpp:33
SILICON::ui::DocumentActions::newCodeFile
QAction * newCodeFile
Definition
actionGroups.hpp:30
SILICON::ui::DocumentActions::newBinaryFile
QAction * newBinaryFile
Definition
actionGroups.hpp:32
SILICON::ui::DocumentActions::newCircuit
QAction * newCircuit
Definition
actionGroups.hpp:29
SILICON::ui::DocumentActions::newArchitecture
QAction * newArchitecture
Definition
actionGroups.hpp:31
SILICON::ui::EditActions
Definition
actionGroups.hpp:37
SILICON::ui::EditActions::paste
QAction * paste
Definition
actionGroups.hpp:42
SILICON::ui::EditActions::cut
QAction * cut
Definition
actionGroups.hpp:40
SILICON::ui::EditActions::remove
QAction * remove
Definition
actionGroups.hpp:43
SILICON::ui::EditActions::redo
QAction * redo
Definition
actionGroups.hpp:39
SILICON::ui::EditActions::copy
QAction * copy
Definition
actionGroups.hpp:41
SILICON::ui::EditActions::undo
QAction * undo
Definition
actionGroups.hpp:38
SILICON::ui::ProjectActions
Definition
actionGroups.hpp:17
SILICON::ui::ProjectActions::save
QAction * save
Definition
actionGroups.hpp:20
SILICON::ui::ProjectActions::settings
QAction * settings
Definition
actionGroups.hpp:23
SILICON::ui::ProjectActions::exportImage
QAction * exportImage
Definition
actionGroups.hpp:21
SILICON::ui::ProjectActions::about
QAction * about
Definition
actionGroups.hpp:24
SILICON::ui::ProjectActions::newProject
QAction * newProject
Definition
actionGroups.hpp:18
SILICON::ui::ProjectActions::open
QAction * open
Definition
actionGroups.hpp:19
SILICON::ui::ProjectActions::exit
QAction * exit
Definition
actionGroups.hpp:22
SILICON::ui::WaveformActions
Definition
actionGroups.hpp:69
SILICON::ui::WaveformActions::toggleTrace
QAction * toggleTrace
Definition
actionGroups.hpp:70
src
ui
actionGroups.hpp
Generated by
1.17.0