text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_unixmanagerfilter.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
403
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_mediamenu.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
9,021
```c++ #ifndef QT_JOYSTICKCONFIGURATION_HPP #define QT_JOYSTICKCONFIGURATION_HPP #include <QDialog> namespace Ui { class JoystickConfiguration; } class JoystickConfiguration : public QDialog { Q_OBJECT public: explicit JoystickConfiguration(int type, int joystick_nr, QWidget *parent = nullptr); ~Joystic...
/content/code_sandbox/src/qt/qt_joystickconfiguration.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
150
```c++ static std::unordered_map<uint8_t, uint16_t> be_keycodes = { {B_F1_KEY, 0x3b}, {B_F2_KEY, 0x3c}, {B_F3_KEY, 0x3d}, {B_F4_KEY, 0x3e}, {B_F5_KEY, 0x3f}, {B_F6_KEY, 0x40}, {B_F7_KEY, 0x41}, {B_F8_KEY, ...
/content/code_sandbox/src/qt/be_keyboard.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,394
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_opengloptions.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
761
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/win_thread.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
824
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_mediahistorymanager.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
968
```c++ #ifndef QT_RENDERERCONTAINER_HPP #define QT_RENDERERCONTAINER_HPP #include <QDialog> #include <QEvent> #include <QKeyEvent> #include <QStackedWidget> #include <QWidget> #include <QCursor> #include <atomic> #include <memory> #include <tuple> #include <vector> #include "qt_renderercommon.hpp" namespace Ui { cl...
/content/code_sandbox/src/qt/qt_rendererstack.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
683
```c++ #ifndef QT_DEVICECONFIG_HPP #define QT_DEVICECONFIG_HPP #include <QDialog> #include "qt_settings.hpp" extern "C" { struct _device_; } namespace Ui { class DeviceConfig; } class Settings; class DeviceConfig : public QDialog { Q_OBJECT public: explicit DeviceConfig(QWidget *parent = nullptr); ~D...
/content/code_sandbox/src/qt/qt_deviceconfig.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
158
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/qt.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
531
```c #include <X11/Xlib.h> #include <X11/Xutil.h> #include <stdio.h> #include "x11_util.h" void set_wm_class(unsigned long window, char *res_name) { Display* display = XOpenDisplay(NULL); if (display == NULL) { return; } XClassHint hint; XGetClassHint(display, window, &hint); hint.re...
/content/code_sandbox/src/qt/x11_util.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
150
```c++ #include <cstdint> extern "C" { void plat_midi_play_msg(uint8_t *msg) { } void plat_midi_play_sysex(uint8_t *sysex, unsigned int len) { } void plat_midi_input_init(void) { } void plat_midi_input_close(void) { } int plat_midi_write(uint8_t val) { return 0; } void plat_midi_init() { } void plat_midi_cl...
/content/code_sandbox/src/qt/qt_midi.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
210
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/xkbcommon_x11_keyboard.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
111
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_harddrive_common.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,695
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/xkbcommon_keyboard.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,534
```c++ #ifndef QT_SETTINGSDISPLAY_HPP #define QT_SETTINGSDISPLAY_HPP #include <QWidget> #define VIDEOCARD_MAX 2 namespace Ui { class SettingsDisplay; } class SettingsDisplay : public QWidget { Q_OBJECT public: explicit SettingsDisplay(QWidget *parent = nullptr); ~SettingsDisplay(); void save(); p...
/content/code_sandbox/src/qt/qt_settingsdisplay.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
218
```c++ #ifndef QT_SETTINGSMACHINE_HPP #define QT_SETTINGSMACHINE_HPP #include <QWidget> namespace Ui { class SettingsMachine; } class SettingsMachine : public QWidget { Q_OBJECT public: explicit SettingsMachine(QWidget *parent = nullptr); ~SettingsMachine(); void save(); signals: void currentM...
/content/code_sandbox/src/qt/qt_settingsmachine.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
185
```c++ #ifndef QT_MACHINESTATUS_HPP #define QT_MACHINESTATUS_HPP #include <QWidget> #include <QLabel> #include <QMouseEvent> #include <QMimeData> #include <memory> class QStatusBar; class ClickableLabel : public QLabel { Q_OBJECT; public: explicit ClickableLabel(QWidget *parent = nullptr) : QLabel(...
/content/code_sandbox/src/qt/qt_machinestatus.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
548
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_models_common.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
200
```c++ #ifndef QT_SOUNDGAIN_HPP #define QT_SOUNDGAIN_HPP #include <QDialog> namespace Ui { class SoundGain; } class SoundGain : public QDialog { Q_OBJECT public: explicit SoundGain(QWidget *parent = nullptr); ~SoundGain(); private slots: void on_verticalSlider_valueChanged(int value); void on_...
/content/code_sandbox/src/qt/qt_soundgain.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
104
```c++ #ifndef QT_MCADEVICELIST_HPP #define QT_MCADEVICELIST_HPP #include <QDialog> namespace Ui { class MCADeviceList; } class MCADeviceList : public QDialog { Q_OBJECT public: explicit MCADeviceList(QWidget *parent = nullptr); ~MCADeviceList(); private: Ui::MCADeviceList *ui; }; #endif // QT_MCA...
/content/code_sandbox/src/qt/qt_mcadevicelist.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
91
```c++ #ifndef QT_MAINWINDOW_HPP #define QT_MAINWINDOW_HPP #include <QMainWindow> #include <QLabel> #include <QEvent> #include <QFocusEvent> #include <memory> #include <array> #include <atomic> class MediaMenu; class RendererStack; namespace Ui { class MainWindow; } class MachineStatus; class MainWindow : public ...
/content/code_sandbox/src/qt/qt_mainwindow.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,355
```c++ #ifndef QT_SETTINGSPORTS_HPP #define QT_SETTINGSPORTS_HPP #include <QWidget> namespace Ui { class SettingsPorts; } class SettingsPorts : public QWidget { Q_OBJECT public: explicit SettingsPorts(QWidget *parent = nullptr); ~SettingsPorts(); void save(); #if 0 private slots: void on_check...
/content/code_sandbox/src/qt/qt_settingsports.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
356
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_ui.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,768
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/dummy_cdrom_ioctl.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,545
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settingsdisplay.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,410
```c++ static std::array<uint32_t, 127> cocoa_keycodes = { /* key names in parentheses are not declared by Apple headers */ 0x1e, /* ANSI_A */ 0x1f, /* ANSI_S */ 0x20, /* ANSI_D */ 0x21, /* ANSI_F */ 0x23, /* ANSI_H */ 0x22, /* ANSI_G */ 0x2c, /* ANSI_Z */ 0x2d, /* ANSI_X */ ...
/content/code_sandbox/src/qt/cocoa_keyboard.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,609
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_filefield.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
413
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/evdev_mouse.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
833
```c++ #pragma once #include <memory> #include <QObject> #include <QMap> #include "qt_mediahistorymanager.hpp" extern "C" { #include <86box/86box.h> } class QMenu; class MediaMenu : public QObject { Q_OBJECT public: MediaMenu(QWidget *parent); void refresh(QMenu *parentMenu); // because some 86box ...
/content/code_sandbox/src/qt/qt_mediamenu.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
758
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_harddiskdialog.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
7,817
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_softwarerenderer.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
816
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_platform.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
6,262
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/evdev_keyboard.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,112
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_soundgain.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
245
```c++ #include "qt_vulkanwindowrenderer.hpp" #include <QMessageBox> #include <QWindow> #if QT_CONFIG(vulkan) # include <QVulkanWindowRenderer> # include <QVulkanDeviceFunctions> # include <array> # include <stdexcept> # include "qt_mainwindow.hpp" # include "qt_vulkanrenderer.hpp" extern "C" { # ...
/content/code_sandbox/src/qt/qt_vulkanwindowrenderer.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
17,772
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_openglrenderer.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
799
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/win_opendir.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,207
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is ...
/content/code_sandbox/src/qt/win_serial_passthrough.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,963
```c++ #pragma once #include <cstdint> #include "qt_settings_bus_tracking.hpp" class QString; class QAbstractItemModel; class SettingsBusTracking; namespace Harddrives { void populateBuses(QAbstractItemModel *model); void populateRemovableBuses(QAbstractItemModel *model)...
/content/code_sandbox/src/qt/qt_harddrive_common.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
127
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_openglrenderer.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
3,341
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settingsnetwork.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,141
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_specifydimensions.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,004
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/evdev_keyboard.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
125
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settingssound.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,465
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_unixmanagerfilter.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
253
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_opengloptionsdialog.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
668
```c++ #ifndef QT_FILEFIELD_HPP #define QT_FILEFIELD_HPP #include <QWidget> namespace Ui { class FileField; } class FileField : public QWidget { Q_OBJECT public: explicit FileField(QWidget *parent = nullptr); ~FileField(); QString fileName() const { return fileName_; } void setFileName(const...
/content/code_sandbox/src/qt/qt_filefield.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
237
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/win_joystick_rawinput.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
5,165
```c++ #ifndef QT_SETTINGSOTHERREMOVABLE_HPP #define QT_SETTINGSOTHERREMOVABLE_HPP #include <QWidget> namespace Ui { class SettingsOtherRemovable; } class SettingsOtherRemovable : public QWidget { Q_OBJECT public: explicit SettingsOtherRemovable(QWidget *parent = nullptr); ~SettingsOtherRemovable(); ...
/content/code_sandbox/src/qt/qt_settingsotherremovable.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
287
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settingsinput.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,570
```c++ #include <QAbstractNativeEventFilter> #include <QByteArray> #if QT_VERSION_MAJOR >= 6 # define result_t qintptr #else # define result_t long #endif class CocoaEventFilter : public QAbstractNativeEventFilter { public: CocoaEventFilter() {}; ~CocoaEventFilter(); virtual bool nativeEventFilter(c...
/content/code_sandbox/src/qt/cocoa_mouse.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
91
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_newfloppydialog.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
8,057
```c++ #ifndef QT_HARDDISKDIALOG_HPP #define QT_HARDDISKDIALOG_HPP #include <QDialog> namespace Ui { class HarddiskDialog; } class HarddiskDialog : public QDialog { Q_OBJECT public: explicit HarddiskDialog(bool existing, QWidget *parent = nullptr); ~HarddiskDialog(); uint8_t bus() const; uint8...
/content/code_sandbox/src/qt/qt_harddiskdialog.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
439
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_renderercommon.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,019
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_rendererstack.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
3,817
```c++ class QWindow; void wl_mouse_capture(QWindow *window); void wl_mouse_uncapture(); void wl_init(); ```
/content/code_sandbox/src/qt/wl_mouse.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
24
```objective-c #ifdef __cplusplus extern "C" { #endif void set_wm_class(unsigned long window, char *res_name); #ifdef __cplusplus } #endif ```
/content/code_sandbox/src/qt/x11_util.h
objective-c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
33
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settingsharddisks.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
3,314
```c++ #pragma once #include <QDialog> #include <QEvent> #include <QImage> #include <QRect> #include <QWidget> #include <atomic> #include <memory> #include <tuple> #include <vector> class QWidget; class RendererCommon { public: RendererCommon(); void onResize(int width, int height); virtual voi...
/content/code_sandbox/src/qt/qt_renderercommon.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
282
```c++ #ifndef QT_SETTINGSSOUND_HPP #define QT_SETTINGSSOUND_HPP #include <QWidget> namespace Ui { class SettingsSound; } class SettingsSound : public QWidget { Q_OBJECT public: explicit SettingsSound(QWidget *parent = nullptr); ~SettingsSound(); void save(); public slots: void onCurrentMachin...
/content/code_sandbox/src/qt/qt_settingssound.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
265
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_opengloptions.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,277
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_util.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
863
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/xkbcommon_x11_keyboard.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
583
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/xinput2_mouse.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,293
```c++ #ifndef QT_STYLEOVERRIDE_HPP #define QT_STYLEOVERRIDE_HPP #include <QProxyStyle> #include <QWidget> #include <QLayout> class StyleOverride : public QProxyStyle { public: int styleHint( StyleHint hint, const QStyleOption *option = nullptr, const QWidget *widget ...
/content/code_sandbox/src/qt/qt_styleoverride.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
100
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settings.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,892
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/sdl_joystick.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,792
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settingsstoragecontrollers.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,773
```c++ #ifndef QT_SETTINGS_BUS_TRACKING_HPP #define QT_SETTINGS_BUS_TRACKING_HPP #include <QWidget> #define TRACK_CLEAR 0 #define TRACK_SET 1 #define DEV_HDD 0x01 #define DEV_CDROM 0x02 #define DEV_ZIP 0x04 #define DEV_MO 0x08 #define BUS_MFM 0 #define BUS_ESDI 1 #define BUS_XTA ...
/content/code_sandbox/src/qt/qt_settings_bus_tracking.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
682
```c++ #ifndef QT_SETTINGSINPUT_HPP #define QT_SETTINGSINPUT_HPP #include <QWidget> namespace Ui { class SettingsInput; } class SettingsInput : public QWidget { Q_OBJECT public: explicit SettingsInput(QWidget *parent = nullptr); ~SettingsInput(); void save(); public slots: void onCurrentMachin...
/content/code_sandbox/src/qt/qt_settingsinput.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
167
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_winrawinputfilter.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,843
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/wl_mouse.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
895
```c++ #ifndef VULKANWINDOWRENDERER_HPP #define VULKANWINDOWRENDERER_HPP #include <QVulkanWindow> #if QT_CONFIG(vulkan) # include "qt_renderercommon.hpp" # include "qt_vulkanrenderer.hpp" class VulkanRenderer2; class VulkanWindowRenderer : public QVulkanWindow, public RendererCommon { Q_OBJECT public: ...
/content/code_sandbox/src/qt/qt_vulkanwindowrenderer.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
237
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/win_dynld.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
507
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/xkbcommon_wl_keyboard.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,609
```c++ #pragma once /**************************************************************************** ** ** ** "Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions are ** met: ** * Redistributions of source code must retain the above cop...
/content/code_sandbox/src/qt/qt_vulkanrenderer.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
834
```c++ #ifndef QT_SETTINGS_HPP #define QT_SETTINGS_HPP #include <QDialog> namespace Ui { class Settings; } class SettingsMachine; class SettingsDisplay; class SettingsInput; class SettingsSound; class SettingsNetwork; class SettingsPorts; class SettingsStorageControllers; class SettingsHarddisks; class SettingsFlopp...
/content/code_sandbox/src/qt/qt_settings.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
234
```c++ /**************************************************************************** ** ** ** "Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions are ** met: ** * Redistributions of source code must retain the above copyright ** ...
/content/code_sandbox/src/qt/qt_vulkanrenderer.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
9,569
```c++ #ifdef EVDEV_INPUT void evdev_init(); #endif ```
/content/code_sandbox/src/qt/evdev_mouse.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
13
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_mainwindow.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
16,519
```c++ #ifndef QT_SETTINGSOTHERPERIPHERALS_HPP #define QT_SETTINGSOTHERPERIPHERALS_HPP #include <QWidget> namespace Ui { class SettingsOtherPeripherals; } class SettingsOtherPeripherals : public QWidget { Q_OBJECT public: explicit SettingsOtherPeripherals(QWidget *parent = nullptr); ~SettingsOtherPeriph...
/content/code_sandbox/src/qt/qt_settingsotherperipherals.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
265
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_winmanagerfilter.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
290
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settings_bus_tracking.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,277
```c++ #include "qt_mcadevicelist.hpp" #include "ui_qt_mcadevicelist.h" extern "C" { #include <86box/86box.h> #include <86box/video.h> #include <86box/mca.h> #include <86box/plat.h> } MCADeviceList::MCADeviceList(QWidget *parent) : QDialog(parent) , ui(new Ui::MCADeviceList) { ui->setupUi(this); star...
/content/code_sandbox/src/qt/qt_mcadevicelist.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
290
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_machinestatus.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
6,879
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_settingsfloppycdrom.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
4,197
```c++ #ifndef QT_SETTINGSHARDDISKS_HPP #define QT_SETTINGSHARDDISKS_HPP #include <QWidget> namespace Ui { class SettingsHarddisks; } class SettingsHarddisks : public QWidget { Q_OBJECT public: explicit SettingsHarddisks(QWidget *parent = nullptr); ~SettingsHarddisks(); void reloadBusChannels(); ...
/content/code_sandbox/src/qt/qt_settingsharddisks.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
199
```c++ #ifndef QT_UTIL_HPP #define QT_UTIL_HPP #include <QString> #include <QWidget> #include <initializer_list> class QScreen; namespace util { static constexpr auto UUID_MIN_LENGTH = 36; /* Creates extension list for qt filedialog */ QString DlgFilter(std::initializer_list<QString> extensions, bool last = false); ...
/content/code_sandbox/src/qt/qt_util.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
115
```c++ #ifndef SOFTWARERENDERER_HPP #define SOFTWARERENDERER_HPP #include <QWidget> #include <QRasterWindow> #include <QPaintDevice> #include <array> #include <atomic> #include "qt_renderercommon.hpp" class SoftwareRenderer : #ifdef __HAIKU__ public QWidget, #else public QRasterWindow, #endif public Rende...
/content/code_sandbox/src/qt/qt_softwarerenderer.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
224
```c++ #ifndef QT_SETTINGSNETWORK_HPP #define QT_SETTINGSNETWORK_HPP #include <QWidget> namespace Ui { class SettingsNetwork; } class SettingsNetwork : public QWidget { Q_OBJECT public: explicit SettingsNetwork(QWidget *parent = nullptr); ~SettingsNetwork(); void save(); public slots: void onC...
/content/code_sandbox/src/qt/qt_settingsnetwork.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
152
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_deviceconfig.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
3,735
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/xkbcommon_keyboard.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
142
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/qt/win_cdrom_ioctl.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
4,014
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_winrawinputfilter.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
494
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_hardwarerenderer.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,605
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_mediahistorymanager.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,467
```c++ /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box ...
/content/code_sandbox/src/qt/qt_opengloptionsdialog.hpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
269
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/mem/catalyst_flash.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,545
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box distribution. * * DRAM row handlin...
/content/code_sandbox/src/mem/row.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
3,138