Debian Codegraph @

src/VDPStatusRegViewer.h

raw symbols SCIP
1 #cxx . . $ `<file>/src/VDPStatusRegViewer.h`/ifndef VDPSTATUSREGVIEWER_H
2 #define VDPSTATUSREGVIEWER_Hcxx . . $ `src/VDPStatusRegViewer.h:2:9`!
3
4 #include "SimpleHexRequest.h"cxx . . $ `<file>/src/SimpleHexRequest.h`/
5 #include "ui_VDPStatusRegisters.h"cxx . . $ `<file>/derived/src/ui_VDPStatusRegisters.h`/
6 #include <QList>
7 #include <QDialog>
8 #include <cstdint>
9
10 /** The highlightDispatcher serves 2 purposes for the InteractiveLabel widgets
11 * a) keep a correct state: Assume widget A and B are related (both are
12 * highlighted at the same time) and they are touching each other. I don't
13 * think that there is a guaranteed order in the enterEvent,leaveEvent, so if
14 * we use the MouseOver signal to connect to the highlight slots of A and B
15 * then this sequence might arise if our mouse moves from A to B and produce
16 * a wrong result:
17 * B.mouseOver(true); A.mouseOver(false) -> highlights are false for both A and B.
18 *
19 * b) serve as a central hub (star toplogy) to dispatch events from one widget
20 * to all others. This way all InteractiveLabel widgets only need to connect
21 * to this highlightDispatcher
22 */
23 class highlightDispatchercxx . . $ highlightDispatcher# : public QObjectcxx . . $ QObject#
24 {
25 Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`!
26 public:
27 highlightDispatchercxx . . $ highlightDispatcher#highlightDispatcher(49f6e7a06ebc5aa8).();
28
29 void receiveStatecxx . . $ highlightDispatcher#receiveState(b45ddcbc8423892c).(bool state);
30
31 signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!:
32 void stateDispatchedcxx . . $ highlightDispatcher#stateDispatched(b45ddcbc8423892c).(bool state);
33
34 private:
35 int countercxx . . $ highlightDispatcher#counter.;
36 };
37
38 class VDPStatusRegViewercxx . . $ VDPStatusRegViewer# : public QDialogcxx . . $ QDialog#, public SimpleHexRequestUsercxx . . $ SimpleHexRequestUser#,
39 private Uicxx . . $ Ui/::VDPStatusRegisterscxx . . $ Ui/VDPStatusRegisters#
40 {
41 Q_OBJECTcxx . . $ VDPStatusRegViewer#tr(75d9f1c324b4579d).
42 public:
43 VDPStatusRegViewercxx . . $ VDPStatusRegViewer#VDPStatusRegViewer(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = nullptr);
44
45 void refreshcxx . . $ VDPStatusRegViewer#refresh(49f6e7a06ebc5aa8).();
46
47 private:
48 void decodeVDPStatusRegscxx . . $ VDPStatusRegViewer#decodeVDPStatusRegs(49f6e7a06ebc5aa8).();
49 void connectHighLightscxx . . $ VDPStatusRegViewer#connectHighLights(49f6e7a06ebc5aa8).();
50 void doConnectcxx . . $ VDPStatusRegViewer#doConnect(991f833aa0973cea).(InteractiveLabelcxx . . $ InteractiveLabel#* lab, highlightDispatchercxx . . $ highlightDispatcher#* dis);
51 void makeGroupcxx . . $ VDPStatusRegViewer#makeGroup(4f92f01150bc6c38).(QListcxx . . $ QList#<InteractiveLabelcxx . . $ InteractiveLabel#*> list, InteractiveLabelcxx . . $ InteractiveLabel#* explained);
52
53 void DataHexRequestReceivedcxx . . $ VDPStatusRegViewer#DataHexRequestReceived(49f6e7a06ebc5aa8).() override;
54
55 private:
56 uint8_tcxx . . $ uint8_t# statusregscxx . . $ VDPStatusRegViewer#statusregs.[16];
57 };
58
59 #endif // VDPSTATUSREGVIEWER_H