| 1 | #cxx . . $ `<file>/src/PaletteDialog.h`/ifndef PALETTEDIALOG_H |
| 2 | #define PALETTEDIALOG_Hcxx . . $ `src/PaletteDialog.h:2:9`! |
| 3 | |
| 4 | #include "ui_PaletteDialog.h"cxx . . $ `<file>/derived/src/ui_PaletteDialog.h`/ |
| 5 | #include <QDialog> |
| 6 | #include <QSignalMapper> |
| 7 | #include <QPushButton> |
| 8 | #include <cstdint> |
| 9 | #include <memory> |
| 10 | |
| 11 | namespace Uicxx . . $ Ui/ { |
| 12 | class PaletteDialogcxx . . $ Ui/PaletteDialog#; |
| 13 | } |
| 14 | |
| 15 | class PalettePatchcxx . . $ PalettePatch# : public QPushButtoncxx . . $ QPushButton# |
| 16 | { |
| 17 | Q_OBJECTcxx . . $ PalettePatch#tr(75d9f1c324b4579d). |
| 18 | public: |
| 19 | explicit PalettePatchcxx . . $ PalettePatch#PalettePatch(156e3b1c1bd4a3d5).(QWidgetcxx . . $ QWidget#* parent = nullptr, int palNr = 0); |
| 20 | //void setColor(QRgb c); |
| 21 | |
| 22 | void updatePaletteChangedcxx . . $ PalettePatch#updatePaletteChanged(28caea9380bfac8a).(const uint8_tcxx . . $ uint8_t#* pal); |
| 23 | void setHighlightTestcxx . . $ PalettePatch#setHighlightTest(d4f767463ce0a6b3).(int colorNr); |
| 24 | |
| 25 | protected: |
| 26 | void paintEventcxx . . $ PalettePatch#paintEvent(f239c9e85d61a220).(QPaintEventcxx . . $ QPaintEvent#* event) override; |
| 27 | |
| 28 | private: |
| 29 | QRgbcxx . . $ QRgb# myColorcxx . . $ PalettePatch#myColor. = Qtcxx . . $ Qt/::greencxx . . $ Qt/green.; |
| 30 | bool isSelectedcxx . . $ PalettePatch#isSelected. = false; |
| 31 | int msxPalNrcxx . . $ PalettePatch#msxPalNr.; |
| 32 | }; |
| 33 | |
| 34 | |
| 35 | class PaletteDialogcxx . . $ PaletteDialog# : public QDialogcxx . . $ QDialog# |
| 36 | { |
| 37 | Q_OBJECTcxx . . $ PaletteDialog#tr(75d9f1c324b4579d). |
| 38 | public: |
| 39 | explicit PaletteDialogcxx . . $ PaletteDialog#PaletteDialog(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 40 | |
| 41 | void setPalettecxx . . $ PaletteDialog#setPalette(f25546b61a629de7).(uint8_tcxx . . $ uint8_t#* pal); |
| 42 | uint8_tcxx . . $ uint8_t#* getPalettecxx . . $ PaletteDialog#getPalette(37d8967d10cb1e7b).(); |
| 43 | void syncToSourcecxx . . $ PaletteDialog#syncToSource(49f6e7a06ebc5aa8).(); |
| 44 | void restoreDefaultPalettecxx . . $ PaletteDialog#restoreDefaultPalette(49f6e7a06ebc5aa8).(); |
| 45 | void setAutoSynccxx . . $ PaletteDialog#setAutoSync(b45ddcbc8423892c).(bool value); |
| 46 | |
| 47 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 48 | void paletteChangedcxx . . $ PaletteDialog#paletteChanged(f25546b61a629de7).(uint8_tcxx . . $ uint8_t#* pal); |
| 49 | void paletteSyncedcxx . . $ PaletteDialog#paletteSynced(49f6e7a06ebc5aa8).(); |
| 50 | |
| 51 | private: |
| 52 | void colorSelectedcxx . . $ PaletteDialog#colorSelected(d4f767463ce0a6b3).(int colorNumber); |
| 53 | void on_horizontalSlider_R_valueChangedcxx . . $ PaletteDialog#on_horizontalSlider_R_valueChanged(d4f767463ce0a6b3).(int value); |
| 54 | void on_horizontalSlider_G_valueChangedcxx . . $ PaletteDialog#on_horizontalSlider_G_valueChanged(d4f767463ce0a6b3).(int value); |
| 55 | void on_horizontalSlider_B_valueChangedcxx . . $ PaletteDialog#on_horizontalSlider_B_valueChanged(d4f767463ce0a6b3).(int value); |
| 56 | void restoreOpeningsPalettecxx . . $ PaletteDialog#restoreOpeningsPalette(49f6e7a06ebc5aa8).(); |
| 57 | |
| 58 | void on_buttonBox_clickedcxx . . $ PaletteDialog#on_buttonBox_clicked(6f406f547f7da55f).(QAbstractButtoncxx . . $ QAbstractButton#* button); |
| 59 | |
| 60 | void on_cb_autosync_stateChangedcxx . . $ PaletteDialog#on_cb_autosync_stateChanged(d4f767463ce0a6b3).(int arg1); |
| 61 | |
| 62 | void updateTextcxx . . $ PaletteDialog#updateText(49f6e7a06ebc5aa8).(); |
| 63 | |
| 64 | void combineRGBcxx . . $ PaletteDialog#combineRGB(49f6e7a06ebc5aa8).(); |
| 65 | //void decodepalette(); |
| 66 | |
| 67 | private: |
| 68 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Uicxx . . $ Ui/::PaletteDialogcxx . . $ Ui/PaletteDialog#> uicxx . . $ PaletteDialog#ui.; |
| 69 | QSignalMappercxx . . $ QSignalMapper#* signalMappercxx . . $ PaletteDialog#signalMapper.; |
| 70 | |
| 71 | uint8_tcxx . . $ uint8_t#* sourcePalcxx . . $ PaletteDialog#sourcePal. = nullptr; |
| 72 | uint8_tcxx . . $ uint8_t# myPalcxx . . $ PaletteDialog#myPal.[32]; |
| 73 | uint8_tcxx . . $ uint8_t# myOriginalPalcxx . . $ PaletteDialog#myOriginalPal.[32]; |
| 74 | |
| 75 | int currentColorcxx . . $ PaletteDialog#currentColor. = 0; |
| 76 | QRgbcxx . . $ QRgb# msxPalettecxx . . $ PaletteDialog#msxPalette.[16]; |
| 77 | |
| 78 | bool autoSynccxx . . $ PaletteDialog#autoSync. = false; |
| 79 | }; |
| 80 | |
| 81 | #endif // PALETTEDIALOG_H |