Showing preview only (6,624K chars total). Download the full file or copy to clipboard to get everything.
Repository: theCheeseboard/thedesk
Branch: master
Commit: 5c8c5d85e967
Files: 1428
Total size: 16.4 MB
Directory structure:
gitextract_ocparz4t/
├── .gitignore
├── .parlance.json
├── CMakeLists.txt
├── LICENSE
├── README.md
├── desktop/
│ ├── CMakeLists.txt
│ ├── acknowledgements.html
│ ├── background/
│ │ ├── background.cpp
│ │ ├── background.h
│ │ └── background.ui
│ ├── bar/
│ │ ├── barwindow.cpp
│ │ ├── barwindow.h
│ │ ├── barwindow.ui
│ │ ├── chunkcontainer.cpp
│ │ ├── chunkcontainer.h
│ │ ├── chunkcontainer.ui
│ │ ├── currentappwidget.cpp
│ │ ├── currentappwidget.h
│ │ ├── currentappwidget.ui
│ │ ├── currentappwidgetmenu.cpp
│ │ ├── currentappwidgetmenu.h
│ │ ├── currentappwidgetmenu.ui
│ │ ├── mainbarwidget.cpp
│ │ ├── mainbarwidget.h
│ │ ├── mainbarwidget.ui
│ │ ├── taskbarapplicationwidget.cpp
│ │ ├── taskbarapplicationwidget.h
│ │ ├── taskbardesktopwidget.cpp
│ │ ├── taskbardesktopwidget.h
│ │ ├── taskbardesktopwidget.ui
│ │ ├── taskbarwidget.cpp
│ │ ├── taskbarwidget.h
│ │ └── taskbarwidget.ui
│ ├── cli/
│ │ ├── commandline.cpp
│ │ └── commandline.h
│ ├── common/
│ │ ├── common.cpp
│ │ └── common.h
│ ├── crash/
│ │ ├── crashhandling.cpp
│ │ └── crashhandling.h
│ ├── desktop.pro
│ ├── gateway/
│ │ ├── appsearchprovider.cpp
│ │ ├── appsearchprovider.h
│ │ ├── appselectionmodel.cpp
│ │ ├── appselectionmodel.h
│ │ ├── appselectionmodellistdelegate.cpp
│ │ ├── appselectionmodellistdelegate.h
│ │ ├── gateway.cpp
│ │ ├── gateway.h
│ │ ├── gateway.ui
│ │ ├── gatewaysearchmodel.cpp
│ │ ├── gatewaysearchmodel.h
│ │ ├── gatewaysearchmodeldelegate.cpp
│ │ ├── gatewaysearchmodeldelegate.h
│ │ ├── maingatewaywidget.cpp
│ │ ├── maingatewaywidget.h
│ │ ├── maingatewaywidget.ui
│ │ ├── searchresultswidget.cpp
│ │ ├── searchresultswidget.h
│ │ └── searchresultswidget.ui
│ ├── main.cpp
│ ├── media/
│ │ ├── intro.ogg
│ │ ├── loop.ogg
│ │ ├── welcome1.webm
│ │ ├── welcome2.webm
│ │ └── welcome3.webm
│ ├── resources.qrc
│ ├── run/
│ │ ├── rundialog.cpp
│ │ ├── rundialog.h
│ │ └── rundialog.ui
│ ├── session/
│ │ ├── endsession.cpp
│ │ ├── endsession.h
│ │ ├── endsession.ui
│ │ ├── endsessionbutton.cpp
│ │ └── endsessionbutton.h
│ ├── statuscenter/
│ │ ├── leftpanedelegate.cpp
│ │ ├── leftpanedelegate.h
│ │ ├── statuscenter.cpp
│ │ ├── statuscenter.h
│ │ ├── statuscenter.ui
│ │ ├── statuscenterleftpane.cpp
│ │ ├── statuscenterleftpane.h
│ │ ├── statuscenterleftpane.ui
│ │ ├── statuscenterquickswitch.cpp
│ │ ├── statuscenterquickswitch.h
│ │ └── statuscenterquickswitch.ui
│ ├── systemsettings/
│ │ ├── about/
│ │ │ ├── about.cpp
│ │ │ ├── about.h
│ │ │ ├── about.ui
│ │ │ ├── acknowledgements.cpp
│ │ │ ├── acknowledgements.h
│ │ │ ├── acknowledgements.ui
│ │ │ ├── changehostnamepopover.cpp
│ │ │ ├── changehostnamepopover.h
│ │ │ └── changehostnamepopover.ui
│ │ ├── pluginmanagement/
│ │ │ ├── managepluginpopover.cpp
│ │ │ ├── managepluginpopover.h
│ │ │ ├── managepluginpopover.ui
│ │ │ ├── pluginitemdelegate.cpp
│ │ │ ├── pluginitemdelegate.h
│ │ │ ├── pluginmanagement.cpp
│ │ │ ├── pluginmanagement.h
│ │ │ ├── pluginmanagement.ui
│ │ │ ├── pluginmodel.cpp
│ │ │ └── pluginmodel.h
│ │ ├── recovery/
│ │ │ ├── recovery.cpp
│ │ │ ├── recovery.h
│ │ │ └── recovery.ui
│ │ ├── systemsettings.cpp
│ │ ├── systemsettings.h
│ │ ├── systemsettings.ui
│ │ ├── systemsettingsleftpane.cpp
│ │ ├── systemsettingsleftpane.h
│ │ └── systemsettingsleftpane.ui
│ ├── thedesk.conf
│ └── translations/
│ ├── ar_SA.ts
│ ├── au_AU.qm
│ ├── au_AU.ts
│ ├── cy.qm
│ ├── cy.ts
│ ├── da.qm
│ ├── da.ts
│ ├── de.qm
│ ├── de.ts
│ ├── en_AU.qm
│ ├── en_AU.ts
│ ├── en_CA.qm
│ ├── en_CA.ts
│ ├── en_GB.qm
│ ├── en_GB.ts
│ ├── en_NZ.qm
│ ├── en_NZ.ts
│ ├── en_US.qm
│ ├── en_US.ts
│ ├── es.ts
│ ├── es_VE.ts
│ ├── fr_FR.qm
│ ├── fr_FR.ts
│ ├── id_ID.qm
│ ├── id_ID.ts
│ ├── ja.qm
│ ├── ja.ts
│ ├── nl.qm
│ ├── nl.ts
│ ├── pl_PL.qm
│ ├── pl_PL.ts
│ ├── pt_BR.qm
│ ├── pt_BR.ts
│ ├── ro_RO.qm
│ ├── ro_RO.ts
│ ├── sv.qm
│ ├── sv.ts
│ ├── tr_TR.qm
│ ├── tr_TR.ts
│ ├── vi_VN.qm
│ ├── vi_VN.ts
│ ├── zh_CN.qm
│ └── zh_CN.ts
├── desktop-portal/
│ ├── CMakeLists.txt
│ ├── backend/
│ │ ├── abstractportalbackend.cpp
│ │ ├── abstractportalbackend.h
│ │ ├── private/
│ │ │ ├── waylandportalscreencopyframe.cpp
│ │ │ └── waylandportalscreencopyframe.h
│ │ ├── waylandportalbackend.cpp
│ │ ├── waylandportalbackend.h
│ │ ├── wlr-screencopy-unstable-v1.xml
│ │ ├── x11portalbackend.cpp
│ │ └── x11portalbackend.h
│ ├── desktop-portal.pro
│ ├── dialogs/
│ │ ├── accessdialog.cpp
│ │ ├── accessdialog.h
│ │ ├── accessdialog.ui
│ │ ├── accountdialog.cpp
│ │ ├── accountdialog.h
│ │ ├── accountdialog.ui
│ │ ├── filedialog.cpp
│ │ ├── filedialog.h
│ │ ├── filedialog.ui
│ │ ├── penbutton.cpp
│ │ ├── penbutton.h
│ │ ├── screenshotwindow.cpp
│ │ ├── screenshotwindow.h
│ │ └── screenshotwindow.ui
│ ├── interfaces/
│ │ ├── accessinterface.cpp
│ │ ├── accessinterface.h
│ │ ├── accountinterface.cpp
│ │ ├── accountinterface.h
│ │ ├── filechooserinterface.cpp
│ │ ├── filechooserinterface.h
│ │ ├── notificationinterface.cpp
│ │ ├── notificationinterface.h
│ │ ├── screenshotinterface.cpp
│ │ ├── screenshotinterface.h
│ │ ├── settingsinterface.cpp
│ │ └── settingsinterface.h
│ ├── main.cpp
│ ├── org.freedesktop.impl.portal.desktop.thedesk.service.in
│ ├── portalcommon.cpp
│ ├── portalcommon.h
│ ├── portalhandle.cpp
│ ├── portalhandle.h
│ ├── screenshot_resources.qrc
│ ├── screenshotmanager.cpp
│ ├── screenshotmanager.h
│ ├── thedesk-portals.conf
│ ├── thedesk.portal
│ ├── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── vi.qm
│ │ └── vi.ts
│ └── xdg-desktop-portal-thedesk.service.in
├── dist/
│ ├── thedesk-blueprint.spec
│ └── thedesk.spec
├── libthedesk/
│ ├── CMakeLists.txt
│ ├── actionquickwidget.cpp
│ ├── actionquickwidget.h
│ ├── actionquickwidget.ui
│ ├── barmanager.cpp
│ ├── barmanager.h
│ ├── chunk.cpp
│ ├── chunk.h
│ ├── common.cpp
│ ├── common.h
│ ├── gatewaymanager.cpp
│ ├── gatewaymanager.h
│ ├── gatewaysearchprovider.cpp
│ ├── gatewaysearchprovider.h
│ ├── hudmanager.cpp
│ ├── hudmanager.h
│ ├── icontextchunk.cpp
│ ├── icontextchunk.h
│ ├── icontextchunk.ui
│ ├── keygrab.cpp
│ ├── keygrab.h
│ ├── libthedesk.pro
│ ├── libthedeskConfig.cmake.in
│ ├── libthedesk_global.h
│ ├── libthedesk_resources.qrc
│ ├── localemanager.cpp
│ ├── localemanager.h
│ ├── onboarding/
│ │ ├── OnboardingVideoForm.qml
│ │ ├── onboarding.cpp
│ │ ├── onboarding.h
│ │ ├── onboarding.ui
│ │ ├── onboardingbar.cpp
│ │ ├── onboardingbar.h
│ │ ├── onboardingbar.ui
│ │ ├── onboardingbetathankyou.cpp
│ │ ├── onboardingbetathankyou.h
│ │ ├── onboardingbetathankyou.ui
│ │ ├── onboardingcontroller.cpp
│ │ ├── onboardingcontroller.h
│ │ ├── onboardingfinal.cpp
│ │ ├── onboardingfinal.h
│ │ ├── onboardingfinal.ui
│ │ ├── onboardingstepper.cpp
│ │ ├── onboardingstepper.h
│ │ ├── onboardingvideo.cpp
│ │ ├── onboardingvideo.h
│ │ ├── onboardingvideo.ui
│ │ ├── onboardingwelcome.cpp
│ │ ├── onboardingwelcome.h
│ │ └── onboardingwelcome.ui
│ ├── onboardingmanager.cpp
│ ├── onboardingmanager.h
│ ├── onboardingpage.cpp
│ ├── onboardingpage.h
│ ├── plugins/
│ │ ├── plugininterface.h
│ │ ├── pluginmanager.cpp
│ │ └── pluginmanager.h
│ ├── powermanager.cpp
│ ├── powermanager.h
│ ├── private/
│ │ ├── keyboardlayoutmodel.cpp
│ │ ├── keyboardlayoutmodel.h
│ │ ├── keyboardlayoutselector.cpp
│ │ ├── keyboardlayoutselector.h
│ │ ├── keyboardlayoutselector.ui
│ │ ├── localeselector.cpp
│ │ ├── localeselector.h
│ │ ├── localeselector.ui
│ │ ├── onboardingmanager_p.h
│ │ ├── quickwidgetcontainer.cpp
│ │ ├── quickwidgetcontainer.h
│ │ └── quickwidgetcontainer.ui
│ ├── quickswitch.cpp
│ ├── quickswitch.h
│ ├── quietmodemanager.cpp
│ ├── quietmodemanager.h
│ ├── server/
│ │ ├── sessionserver.cpp
│ │ └── sessionserver.h
│ ├── statemanager.cpp
│ ├── statemanager.h
│ ├── statuscentermanager.cpp
│ ├── statuscentermanager.h
│ ├── statuscenterpane.cpp
│ ├── statuscenterpane.h
│ ├── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cs_CZ.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pl_PL.qm
│ │ ├── pl_PL.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sl_SI.qm
│ │ ├── sl_SI.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── transparentdialog.cpp
│ ├── transparentdialog.h
│ └── transparentdialog.ui
├── locker/
│ ├── CMakeLists.txt
│ ├── locker-checker/
│ │ ├── CMakeLists.txt
│ │ └── main.cpp
│ ├── locker-common/
│ │ ├── CMakeLists.txt
│ │ ├── lockergrabs.cpp
│ │ └── lockergrabs.h
│ └── locker-ui/
│ ├── CMakeLists.txt
│ ├── lockmanager.cpp
│ ├── lockmanager.h
│ ├── main.cpp
│ ├── mainwindow.cpp
│ ├── mainwindow.h
│ ├── mainwindow.ui
│ ├── translations/
│ │ └── en_US.ts
│ ├── underlineanimation.cpp
│ └── underlineanimation.h
├── platform/
│ ├── CMakeLists.txt
│ ├── cursorhandler.cpp
│ ├── cursorhandler.h
│ ├── fontformat.cpp
│ ├── fontformat.h
│ ├── iconloaderengine.cpp
│ ├── iconloaderengine.h
│ ├── messagedialog/
│ │ ├── messagedialog.cpp
│ │ ├── messagedialog.h
│ │ ├── messagedialog.ui
│ │ ├── messagedialogcontroller.cpp
│ │ ├── messagedialogcontroller.h
│ │ ├── messagedialoghelper.cpp
│ │ └── messagedialoghelper.h
│ ├── paletteformat.cpp
│ ├── paletteformat.h
│ ├── palettes.json
│ ├── platform.pro
│ ├── platformtheme.cpp
│ ├── platformtheme.h
│ ├── plugin.cpp
│ ├── plugin.h
│ ├── plugin.json
│ ├── psAMLQ.json
│ ├── thedesk-platform-resources.qrc
│ ├── thedesk-platform.conf
│ └── translations/
│ ├── ar_SA.ts
│ ├── au_AU.qm
│ ├── au_AU.ts
│ ├── cy.qm
│ ├── cy.ts
│ ├── da.qm
│ ├── da.ts
│ ├── de.qm
│ ├── de.ts
│ ├── en_GB.qm
│ ├── en_GB.ts
│ ├── en_US.qm
│ ├── en_US.ts
│ ├── es.ts
│ ├── es_VE.ts
│ ├── id.ts
│ ├── nl.qm
│ ├── nl.ts
│ ├── pt_BR.qm
│ ├── pt_BR.ts
│ ├── ro_RO.qm
│ ├── ro_RO.ts
│ ├── sv.qm
│ ├── sv.ts
│ ├── tr_TR.qm
│ ├── tr_TR.ts
│ ├── vi.qm
│ ├── vi.ts
│ └── vi_VN.ts
├── plugins/
│ ├── AccessibilityPlugin/
│ │ ├── AccessibilityPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── accessibilitydaemon.cpp
│ │ ├── accessibilitydaemon.h
│ │ ├── chunks/
│ │ │ ├── stickykeyschunk.cpp
│ │ │ └── stickykeyschunk.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── accessibilitysettingspane.cpp
│ │ │ ├── accessibilitysettingspane.h
│ │ │ └── accessibilitysettingspane.ui
│ │ ├── thedesk-accessibility.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── ja.qm
│ │ ├── ja.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── AudioPlugin/
│ │ ├── AudioPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── audiochunk.cpp
│ │ ├── audiochunk.h
│ │ ├── audioquickwidget.cpp
│ │ ├── audioquickwidget.h
│ │ ├── audioquickwidget.ui
│ │ ├── common.cpp
│ │ ├── common.h
│ │ ├── eventhandler.cpp
│ │ ├── eventhandler.h
│ │ ├── micchunk.cpp
│ │ ├── micchunk.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── quickwidgetsink.cpp
│ │ ├── quickwidgetsink.h
│ │ ├── quickwidgetsink.ui
│ │ ├── quickwidgetsinkinput.cpp
│ │ ├── quickwidgetsinkinput.h
│ │ ├── quickwidgetsinkinput.ui
│ │ ├── thedesk-audio.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── ja.qm
│ │ ├── ja.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── BluetoothPlugin/
│ │ ├── BluetoothPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── bluetoothplugincommon.cpp
│ │ ├── bluetoothplugincommon.h
│ │ ├── btagent.cpp
│ │ ├── btagent.h
│ │ ├── btobex.cpp
│ │ ├── btobex.h
│ │ ├── chunk/
│ │ │ ├── bluetoothchunk.cpp
│ │ │ └── bluetoothchunk.h
│ │ ├── defaults.json
│ │ ├── devicedelegate.cpp
│ │ ├── devicedelegate.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── bluetoothsettingspane.cpp
│ │ │ ├── bluetoothsettingspane.h
│ │ │ ├── bluetoothsettingspane.ui
│ │ │ ├── devicepopover.cpp
│ │ │ ├── devicepopover.h
│ │ │ ├── devicepopover.ui
│ │ │ ├── pairpopover.cpp
│ │ │ ├── pairpopover.h
│ │ │ └── pairpopover.ui
│ │ ├── thedesk-bluetooth.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── BrightnessPlugin/
│ │ ├── BrightnessPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── screenbrightnesschunk.cpp
│ │ ├── screenbrightnesschunk.h
│ │ ├── screenbrightnesschunk.ui
│ │ ├── thedesk-brightness.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pl_PL.qm
│ │ ├── pl_PL.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sk_SK.qm
│ │ ├── sk_SK.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zh_SG.qm
│ │ ├── zh_SG.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── CMakeLists.txt
│ ├── DefaultsPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── DefaultsPlugin.pro
│ │ ├── Plugin.json
│ │ ├── defaultspane.cpp
│ │ ├── defaultspane.h
│ │ ├── defaultspane.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── thedesk-defaults.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── DisplayPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── DisplayPlugin.pro
│ │ ├── Plugin.json
│ │ ├── arrange/
│ │ │ ├── arrangecontroller.cpp
│ │ │ ├── arrangecontroller.h
│ │ │ ├── arrangewidget.cpp
│ │ │ ├── arrangewidget.h
│ │ │ ├── arrangewidget.ui
│ │ │ ├── overlaywindow.cpp
│ │ │ ├── overlaywindow.h
│ │ │ ├── overlaywindow.ui
│ │ │ ├── screenarranger.cpp
│ │ │ └── screenarranger.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── redshift/
│ │ │ ├── colorramp.cpp
│ │ │ ├── colorramp.h
│ │ │ ├── redshiftdaemon.cpp
│ │ │ └── redshiftdaemon.h
│ │ ├── settings/
│ │ │ ├── displaysettings.cpp
│ │ │ ├── displaysettings.h
│ │ │ └── displaysettings.ui
│ │ ├── thedesk-display.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── InputPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── InputPlugin.pro
│ │ ├── Plugin.json
│ │ ├── backends/
│ │ │ ├── settingsbackend.cpp
│ │ │ ├── settingsbackend.h
│ │ │ ├── xinputbackend.cpp
│ │ │ └── xinputbackend.h
│ │ ├── chunks/
│ │ │ ├── keyboardlayoutchunk.cpp
│ │ │ ├── keyboardlayoutchunk.h
│ │ │ └── keyboardlayoutchunk.ui
│ │ ├── daemons/
│ │ │ ├── keyboarddaemon.cpp
│ │ │ └── keyboarddaemon.h
│ │ ├── models/
│ │ │ ├── selectedkeyboardlayoutsmodel.cpp
│ │ │ └── selectedkeyboardlayoutsmodel.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── inputsettingsleftpane.cpp
│ │ │ ├── inputsettingsleftpane.h
│ │ │ ├── inputsettingsleftpane.ui
│ │ │ ├── inputsettingspane.cpp
│ │ │ ├── inputsettingspane.h
│ │ │ ├── inputsettingspane.ui
│ │ │ ├── keyboardsettings.cpp
│ │ │ ├── keyboardsettings.h
│ │ │ ├── keyboardsettings.ui
│ │ │ ├── mousesettings.cpp
│ │ │ ├── mousesettings.h
│ │ │ └── mousesettings.ui
│ │ ├── thedesk-input.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── LocalePlugin/
│ │ ├── CMakeLists.txt
│ │ ├── LocalePlugin.pro
│ │ ├── Plugin.json
│ │ ├── localeplugincommon.cpp
│ │ ├── localeplugincommon.h
│ │ ├── onboarding/
│ │ │ ├── onboardingregion.cpp
│ │ │ ├── onboardingregion.h
│ │ │ └── onboardingregion.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── localesettingspane.cpp
│ │ │ ├── localesettingspane.h
│ │ │ └── localesettingspane.ui
│ │ ├── thedesk-locale.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── NetworkPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── NetworkPlugin.pro
│ │ ├── Plugin.json
│ │ ├── chunk/
│ │ │ ├── chunkupdater.cpp
│ │ │ ├── chunkupdater.h
│ │ │ ├── genericchunkupdater.cpp
│ │ │ ├── genericchunkupdater.h
│ │ │ ├── networkchunk.cpp
│ │ │ ├── networkchunk.h
│ │ │ ├── wiredchunkupdater.cpp
│ │ │ ├── wiredchunkupdater.h
│ │ │ ├── wirelesschunkupdater.cpp
│ │ │ └── wirelesschunkupdater.h
│ │ ├── models/
│ │ │ ├── deviceconnectionlistmodel.cpp
│ │ │ ├── deviceconnectionlistmodel.h
│ │ │ ├── wirelessaccesspointsmodel.cpp
│ │ │ ├── wirelessaccesspointsmodel.h
│ │ │ ├── wirelessconnectionlistmodel.cpp
│ │ │ ├── wirelessconnectionlistmodel.h
│ │ │ ├── wirelessnetworklistdelegate.cpp
│ │ │ └── wirelessnetworklistdelegate.h
│ │ ├── networkplugincommon.cpp
│ │ ├── networkplugincommon.h
│ │ ├── onboarding/
│ │ │ ├── onboardingnetwork.cpp
│ │ │ ├── onboardingnetwork.h
│ │ │ ├── onboardingnetwork.ui
│ │ │ ├── wiredonboardingsetup.cpp
│ │ │ ├── wiredonboardingsetup.h
│ │ │ ├── wiredonboardingsetup.ui
│ │ │ ├── wirelessonboardingsetup.cpp
│ │ │ ├── wirelessonboardingsetup.h
│ │ │ └── wirelessonboardingsetup.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── statusCenter/
│ │ │ ├── connectionEditor/
│ │ │ │ ├── connectioneditorpane.cpp
│ │ │ │ ├── connectioneditorpane.h
│ │ │ │ ├── ipv4connectioneditorpane.cpp
│ │ │ │ ├── ipv4connectioneditorpane.h
│ │ │ │ ├── ipv4connectioneditorpane.ui
│ │ │ │ ├── networkconnectioneditor.cpp
│ │ │ │ ├── networkconnectioneditor.h
│ │ │ │ ├── networkconnectioneditor.ui
│ │ │ │ ├── wificonnectioneditorpane.cpp
│ │ │ │ ├── wificonnectioneditorpane.h
│ │ │ │ └── wificonnectioneditorpane.ui
│ │ │ ├── devicePanes/
│ │ │ │ ├── abstractdevicepane.cpp
│ │ │ │ ├── abstractdevicepane.h
│ │ │ │ ├── cellularpane.cpp
│ │ │ │ ├── cellularpane.h
│ │ │ │ ├── cellularpane.ui
│ │ │ │ ├── devicepane.cpp
│ │ │ │ ├── devicepane.h
│ │ │ │ ├── devicepane.ui
│ │ │ │ ├── wifidevicepane.cpp
│ │ │ │ ├── wifidevicepane.h
│ │ │ │ ├── wifidevicepane.ui
│ │ │ │ ├── wireddevicepane.cpp
│ │ │ │ ├── wireddevicepane.h
│ │ │ │ └── wireddevicepane.ui
│ │ │ ├── eap/
│ │ │ │ ├── securityeap.cpp
│ │ │ │ ├── securityeap.h
│ │ │ │ ├── securityeappeap.cpp
│ │ │ │ ├── securityeappeap.h
│ │ │ │ ├── securityeappeap.ui
│ │ │ │ ├── securityeapunsupported.cpp
│ │ │ │ ├── securityeapunsupported.h
│ │ │ │ └── securityeapunsupported.ui
│ │ │ ├── networkstatuscenterleftpane.cpp
│ │ │ ├── networkstatuscenterleftpane.h
│ │ │ ├── networkstatuscenterleftpane.ui
│ │ │ ├── networkstatuscenterpane.cpp
│ │ │ ├── networkstatuscenterpane.h
│ │ │ ├── networkstatuscenterpane.ui
│ │ │ └── popovers/
│ │ │ ├── connectionselectionpopover.cpp
│ │ │ ├── connectionselectionpopover.h
│ │ │ ├── connectionselectionpopover.ui
│ │ │ ├── simsettingspopover.cpp
│ │ │ ├── simsettingspopover.h
│ │ │ ├── simsettingspopover.ui
│ │ │ ├── tetheringsettingspopover.cpp
│ │ │ ├── tetheringsettingspopover.h
│ │ │ ├── tetheringsettingspopover.ui
│ │ │ ├── unlockmodempopover.cpp
│ │ │ ├── unlockmodempopover.h
│ │ │ ├── unlockmodempopover.ui
│ │ │ ├── wirelessnetworkselectionpopover.cpp
│ │ │ ├── wirelessnetworkselectionpopover.h
│ │ │ └── wirelessnetworkselectionpopover.ui
│ │ ├── switchmanager.cpp
│ │ ├── switchmanager.h
│ │ ├── thedesk-network.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── NotificationsPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── NotificationsPlugin.pro
│ │ ├── Plugin.json
│ │ ├── chunks/
│ │ │ ├── mprischunk.cpp
│ │ │ ├── mprischunk.h
│ │ │ └── mprischunk.ui
│ │ ├── dbus/
│ │ │ ├── notifications_adaptor.cpp
│ │ │ ├── notifications_adaptor.h
│ │ │ ├── notificationsinterface.cpp
│ │ │ ├── notificationsinterface.h
│ │ │ └── org.freedesktop.Notifications.xml
│ │ ├── drawer/
│ │ │ ├── hudwidget.cpp
│ │ │ ├── hudwidget.h
│ │ │ ├── hudwidget.ui
│ │ │ ├── notificationsdrawer.cpp
│ │ │ ├── notificationsdrawer.h
│ │ │ ├── notificationsdrawer.ui
│ │ │ ├── notificationsdrawerwidget.cpp
│ │ │ ├── notificationsdrawerwidget.h
│ │ │ └── notificationsdrawerwidget.ui
│ │ ├── notification.cpp
│ │ ├── notification.h
│ │ ├── notificationtracker.cpp
│ │ ├── notificationtracker.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── statuscenter/
│ │ │ ├── jobwidget.cpp
│ │ │ ├── jobwidget.h
│ │ │ ├── jobwidget.ui
│ │ │ ├── notificationappgroup.cpp
│ │ │ ├── notificationappgroup.h
│ │ │ ├── notificationappgroup.ui
│ │ │ ├── notificationsstatuscenterpane.cpp
│ │ │ ├── notificationsstatuscenterpane.h
│ │ │ ├── notificationsstatuscenterpane.ui
│ │ │ ├── notificationwidget.cpp
│ │ │ ├── notificationwidget.h
│ │ │ └── notificationwidget.ui
│ │ ├── thedesk-notifications.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── OverviewPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── OverviewPane/
│ │ │ ├── overviewpane.cpp
│ │ │ ├── overviewpane.h
│ │ │ ├── overviewpane.ui
│ │ │ ├── worldclock.cpp
│ │ │ ├── worldclock.h
│ │ │ └── worldclock.ui
│ │ ├── OverviewPlugin.pro
│ │ ├── Plugin.json
│ │ ├── clockchunk.cpp
│ │ ├── clockchunk.h
│ │ ├── clockchunk.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sk_SK.qm
│ │ ├── sk_SK.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── PowerPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── PowerPlugin.pro
│ │ ├── eventhandler.cpp
│ │ ├── eventhandler.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── powersettings.cpp
│ │ │ ├── powersettings.h
│ │ │ └── powersettings.ui
│ │ ├── sleepmonitor.cpp
│ │ ├── sleepmonitor.h
│ │ ├── thedesk-power.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── ScreenshotPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── ScreenshotPlugin.pro
│ │ ├── eventhandler.cpp
│ │ ├── eventhandler.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── thedesk-screenshot.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── ThemePlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── ThemePlugin.pro
│ │ ├── onboarding/
│ │ │ ├── onboardingtheme.cpp
│ │ │ ├── onboardingtheme.h
│ │ │ └── onboardingtheme.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── accentcolourpicker.cpp
│ │ │ ├── accentcolourpicker.h
│ │ │ ├── themesettingspane.cpp
│ │ │ ├── themesettingspane.h
│ │ │ └── themesettingspane.ui
│ │ ├── thedesk-theme.conf
│ │ ├── thedesk-themeplugin-resources.qrc
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── TimeDatePlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── TimeDatePlugin.pro
│ │ ├── onboarding/
│ │ │ ├── onboardingtimezone.cpp
│ │ │ ├── onboardingtimezone.h
│ │ │ └── onboardingtimezone.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── popovers/
│ │ │ ├── settimedatepopover.cpp
│ │ │ ├── settimedatepopover.h
│ │ │ ├── settimedatepopover.ui
│ │ │ ├── settimezonepopover.cpp
│ │ │ ├── settimezonepopover.h
│ │ │ └── settimezonepopover.ui
│ │ ├── settings/
│ │ │ ├── datetimepane.cpp
│ │ │ ├── datetimepane.h
│ │ │ └── datetimepane.ui
│ │ ├── thedesk-timedate.conf
│ │ ├── timezonesmodel.cpp
│ │ ├── timezonesmodel.h
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── UsersPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── UsersPlugin.pro
│ │ ├── onboarding/
│ │ │ ├── onboardingusers.cpp
│ │ │ ├── onboardingusers.h
│ │ │ └── onboardingusers.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── adduserdialog.cpp
│ │ │ ├── adduserdialog.h
│ │ │ ├── adduserdialog.ui
│ │ │ ├── changepassworddialog.cpp
│ │ │ ├── changepassworddialog.h
│ │ │ ├── changepassworddialog.ui
│ │ │ ├── changerealnamedialog.cpp
│ │ │ ├── changerealnamedialog.h
│ │ │ ├── changerealnamedialog.ui
│ │ │ ├── deleteuserdialog.cpp
│ │ │ ├── deleteuserdialog.h
│ │ │ ├── deleteuserdialog.ui
│ │ │ ├── lockuserdialog.cpp
│ │ │ ├── lockuserdialog.h
│ │ │ ├── lockuserdialog.ui
│ │ │ ├── user.cpp
│ │ │ ├── user.h
│ │ │ ├── usersmodel.cpp
│ │ │ ├── usersmodel.h
│ │ │ ├── userspane.cpp
│ │ │ ├── userspane.h
│ │ │ ├── userspane.ui
│ │ │ ├── usertypedialog.cpp
│ │ │ ├── usertypedialog.h
│ │ │ └── usertypedialog.ui
│ │ ├── thedesk-users.conf
│ │ └── translations/
│ │ ├── ar_SA.qm
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── plugins.pri
│ └── plugins.pro
├── polkitagent/
│ ├── CMakeLists.txt
│ ├── authwindow.cpp
│ ├── authwindow.h
│ ├── authwindow.ui
│ ├── common.cpp
│ ├── common.h
│ ├── identitypopover.cpp
│ ├── identitypopover.h
│ ├── identitypopover.ui
│ ├── main.cpp
│ ├── polkitagent.pro
│ ├── polkitinterface.cpp
│ ├── polkitinterface.h
│ └── translations/
│ ├── ar_SA.ts
│ ├── au_AU.qm
│ ├── au_AU.ts
│ ├── cy.qm
│ ├── cy.ts
│ ├── da.qm
│ ├── da.ts
│ ├── de.qm
│ ├── de.ts
│ ├── en_GB.qm
│ ├── en_GB.ts
│ ├── en_US.qm
│ ├── en_US.ts
│ ├── es.ts
│ ├── es_VE.ts
│ ├── id.ts
│ ├── nl.qm
│ ├── nl.ts
│ ├── pt_BR.qm
│ ├── pt_BR.ts
│ ├── ro_RO.qm
│ ├── ro_RO.ts
│ ├── sv.qm
│ ├── sv.ts
│ ├── tr_TR.qm
│ ├── tr_TR.ts
│ ├── vi_VN.qm
│ ├── vi_VN.ts
│ ├── zh_CN.qm
│ ├── zh_CN.ts
│ ├── zu_ZA.qm
│ └── zu_ZA.ts
├── startdesk/
│ ├── CMakeLists.txt
│ ├── crash/
│ │ ├── backtracedialog.cpp
│ │ ├── backtracedialog.h
│ │ ├── backtracedialog.ui
│ │ ├── backtracepopover.cpp
│ │ ├── backtracepopover.h
│ │ ├── backtracepopover.ui
│ │ ├── backtracewidget.cpp
│ │ ├── backtracewidget.h
│ │ ├── backtracewidget.ui
│ │ ├── crashwidget.cpp
│ │ ├── crashwidget.h
│ │ └── crashwidget.ui
│ ├── main.cpp
│ ├── resources.qrc
│ ├── splash/
│ │ ├── splashcontroller.cpp
│ │ ├── splashcontroller.h
│ │ ├── splashwidget.cpp
│ │ ├── splashwidget.h
│ │ └── splashwidget.ui
│ ├── splashwindow.cpp
│ ├── splashwindow.h
│ ├── splashwindow.ui
│ ├── start-thedesk-wayland.in
│ ├── startdesk.pro
│ ├── thedesk-wayland.desktop.in
│ ├── thedesk.desktop.in
│ ├── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pl_PL.qm
│ │ ├── pl_PL.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ └── wayfire-thedesk-config.conf
├── theDesk.pro
└── wayfire-plugins/
├── CMakeLists.txt
├── a11y-plugin/
│ ├── CMakeLists.txt
│ ├── a11yplugin.cpp
│ ├── a11yplugin.h
│ ├── abstracta11ycontroller.cpp
│ ├── abstracta11ycontroller.h
│ ├── mousekeys.cpp
│ ├── mousekeys.h
│ ├── stickykeys.cpp
│ └── stickykeys.h
├── keygrab-plugin/
│ ├── CMakeLists.txt
│ ├── keygrab-plugin.pro
│ ├── keygrab-plugin_global.h
│ ├── keygrabplugin.cpp
│ └── keygrabplugin.h
├── plugins.pri
├── startdesk-plugin/
│ ├── CMakeLists.txt
│ ├── startdesk-plugin.pro
│ ├── startdeskplugin.cpp
│ └── startdeskplugin.h
└── wayfire-plugins.pro
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
theDesk.pro.user
================================================
FILE: .parlance.json
================================================
{
"name": "theDesk",
"subprojects": [
{
"name": "libthedesk",
"type": "qt",
"path": "/libthedesk/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Desktop",
"type": "qt",
"path": "/desktop/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Platform",
"type": "qt",
"path": "/platform/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Session Manager",
"type": "qt",
"path": "/startdesk/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Polkit",
"type": "qt",
"path": "/polkitagent/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Accessibility",
"type": "qt",
"path": "/plugins/AccessibilityPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Audio",
"type": "qt",
"path": "/plugins/AudioPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Bluetooth",
"type": "qt",
"path": "/plugins/BluetoothPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Brightness",
"type": "qt",
"path": "/plugins/BrightnessPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Defaults",
"type": "qt",
"path": "/plugins/DefaultsPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Display",
"type": "qt",
"path": "/plugins/DisplayPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Input",
"type": "qt",
"path": "/plugins/InputPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Locale",
"type": "qt",
"path": "/plugins/LocalePlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Network",
"type": "qt",
"path": "/plugins/NetworkPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Notifications",
"type": "qt",
"path": "/plugins/NotificationsPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Overview",
"type": "qt",
"path": "/plugins/OverviewPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Power",
"type": "qt",
"path": "/plugins/PowerPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Screenshots",
"type": "qt",
"path": "/plugins/ScreenshotPlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Theme",
"type": "qt",
"path": "/plugins/ThemePlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Time and Date",
"type": "qt",
"path": "/plugins/TimeDatePlugin/translations/{lang}.ts",
"baseLang": "en_US"
},
{
"name": "theDesk Users",
"type": "qt",
"path": "/plugins/UsersPlugin/translations/{lang}.ts",
"baseLang": "en_US"
}
]
}
================================================
FILE: CMakeLists.txt
================================================
cmake_minimum_required(VERSION 3.24.0)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)
project(thedesk VERSION 1.0.0 LANGUAGES CXX)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
link_directories(/usr/local/lib)
ENDIF()
find_package(QT REQUIRED NAMES Qt6)
set(KF_VERSION_MAJOR ${QT_VERSION_MAJOR} CACHE STRING "Major version of KDE Frameworks to link to")
add_subdirectory(libthedesk)
add_subdirectory(startdesk)
add_subdirectory(desktop)
add_subdirectory(platform)
add_subdirectory(plugins)
add_subdirectory(polkitagent)
add_subdirectory(locker)
add_subdirectory(desktop-portal)
add_subdirectory(wayfire-plugins)
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{one line to give the program's name and a brief idea of what it does.}
Copyright (C) {year} {name of author}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
{project} Copyright (C) {year} {fullname}
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
================================================
FILE: README.md
================================================
<img src="readme/splash.svg" width="100%" />
---
<p align="center">
<img src="https://img.shields.io/github/v/release/vicr123/thedesk?label=LATEST&style=for-the-badge">
<img src="https://img.shields.io/github/license/vicr123/thedesk?style=for-the-badge" />
</p>
theDesk is a desktop environment built on Qt libraries.
---
<p align="center">
<img src="readme/screenshots/thedesk.png" width=45% /> <img src="readme/screenshots/overview.png" width=45% /><br>
<img src="readme/screenshots/desktops.png" width=45% /> <img src="readme/screenshots/thegateway.png" width=45% /><br>
<img src="readme/videos/desktops.gif" width=90% />
</p>
# Dependencies
- Qt 5
- Qt Core
- Qt GUI
- Qt Widgets
- Qt SVG
- [the-libs](https://github.com/vicr123/the-libs)
- [libtdesktopenvironment](https://github.com/vicr123/libtdesktopenvironment)
- Xlib
- xorg-libinput
- NetworkManager-Qt
## Recommended Dependencies
- [contemporary-widgets](https://github.com/vicr123/contemporary-widgets) - the default widget theme
- [contemporary-icons](https://github.com/vicr123/contemporary-icons) - the default icon theme
## Build
Run the following commands in your terminal.
```
mkdir build
qmake ../theDesk.pro
make
```
## Install
On Linux, run the following command in your terminal (with superuser permissions)
```
make install
```
---
> © Victor Tran, 2021. This project is licensed under the GNU General Public License, version 3, or at your option, any later version.
>
> Check the [LICENSE](LICENSE) file for more information.
================================================
FILE: desktop/CMakeLists.txt
================================================
cmake_minimum_required(VERSION 3.24.0)
project(thedesk VERSION 1.0.0 LANGUAGES CXX)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets Network DBus Multimedia QuickWidgets)
find_package(libcontemporary REQUIRED)
find_package(libtdesktopenvironment REQUIRED)
set(SOURCES
background/background.cpp
bar/barwindow.cpp
bar/chunkcontainer.cpp
bar/currentappwidget.cpp
bar/currentappwidgetmenu.cpp
bar/mainbarwidget.cpp
bar/taskbarapplicationwidget.cpp
bar/taskbardesktopwidget.cpp
bar/taskbarwidget.cpp
cli/commandline.cpp
crash/crashhandling.cpp
gateway/appsearchprovider.cpp
gateway/appselectionmodel.cpp
gateway/appselectionmodellistdelegate.cpp
gateway/gateway.cpp
gateway/gatewaysearchmodel.cpp
gateway/gatewaysearchmodeldelegate.cpp
gateway/maingatewaywidget.cpp
gateway/searchresultswidget.cpp
main.cpp
run/rundialog.cpp
session/endsession.cpp
session/endsessionbutton.cpp
statuscenter/leftpanedelegate.cpp
statuscenter/statuscenter.cpp
statuscenter/statuscenterleftpane.cpp
statuscenter/statuscenterquickswitch.cpp
systemsettings/about/about.cpp
systemsettings/about/acknowledgements.cpp
systemsettings/about/changehostnamepopover.cpp
systemsettings/pluginmanagement/managepluginpopover.cpp
systemsettings/pluginmanagement/pluginitemdelegate.cpp
systemsettings/pluginmanagement/pluginmanagement.cpp
systemsettings/pluginmanagement/pluginmodel.cpp
systemsettings/recovery/recovery.cpp
systemsettings/systemsettings.cpp
systemsettings/systemsettingsleftpane.cpp
background/background.ui
bar/barwindow.ui
bar/chunkcontainer.ui
bar/currentappwidget.ui
bar/currentappwidgetmenu.ui
bar/mainbarwidget.ui
bar/taskbardesktopwidget.ui
bar/taskbarwidget.ui
gateway/gateway.ui
gateway/maingatewaywidget.ui
gateway/searchresultswidget.ui
run/rundialog.ui
session/endsession.ui
statuscenter/statuscenter.ui
statuscenter/statuscenterleftpane.ui
statuscenter/statuscenterquickswitch.ui
systemsettings/about/about.ui
systemsettings/about/acknowledgements.ui
systemsettings/about/changehostnamepopover.ui
systemsettings/pluginmanagement/managepluginpopover.ui
systemsettings/pluginmanagement/pluginmanagement.ui
systemsettings/recovery/recovery.ui
systemsettings/systemsettings.ui
systemsettings/systemsettingsleftpane.ui
resources.qrc
)
set(HEADERS
background/background.h
bar/barwindow.h
bar/chunkcontainer.h
bar/currentappwidget.h
bar/currentappwidgetmenu.h
bar/mainbarwidget.h
bar/taskbarapplicationwidget.h
bar/taskbardesktopwidget.h
bar/taskbarwidget.h
cli/commandline.h
crash/crashhandling.h
gateway/appsearchprovider.h
gateway/appselectionmodel.h
gateway/appselectionmodellistdelegate.h
gateway/gateway.h
gateway/gatewaysearchmodel.h
gateway/gatewaysearchmodeldelegate.h
gateway/maingatewaywidget.h
gateway/searchresultswidget.h
run/rundialog.h
session/endsession.h
session/endsessionbutton.h
statuscenter/leftpanedelegate.h
statuscenter/statuscenter.h
statuscenter/statuscenterleftpane.h
statuscenter/statuscenterquickswitch.h
systemsettings/about/about.h
systemsettings/about/acknowledgements.h
systemsettings/about/changehostnamepopover.h
systemsettings/pluginmanagement/managepluginpopover.h
systemsettings/pluginmanagement/pluginitemdelegate.h
systemsettings/pluginmanagement/pluginmanagement.h
systemsettings/pluginmanagement/pluginmodel.h
systemsettings/recovery/recovery.h
systemsettings/systemsettings.h
systemsettings/systemsettingsleftpane.h
)
add_executable(thedesk ${SOURCES} ${HEADERS})
set_target_properties(thedesk PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_GUI_IDENTIFIER com.vicr123.thedesk
WIN32_EXECUTABLE TRUE
CNTP_DATA_SUBDIR thedesk)
cntp_init(thedesk 20)
cntp_translate(thedesk)
cntp_target_name(thedesk "thedesk")
cntp_defaults_file(thedesk
DEFAULTS_FILE thedesk.conf)
target_link_libraries(thedesk Qt::Widgets Qt::Network Qt::DBus Qt::Multimedia Qt::QuickWidgets libcontemporary libtdesktopenvironment libthedesk)
target_include_directories(thedesk PUBLIC ../libthedesk/)
install(TARGETS thedesk
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
BUNDLE DESTINATION /Applications)
# TODO: Port install rules over from qmake
install(DIRECTORY media
DESTINATION ${CMAKE_INSTALL_DATADIR}/thedesk
)
================================================
FILE: desktop/acknowledgements.html
================================================
<p>Thanks to the following people who contributed to the development of theDesk in some way:</p>
<p>
ZoomTen for testing and contributing resorces and ideas, such as window borders<br />
<a href="https://github.com/ZoomTen">GitHub</a>
</p>
<p>
The Pixel Polygon for the welcome cutscene<br />
<a href="https://www.youtube.com/channel/UCf4MnXua8MpkX3ns7nRep6w">YouTube</a>
</p>
<p>
All the people who contributed translations to theDesk<br />
<a href="https://translate.vicr123.com/">Translation Website</a>
</p>
<p>
All the people that sponsor me (or have ever done so) on GitHub Sponsors:<br />
<ul>
<li>techli0n</li>
<li>Neptunium Fluoride</li>
<li>JPlexer</li>
<li>Tomas</li>
<li>Alee14</li>
<li>Kommult</li>
</ul>
<a href="https://github.com/sponsors/vicr123">GitHub Sponsors</a>
</p>
================================================
FILE: desktop/background/background.cpp
================================================
/****************************************
*
* theShell - Desktop Environment
* Copyright (C) 2019 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "background.h"
#include "ui_background.h"
#include <Background/backgroundcontroller.h>
#include <Background/backgroundselectionmodel.h>
#include <QFileDialog>
#include <QMenu>
#include <Screens/screendaemon.h>
#include <Screens/systemscreen.h>
#include <Wm/desktopwm.h>
#include <X11/Xlib.h>
struct BackgroundPrivate {
static BackgroundController* bg;
static QList<Background*> backgrounds;
SystemScreen* oldScreen = nullptr;
QMetaObject::Connection screenGeometryChangedConnection;
QSettings settings;
bool retrieving = false;
bool retrieveAgain = false;
BackgroundController::BackgroundData background;
bool isChangeBackgroundVisible = false;
bool communityBackgroundSettingsShown = true;
};
BackgroundController* BackgroundPrivate::bg = nullptr;
QList<Background*> BackgroundPrivate::backgrounds = QList<Background*>();
Background::Background() :
QDialog(nullptr),
ui(new Ui::Background) {
ui->setupUi(this);
d = new BackgroundPrivate();
if (!d->bg) {
d->bg = new BackgroundController(BackgroundController::Desktop);
connect(qApp, &QApplication::screenAdded, &Background::reconfigureBackgrounds);
connect(qApp, &QApplication::screenRemoved, &Background::reconfigureBackgrounds);
connect(ScreenDaemon::instance(), &ScreenDaemon::screensUpdated, &Background::reconfigureBackgrounds);
}
connect(d->bg, &BackgroundController::currentBackgroundChanged, this, [this](BackgroundController::BackgroundType type) {
if (type == BackgroundController::Desktop) this->changeBackground();
this->showCommunityBackgroundSettings(d->bg->currentBackgroundName(BackgroundController::Desktop) == "community" || d->bg->currentBackgroundName(BackgroundController::LockScreen) == "community");
});
connect(d->bg, &BackgroundController::shouldShowCommunityLabelsChanged, this, [this] {
if (d->bg->currentBackgroundName(BackgroundController::Desktop) == "community") this->changeBackground();
});
connect(d->bg, &BackgroundController::stretchTypeChanged, this, [this](BackgroundController::StretchType stretchType) {
switch (stretchType) {
case BackgroundController::StretchFit:
ui->stretchFitButton->setChecked(true);
break;
case BackgroundController::ZoomCrop:
ui->zoomCropButton->setChecked(true);
break;
case BackgroundController::Center:
ui->centerButton->setChecked(true);
break;
case BackgroundController::Tile:
ui->tileButton->setChecked(true);
break;
case BackgroundController::ZoomFit:
ui->zoomFitButton->setChecked(true);
break;
}
this->changeBackground();
});
this->showCommunityBackgroundSettings(d->bg->currentBackgroundName(BackgroundController::Desktop) == "community" || d->bg->currentBackgroundName(BackgroundController::LockScreen) == "community");
switch (d->bg->stretchType()) {
case BackgroundController::StretchFit:
ui->stretchFitButton->setChecked(true);
break;
case BackgroundController::ZoomCrop:
ui->zoomCropButton->setChecked(true);
break;
case BackgroundController::Center:
ui->centerButton->setChecked(true);
break;
case BackgroundController::Tile:
ui->tileButton->setChecked(true);
break;
case BackgroundController::ZoomFit:
ui->zoomFitButton->setChecked(true);
break;
}
ui->showImageInformationBox->setChecked(d->bg->shouldShowCommunityLabels());
ui->stackedWidget->setCurrentWidget(ui->backgroundPage);
ui->stackedWidget->setCurrentAnimation(tStackedWidget::Fade);
ui->backgroundPage->installEventFilter(this);
ui->backgroundSelectionWidget->setFixedHeight(0);
ui->backgroundList->setModel(new BackgroundSelectionModel());
ui->backgroundList->setItemDelegate(new BackgroundSelectionDelegate());
ui->backgroundList->setIconSize(QSize(213, 120));
ui->backgroundList->setFixedHeight(120);
this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnBottomHint);
this->setAttribute(Qt::WA_ShowWithoutActivating, true);
changeBackground();
}
Background::~Background() {
delete d;
delete ui;
}
QCoro::Task<> Background::changeBackground() {
if (d->retrieving) {
d->retrieveAgain = true;
co_return;
}
d->retrieving = true;
ui->stackedWidget->setCurrentWidget(ui->loadingBackgroundPage);
try {
auto data = co_await d->bg->getCurrentBackground(this->size());
// TODO: what if the backgrounds change?
d->background = data;
if (d->background.extendedInfoAvailable) {
QPainter painter(&data.px);
if (d->settings.value("desktop/showLabels", true).toBool()) {
QLinearGradient darkener;
darkener.setColorAt(0, QColor::fromRgb(0, 0, 0, 0));
darkener.setColorAt(1, QColor::fromRgb(0, 0, 0, 200));
if (d->settings.value("bar/onTop", true).toBool()) {
darkener.setStart(0, 0);
darkener.setFinalStop(0, data.px.height());
} else {
darkener.setStart(0, data.px.height());
darkener.setFinalStop(0, 0);
}
painter.setBrush(darkener);
painter.drawRect(0, 0, data.px.width(), data.px.height());
painter.setPen(Qt::white);
int currentX = 30;
int baselineY;
if (d->settings.value("bar/onTop", true).toBool()) {
baselineY = data.px.height() - 30;
} else {
baselineY = 30 + QFontMetrics(QFont(this->font().family(), 20)).ascent();
}
if (!data.name.isEmpty()) {
painter.setFont(QFont(this->font().family(), 20));
int width = painter.fontMetrics().horizontalAdvance(data.name);
painter.drawText(currentX, baselineY, data.name);
currentX += width + 9;
}
if (!data.location.isEmpty()) {
painter.setFont(QFont(this->font().family(), 10));
QIcon locationIcon = QIcon::fromTheme("gps");
int height = painter.fontMetrics().height();
int width = painter.fontMetrics().horizontalAdvance(data.location) + height;
painter.drawPixmap(currentX, baselineY - height, locationIcon.pixmap(QSize(16, 16)));
painter.drawText(currentX + height + 6, baselineY - painter.fontMetrics().descent(), data.location);
currentX += width + 20;
}
if (!data.author.isEmpty()) {
painter.setFont(QFont(this->font().family(), 10));
QString author = tr("by %1").arg(data.author);
int width = painter.fontMetrics().horizontalAdvance(author);
painter.drawText(data.px.width() - width - 30, baselineY, author);
}
}
}
QTimer::singleShot(1000, this, [this, data] {
d->background = data;
this->update();
d->retrieving = false;
if (d->retrieveAgain) {
d->retrieveAgain = false;
this->changeBackground();
} else {
ui->stackedWidget->setCurrentWidget(ui->backgroundPage);
}
});
} catch (BackgroundException ex) {
d->retrieving = false;
if (d->retrieveAgain) {
d->retrieveAgain = false;
this->changeBackground();
} else {
ui->stackedWidget->setCurrentWidget(ui->backgroundErrorPage);
}
}
}
void Background::toggleChangeBackground() {
d->isChangeBackgroundVisible = !d->isChangeBackgroundVisible;
tVariantAnimation* anim = new tVariantAnimation();
anim->setStartValue(ui->backgroundSelectionWidget->height());
if (d->isChangeBackgroundVisible) {
anim->setEndValue(ui->backgroundSelectionWidget->sizeHint().height());
// TODO: Hide the bar
// MainWindow::instance()->forceHide();
} else {
// TODO: Show the bar
anim->setEndValue(0);
// MainWindow::instance()->unforceHide();
}
anim->setDuration(500);
anim->setEasingCurve(QEasingCurve::OutCubic);
connect(anim, &tVariantAnimation::valueChanged, this, [this](QVariant value) {
ui->backgroundSelectionWidget->setFixedHeight(value.toInt());
});
connect(anim, &tVariantAnimation::finished, this, [this] {
if (d->isChangeBackgroundVisible) {
ui->backgroundSelectionWidget->setFixedHeight(QWIDGETSIZE_MAX);
}
});
anim->start();
DesktopWm::setShowDesktop(d->isChangeBackgroundVisible);
}
void Background::showCommunityBackgroundSettings(bool shown) {
if (shown == d->communityBackgroundSettingsShown) return;
d->communityBackgroundSettingsShown = shown;
ui->communityBackgroundSettings->setVisible(shown);
}
void Background::show() {
DesktopWm::setSystemWindow(this, DesktopWm::SystemWindowTypeDesktop);
QDialog::show();
}
void Background::on_actionChange_Background_triggered() {
this->toggleChangeBackground();
}
void Background::reject() {
}
bool Background::eventFilter(QObject* watched, QEvent* event) {
if (watched == ui->backgroundPage) {
if (event->type() == QEvent::Paint) {
QPainter p(ui->backgroundPage);
if (d->retrieving) {
p.setPen(Qt::transparent);
p.setBrush(Qt::black);
p.drawRect(0, 0, this->width(), this->height());
} else {
p.drawPixmap(0, -ui->backgroundSelectionWidget->height(), d->background.px);
}
} else if (event->type() == QEvent::MouseButtonPress) {
if (d->isChangeBackgroundVisible) toggleChangeBackground();
}
}
return false;
}
void Background::on_Background_customContextMenuRequested(const QPoint& pos) {
if (d->isChangeBackgroundVisible) return;
QMenu* menu = new QMenu(this);
menu->addSection(tr("For desktop"));
menu->addAction(ui->actionChange_Background);
connect(menu, &QMenu::aboutToHide, menu, &QMenu::deleteLater);
menu->popup(this->mapToGlobal(pos));
}
void Background::paintEvent(QPaintEvent* event) {
}
void Background::resizeEvent(QResizeEvent* event) {
this->changeBackground();
}
void Background::resizeToScreen(int screen) {
auto s = ScreenDaemon::instance()->screens().at(screen);
if (s != d->oldScreen) {
if (s != nullptr) disconnect(d->screenGeometryChangedConnection);
connect(s, &SystemScreen::geometryChanged, this, [this, s] {
this->setGeometry(s->geometry());
});
this->setGeometry(s->geometry());
this->show();
d->oldScreen = s;
}
}
void Background::changeBackground(QString background, QList<BackgroundController::BackgroundType> types) {
if (background == "custom") {
// Ask the user to select a background
background = QFileDialog::getOpenFileName(this, tr("Select Background"), "", "Images (*.png *.jpg *.jpeg *.bmp *.gif)");
if (background.isEmpty()) return;
}
for (auto type : types) {
d->bg->setBackground(background, type);
}
}
void Background::reconfigureBackgrounds() {
if (BackgroundPrivate::backgrounds.count() > ScreenDaemon::instance()->screens().count()) {
// Remove backgrounds until the correct number of backgrounds have been created
int difference = BackgroundPrivate::backgrounds.count() - ScreenDaemon::instance()->screens().count();
for (int i = 0; i < difference; i++) {
BackgroundPrivate::backgrounds.takeLast()->deleteLater();
}
}
if (BackgroundPrivate::backgrounds.count() < ScreenDaemon::instance()->screens().count()) {
// Add new backgrounds until the correct number of backgrounds have been created
int difference = ScreenDaemon::instance()->screens().count() - BackgroundPrivate::backgrounds.count();
for (int i = 0; i < difference; i++) {
Background* w = new Background();
BackgroundPrivate::backgrounds.append(w);
}
}
for (int i = 0; i < ScreenDaemon::instance()->screens().count(); i++) {
BackgroundPrivate::backgrounds.at(i)->resizeToScreen(i);
}
}
void Background::on_tryReloadBackgroundButton_clicked() {
this->changeBackground();
}
void Background::on_backgroundList_clicked(const QModelIndex& index) {
QString background = index.data(Qt::UserRole).toString();
QMenu* menu = new QMenu(this);
menu->addSection(tr("Set Background"));
menu->addAction(tr("Set as Desktop Background"), this, [this, background] {
changeBackground(background, {BackgroundController::Desktop});
});
menu->addAction(tr("Set as Lock Screen Background"), this, [this, background] {
changeBackground(background, {BackgroundController::LockScreen});
});
menu->addSeparator();
menu->addAction(tr("Set for both"), this, [this, background] {
changeBackground(background, {BackgroundController::Desktop, BackgroundController::LockScreen});
});
connect(menu, &QMenu::aboutToHide, menu, &QMenu::deleteLater);
menu->popup(QCursor::pos());
}
void Background::on_backButton_clicked() {
this->toggleChangeBackground();
}
void Background::on_showImageInformationBox_toggled(bool checked) {
d->bg->setShouldShowCommunityLabels(checked);
}
void Background::on_stretchFitButton_toggled(bool checked) {
if (checked) {
d->bg->setStretchType(BackgroundController::StretchFit);
}
}
void Background::on_zoomCropButton_toggled(bool checked) {
if (checked) {
d->bg->setStretchType(BackgroundController::ZoomCrop);
}
}
void Background::on_centerButton_toggled(bool checked) {
if (checked) {
d->bg->setStretchType(BackgroundController::Center);
}
}
void Background::on_tileButton_toggled(bool checked) {
if (checked) {
d->bg->setStretchType(BackgroundController::Tile);
}
}
void Background::on_zoomFitButton_toggled(bool checked) {
if (checked) {
d->bg->setStretchType(BackgroundController::ZoomFit);
}
}
void Background::on_actionEndSession_triggered() {
}
================================================
FILE: desktop/background/background.h
================================================
/****************************************
*
* theShell - Desktop Environment
* Copyright (C) 2019 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef BACKGROUND_H
#define BACKGROUND_H
#include <Background/backgroundcontroller.h>
#include <QCoroTask>
#include <QDialog>
class ChooseBackground;
namespace Ui {
class Background;
}
struct BackgroundPrivate;
class Background : public QDialog {
Q_OBJECT
public:
explicit Background();
~Background();
void show();
static void reconfigureBackgrounds();
public slots:
QCoro::Task<> changeBackground();
void toggleChangeBackground();
void showCommunityBackgroundSettings(bool shown);
signals:
void setAllBackgrounds(QString background);
void reloadBackground();
private slots:
void on_actionChange_Background_triggered();
void on_Background_customContextMenuRequested(const QPoint& pos);
void on_tryReloadBackgroundButton_clicked();
void on_backgroundList_clicked(const QModelIndex& index);
void on_backButton_clicked();
void on_showImageInformationBox_toggled(bool checked);
void on_stretchFitButton_toggled(bool checked);
void on_zoomCropButton_toggled(bool checked);
void on_centerButton_toggled(bool checked);
void on_tileButton_toggled(bool checked);
void on_zoomFitButton_toggled(bool checked);
void on_actionEndSession_triggered();
private:
Ui::Background* ui;
BackgroundPrivate* d;
void reject();
bool eventFilter(QObject* watched, QEvent* event);
void paintEvent(QPaintEvent* event);
void resizeEvent(QResizeEvent* event);
void resizeToScreen(int screen);
void changeBackground(QString background, QList<BackgroundController::BackgroundType> types);
};
#endif // BACKGROUND_H
================================================
FILE: desktop/background/background.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Background</class>
<widget class="QDialog" name="Background">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>751</width>
<height>517</height>
</rect>
</property>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="windowTitle">
<string notr="true">theShell Background</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>:/icons/icon.svg</normaloff>:/icons/icon.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="tStackedWidget" name="stackedWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="127">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<widget class="QWidget" name="backgroundPage"/>
<widget class="QWidget" name="backgroundErrorPage">
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="1">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>37</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>114</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QWidget" name="widget_2" native="true">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Sorry, there was a problem displaying the background.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="tryReloadBackgroundButton">
<property name="text">
<string>Try Again</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>113</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="1">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>38</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="loadingBackgroundPage">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>58</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>275</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="tCircularSpinner" name="widget" native="true"/>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>274</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>57</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QWidget" name="backgroundSelectionWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="Line" name="line">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>1</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="backButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="go-previous">
<normaloff>../statuscenter/PulseaudioPane</normaloff>../statuscenter/PulseaudioPane</iconset>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>Background</string>
</property>
<property name="margin">
<number>9</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>1</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QLabel" name="label_6">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>IMAGE</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Select an image to display on your background and lock screen</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QListView" name="backgroundList">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="movement">
<enum>QListView::Static</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>false</bool>
</property>
<property name="resizeMode">
<enum>QListView::Adjust</enum>
</property>
<property name="viewMode">
<enum>QListView::IconMode</enum>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="communityBackgroundSettings" native="true">
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="Line" name="line_3">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>1</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_7">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>COMMUNITY BACKGROUNDS</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Images from the theDesk community will be cycled through every so often.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showImageInformationBox">
<property name="text">
<string>Show image information</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_4">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>1</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>STRETCH</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>Select how you'd like the background image to be sized</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="stretchFitButton">
<property name="text">
<string>Stretch To Fit</string>
</property>
<property name="icon">
<iconset theme="image-stretch-fit">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="zoomCropButton">
<property name="text">
<string>Zoom and Crop</string>
</property>
<property name="icon">
<iconset theme="image-stretch-zoom-crop">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="centerButton">
<property name="text">
<string>Center</string>
</property>
<property name="icon">
<iconset theme="image-stretch-center">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tileButton">
<property name="text">
<string>Tile</string>
</property>
<property name="icon">
<iconset theme="image-stretch-tile">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="zoomFitButton">
<property name="text">
<string>Zoom To Fit</string>
</property>
<property name="icon">
<iconset theme="image-stretch-zoom-fit">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
<action name="actionChange_Background">
<property name="icon">
<iconset theme="image">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Change Background</string>
</property>
</action>
<action name="actionEndSession">
<property name="icon">
<iconset theme="system-shutdown"/>
</property>
<property name="text">
<string>End Session</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>tCircularSpinner</class>
<extends>QWidget</extends>
<header location="global">tcircularspinner.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>tStackedWidget</class>
<extends>QStackedWidget</extends>
<header location="global">tstackedwidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/bar/barwindow.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "barwindow.h"
#include "ui_barwindow.h"
#include <QGraphicsOpacityEffect>
#include <QMouseEvent>
#include <QPainter>
#include <QScreen>
#include <QTimer>
#include <Wm/desktopwm.h>
#include "mainbarwidget.h"
#include "statuscenter/statuscenter.h"
#include <tvariantanimation.h>
#include <tsettings.h>
#include <barmanager.h>
#include <statemanager.h>
#include <statuscentermanager.h>
#include <Gestures/gesturedaemon.h>
#include <QWindow>
#include <Screens/screendaemon.h>
#include <Screens/systemscreen.h>
#include <tpopover.h>
#include "gateway/gateway.h"
#include <keygrab.h>
struct BarWindowPrivate {
MainBarWidget* mainBarWidget;
StatusCenter* statusCenterWidget;
tVariantAnimation* heightAnim;
tVariantAnimation* barStatusCenterTransitionAnim;
QGraphicsOpacityEffect* mainBarOpacity;
QGraphicsOpacityEffect* statusCenterOpacity;
SystemScreen* oldPrimaryScreen = nullptr;
QList<DesktopWmWindowPtr> maximisedWindows;
bool barExpanding = true;
bool statusCenterShown = false;
bool barPendingShow = false;
GestureInteractionPtr lastGesture;
tSettings settings;
};
BarWindow::BarWindow(QWidget* parent) :
QWidget(parent),
ui(new Ui::BarWindow) {
ui->setupUi(this);
d = new BarWindowPrivate();
this->setAttribute(Qt::WA_TranslucentBackground);
this->setMouseTracking(true);
d->mainBarWidget = new MainBarWidget(this);
connect(d->mainBarWidget, &MainBarWidget::expandedHeightChanged, this, &BarWindow::barHeightChanged);
connect(d->mainBarWidget, &MainBarWidget::statusBarHeightChanged, this, &BarWindow::barHeightChanged);
d->statusCenterWidget = new StatusCenter(this);
d->mainBarOpacity = new QGraphicsOpacityEffect(d->mainBarWidget);
d->mainBarOpacity->setEnabled(false);
d->mainBarWidget->setGraphicsEffect(d->mainBarOpacity);
d->statusCenterOpacity = new QGraphicsOpacityEffect(d->statusCenterWidget);
d->statusCenterOpacity->setEnabled(false);
d->statusCenterWidget->setGraphicsEffect(d->statusCenterOpacity);
d->statusCenterWidget->setVisible(false);
d->heightAnim = new tVariantAnimation(this);
d->heightAnim->setDuration(500);
connect(d->heightAnim, &tVariantAnimation::valueChanged, this, [=](QVariant value) {
this->setFixedHeight(value.toInt() + 1);
});
connect(GestureDaemon::instance(), &GestureDaemon::gestureBegin, this, [=](GestureInteractionPtr gesture) {
if (gesture->isValidInteraction(GestureTypes::Swipe, GestureTypes::Down, 3)) {
if (d->barExpanding) {
trackStatusCenterPullDownGesture(gesture);
} else {
trackBarPullDownGesture(gesture);
}
} else if (gesture->isValidInteraction(GestureTypes::Swipe, GestureTypes::Up, 3)) {
if (d->statusCenterShown) {
trackStatusCenterPullUpGesture(gesture);
}
}
});
d->barStatusCenterTransitionAnim = new tVariantAnimation();
d->barStatusCenterTransitionAnim->setStartValue(0.0);
d->barStatusCenterTransitionAnim->setEndValue(1.0);
d->barStatusCenterTransitionAnim->setDuration(250);
d->barStatusCenterTransitionAnim->setEasingCurve(QEasingCurve::InOutCubic);
connect(d->barStatusCenterTransitionAnim, &tVariantAnimation::valueChanged, this, [=](QVariant value) {
double percentage = value.toDouble();
if (qFuzzyIsNull(percentage)) { // Fully show bar view
d->statusCenterWidget->setVisible(false);
d->mainBarWidget->setVisible(true);
d->statusCenterOpacity->setEnabled(false);
d->mainBarOpacity->setEnabled(false);
this->setFixedHeight(d->mainBarWidget->expandedHeight());
ui->line->setVisible(true);
} else if (qFuzzyCompare(percentage, 1)) { // Fully show Status Center view
d->statusCenterWidget->setVisible(true);
d->mainBarWidget->setVisible(false);
d->statusCenterOpacity->setEnabled(false);
d->mainBarOpacity->setEnabled(false);
this->setFixedHeight(d->statusCenterWidget->height());
ui->line->setVisible(false);
} else {
if (percentage < 0.5) { // Animate the bar
d->mainBarOpacity->setOpacity(1 - (percentage * 2));
d->mainBarOpacity->setEnabled(true);
d->mainBarWidget->setVisible(true);
d->statusCenterWidget->setVisible(false);
d->statusCenterOpacity->setEnabled(false);
} else { // Animate the Status Center
d->statusCenterOpacity->setOpacity(percentage * 2 - 1);
d->statusCenterOpacity->setEnabled(true);
d->statusCenterWidget->setVisible(true);
d->mainBarWidget->setVisible(false);
d->mainBarOpacity->setEnabled(false);
}
this->setFixedHeight((d->statusCenterWidget->height() - d->mainBarWidget->expandedHeight()) * percentage + d->mainBarWidget->expandedHeight());
ui->line->setVisible(true);
}
});
// Tell the window manager that this is a "taskbar" type window
this->setWindowFlag(Qt::FramelessWindowHint);
DesktopWm::instance()->setSystemWindow(this, DesktopWm::SystemWindowTypeTaskbar);
DesktopWm::instance()->blurWindow(this);
this->barHeightChanged();
connect(qApp, &QApplication::primaryScreenChanged, this, &BarWindow::updatePrimaryScreen);
updatePrimaryScreen();
connect(StateManager::statusCenterManager(), &StatusCenterManager::showStatusCenter, this, &BarWindow::showStatusCenter);
connect(StateManager::statusCenterManager(), &StatusCenterManager::hideStatusCenter, this, &BarWindow::hideStatusCenter);
connect(StateManager::barManager(), &BarManager::barLockedChanged, this, [=](bool isBarLocked) {
if (!isBarLocked) {
// showBar();
// } else {
if (!this->geometry().contains(QCursor::pos())) hideBar();
}
});
connect(&d->settings, &tSettings::settingChanged, this, [=](QString key, QVariant value) {
if (key == "Appearance/translucent") {
this->update();
}
});
connect(DesktopWm::instance(), &DesktopWm::windowAdded, this, &BarWindow::trackWindow);
connect(DesktopWm::instance(), &DesktopWm::windowRemoved, this, [=](DesktopWmWindowPtr window) {
if (d->maximisedWindows.contains(window)) {
d->maximisedWindows.removeAll(window);
this->update();
}
});
for (const DesktopWmWindowPtr& window : DesktopWm::openWindows()) {
trackWindow(window);
}
KeyGrab* statusCenterGrab = new KeyGrab(QKeySequence(Qt::MetaModifier | Qt::Key_Tab));
connect(statusCenterGrab, &KeyGrab::activated, this, [=] {
StateManager::statusCenterManager()->show();
});
ui->line->raise();
// Initialise the Gateway
Gateway::instance();
}
BarWindow::~BarWindow() {
delete ui;
delete d;
}
void BarWindow::setFixedHeight(int height) {
QWidget::setFixedHeight(height);
// Work around a Qt bug that causes the native window not to be updated on Wayland for some reason
this->windowHandle()->setGeometry(this->geometry());
}
void BarWindow::setFixedWidth(int width) {
QWidget::setFixedWidth(width);
// Work around a Qt bug that causes the native window not to be updated on Wayland for some reason
this->windowHandle()->setGeometry(this->geometry());
}
void BarWindow::resizeEvent(QResizeEvent* event) {
ui->line->setGeometry(0, this->height() - 1, this->width(), this->height());
d->mainBarWidget->setFixedWidth(this->width());
d->mainBarWidget->barHeightChanged(this->height() - 1);
d->statusCenterWidget->setFixedWidth(this->width());
StateManager::barManager()->setBarHeight(this->height());
}
void BarWindow::enterEvent(QEnterEvent* event) {
if (d->lastGesture && d->lastGesture->isActive()) return;
d->barPendingShow = true;
if ((this->layoutDirection() == Qt::RightToLeft && mapFromGlobal(QCursor::pos()).x() > d->mainBarWidget->currentAppWidgetX()) ||
(this->layoutDirection() == Qt::LeftToRight && mapFromGlobal(QCursor::pos()).x() < d->mainBarWidget->currentAppWidgetX())) showBar();
}
void BarWindow::leaveEvent(QEvent* event) {
if (d->lastGesture && d->lastGesture->isActive()) return;
hideBar();
}
void BarWindow::paintEvent(QPaintEvent* event) {
QColor bgCol = this->palette().color(QPalette::Window);
if (d->settings.value("Appearance/translucent").toBool() && d->maximisedWindows.count() == 0) bgCol.setAlpha(150);
QPainter painter(this);
painter.setPen(Qt::transparent);
painter.setBrush(bgCol);
painter.drawRect(0, 0, this->width(), this->height());
}
void BarWindow::trackWindow(DesktopWmWindowPtr window) {
window->disconnect(this);
DesktopWm::instance()->disconnect(window);
connect(window, &DesktopWmWindow::geometryChanged, this, [=] {
trackWindow(window);
});
connect(window, &DesktopWmWindow::windowStateChanged, this, [=] {
trackWindow(window);
});
connect(DesktopWm::instance(), &DesktopWm::currentDesktopChanged, window, [=] {
trackWindow(window);
});
QRect screenGeometry = QApplication::primaryScreen()->geometry();
if (window->isMaximised() && !window->isMinimized() && screenGeometry.contains(window->geometry()) && window->isOnCurrentDesktop()) {
if (d->maximisedWindows.contains(window)) return;
d->maximisedWindows.append(window);
this->update();
} else if (!window->isMaximised() || window->isMinimized() || !window->isOnCurrentDesktop()) {
if (!d->maximisedWindows.contains(window)) return;
d->maximisedWindows.removeAll(window);
this->update();
}
}
void BarWindow::updatePrimaryScreen() {
if (d->oldPrimaryScreen) {
disconnect(d->oldPrimaryScreen, &SystemScreen::geometryChanged, this, &BarWindow::updatePrimaryScreen);
disconnect(d->oldPrimaryScreen, &SystemScreen::rotationChanged, this, &BarWindow::updatePrimaryScreen);
}
auto* primaryScreen = ScreenDaemon::instance()->primayScreen();
connect(primaryScreen, &SystemScreen::geometryChanged, this, &BarWindow::updatePrimaryScreen);
connect(primaryScreen, &SystemScreen::rotationChanged, this, &BarWindow::updatePrimaryScreen);
d->oldPrimaryScreen = primaryScreen;
if (primaryScreen) {
// Qt adjusts the size of the window for us, so we'll need to adjust for that
auto primaryGeometry = primaryScreen->geometry();
primaryGeometry.setSize(primaryGeometry.size() / primaryScreen->qtScreen()->devicePixelRatio());
this->setFixedWidth(primaryGeometry.width());
this->move(primaryGeometry.topLeft());
d->statusCenterWidget->setFixedHeight(primaryGeometry.height());
}
// Refresh the state of all the windows
for (const DesktopWmWindowPtr& window : DesktopWm::openWindows()) {
trackWindow(window);
}
barHeightChanged();
}
void BarWindow::barHeightChanged() {
DesktopWm::setScreenMarginForWindow(this, qApp->primaryScreen(), Qt::TopEdge, d->mainBarWidget->statusBarHeight() * (ScreenDaemon::instance()->primayScreen() ? ScreenDaemon::instance()->primayScreen()->qtScreen()->devicePixelRatio() : 1));
d->mainBarWidget->setFixedHeight(d->mainBarWidget->expandedHeight());
if (!d->statusCenterShown) {
QSignalBlocker blocker(d->heightAnim);
d->heightAnim->setStartValue(this->height() - 1);
d->heightAnim->setEndValue(d->barExpanding ? d->mainBarWidget->expandedHeight() : d->mainBarWidget->statusBarHeight());
d->heightAnim->setEasingCurve(QEasingCurve::OutCubic);
d->heightAnim->stop();
d->heightAnim->start();
}
}
void BarWindow::showStatusCenter() {
QSignalBlocker blocker(d->heightAnim);
d->heightAnim->stop();
StateManager::statusCenterManager()->setIsShowingStatusCenter(true);
int time = d->barStatusCenterTransitionAnim->currentTime();
d->barStatusCenterTransitionAnim->setDirection(tVariantAnimation::Forward);
d->barStatusCenterTransitionAnim->start();
d->barStatusCenterTransitionAnim->setCurrentTime(time);
// Tell the window manager that this is now a standard system window
DesktopWm::instance()->setSystemWindow(this);
d->statusCenterWidget->setFocus();
d->statusCenterShown = true;
}
void BarWindow::hideStatusCenter() {
StateManager::statusCenterManager()->setIsShowingStatusCenter(false);
int time = d->barStatusCenterTransitionAnim->currentTime();
d->barStatusCenterTransitionAnim->setDirection(tVariantAnimation::Backward);
d->barStatusCenterTransitionAnim->start();
d->barStatusCenterTransitionAnim->setCurrentTime(time);
// Tell the window manager that this is now a "taskbar" type window
DesktopWm::instance()->setSystemWindow(this, DesktopWm::SystemWindowTypeTaskbar);
d->mainBarWidget->setFocus();
d->statusCenterShown = false;
}
void BarWindow::showBar() {
d->barPendingShow = false;
// If we're showing the status bar, don't touch the height
if (!StateManager::statusCenterManager()->isShowingStatusCenter()) {
QSignalBlocker blocker(d->heightAnim);
d->heightAnim->setStartValue(this->height() - 1);
d->heightAnim->setEndValue(d->mainBarWidget->expandedHeight());
d->heightAnim->setEasingCurve(QEasingCurve::OutCubic);
d->heightAnim->stop();
d->heightAnim->start();
d->barExpanding = true;
}
}
void BarWindow::hideBar() {
// If we're showing the status bar, don't touch the height
if (!StateManager::statusCenterManager()->isShowingStatusCenter() && !StateManager::barManager()->isBarLocked()) {
QSignalBlocker blocker(d->heightAnim);
d->heightAnim->setStartValue(this->height() - 1);
d->heightAnim->setEndValue(d->mainBarWidget->statusBarHeight());
d->heightAnim->setEasingCurve(QEasingCurve::OutCubic);
d->heightAnim->stop();
d->heightAnim->start();
d->barExpanding = false;
}
}
void BarWindow::trackBarPullDownGesture(GestureInteractionPtr gesture) {
if (d->statusCenterShown || d->barExpanding) return;
// Capture this gesture!
d->lastGesture = gesture;
QSignalBlocker blocker(d->heightAnim);
d->heightAnim->setStartValue(this->height() - 1);
d->heightAnim->setEndValue(d->mainBarWidget->expandedHeight());
d->heightAnim->setEasingCurve(QEasingCurve::Linear);
d->heightAnim->stop();
d->barExpanding = true;
connect(gesture.data(), &GestureInteraction::interactionUpdated, this, [=] {
d->heightAnim->setCurrentTime(d->heightAnim->totalDuration() * gesture->percentage());
d->heightAnim->valueChanged(d->heightAnim->currentValue());
});
connect(gesture.data(), &GestureInteraction::interactionEnded, this, [=] {
if (gesture->extrapolatePercentage(100) > 0.7) {
showBar();
QTimer::singleShot(3000, this, [=] {
if (gesture == d->lastGesture && !this->underMouse()) hideBar();
});
} else {
hideBar();
}
});
}
void BarWindow::trackStatusCenterPullDownGesture(GestureInteractionPtr gesture) {
if (d->statusCenterShown) return;
// Capture this gesture!
d->lastGesture = gesture;
d->barStatusCenterTransitionAnim->setDirection(tVariantAnimation::Forward);
d->barStatusCenterTransitionAnim->setCurrentTime(0);
connect(gesture.data(), &GestureInteraction::interactionUpdated, this, [=] {
d->barStatusCenterTransitionAnim->setCurrentTime(d->barStatusCenterTransitionAnim->totalDuration() * gesture->percentage());
d->barStatusCenterTransitionAnim->valueChanged(d->barStatusCenterTransitionAnim->currentValue());
});
connect(gesture.data(), &GestureInteraction::interactionEnded, this, [=] {
if (gesture->extrapolatePercentage(100) > 0.7) {
showStatusCenter();
} else {
hideStatusCenter();
}
});
}
void BarWindow::trackStatusCenterPullUpGesture(GestureInteractionPtr gesture) {
if (!d->statusCenterShown) return;
// Only accept this gesture if there is not currently a popover active
QList<QWidget*> childWidgets;
childWidgets.append(this);
while (!childWidgets.isEmpty()) {
QWidget* w = childWidgets.takeFirst();
if (tPopover::popoverForPopoverWidget(w)) return;
for (QObject* o : w->children()) {
if (qobject_cast<QWidget*>(o)) childWidgets.append(qobject_cast<QWidget*>(o));
}
}
// Capture this gesture!
d->lastGesture = gesture;
d->barStatusCenterTransitionAnim->setDirection(tVariantAnimation::Forward);
d->barStatusCenterTransitionAnim->setCurrentTime(d->barStatusCenterTransitionAnim->duration());
connect(gesture.data(), &GestureInteraction::interactionUpdated, this, [=] {
d->barStatusCenterTransitionAnim->setCurrentTime(d->barStatusCenterTransitionAnim->totalDuration() - d->barStatusCenterTransitionAnim->totalDuration() * gesture->percentage());
d->barStatusCenterTransitionAnim->valueChanged(d->barStatusCenterTransitionAnim->currentValue());
});
connect(gesture.data(), &GestureInteraction::interactionEnded, this, [=] {
if (gesture->extrapolatePercentage(100) > 0.3) {
hideStatusCenter();
} else {
showStatusCenter();
}
});
}
void BarWindow::mouseMoveEvent(QMouseEvent* event) {
if (event->pos().x() < d->mainBarWidget->currentAppWidgetX() && d->barPendingShow) showBar();
}
================================================
FILE: desktop/bar/barwindow.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef BARWINDOW_H
#define BARWINDOW_H
#include <Gestures/gestureinteraction.h>
#include <QWidget>
#include <Wm/desktopwmwindow.h>
namespace Ui {
class BarWindow;
}
struct BarWindowPrivate;
class BarWindow : public QWidget {
Q_OBJECT
public:
explicit BarWindow(QWidget* parent = nullptr);
~BarWindow();
void setFixedHeight(int height);
void setFixedWidth(int width);
private:
Ui::BarWindow* ui;
BarWindowPrivate* d;
void resizeEvent(QResizeEvent* event);
void enterEvent(QEnterEvent* event);
void leaveEvent(QEvent* event);
void paintEvent(QPaintEvent* event);
void mouseMoveEvent(QMouseEvent* event);
void trackWindow(DesktopWmWindowPtr window);
void updatePrimaryScreen();
void barHeightChanged();
void showStatusCenter();
void hideStatusCenter();
void showBar();
void hideBar();
void trackBarPullDownGesture(GestureInteractionPtr gesture);
void trackStatusCenterPullDownGesture(GestureInteractionPtr gesture);
void trackStatusCenterPullUpGesture(GestureInteractionPtr gesture);
};
#endif // BARWINDOW_H
================================================
FILE: desktop/bar/barwindow.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BarWindow</class>
<widget class="QWidget" name="BarWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>636</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>130</x>
<y>250</y>
<width>118</width>
<height>1</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>1</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/bar/chunkcontainer.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "chunkcontainer.h"
#include "ui_chunkcontainer.h"
#include "common/common.h"
#include <QFrame>
#include <QGraphicsOpacityEffect>
#include <QScrollBar>
#include <barmanager.h>
#include <chunk.h>
#include <statemanager.h>
#include <statuscentermanager.h>
struct ChunkContainerPrivate {
BarManager* barManager;
QList<QPair<QString, Chunk*>> loadedChunks;
QStringList preferredChunkOrder = {
"OverviewClock",
"Power",
"PowerStretch",
"flight-mode",
"network-cellular",
"Network",
"network-tethering",
"bluetooth",
"audio",
"audio-mic",
"redshift",
"keyboardlayout",
"caffeinate",
"Accessibility-StickyKeys",
"mpris"};
QMap<Chunk*, QWidget*> chunkWidgets;
qreal currentAnimProgress = 1;
};
ChunkContainer::ChunkContainer(QWidget* parent) :
QWidget(parent),
ui(new Ui::ChunkContainer) {
ui->setupUi(this);
d = new ChunkContainerPrivate();
d->barManager = StateManager::barManager();
ui->statusCenterButtonLine->setVisible(false);
connect(d->barManager, &BarManager::chunkAdded, this, &ChunkContainer::chunkAdded);
connect(d->barManager, &BarManager::chunkRemoved, this, &ChunkContainer::chunkRemoved);
for (Chunk* chunk : d->barManager->chunks()) {
this->chunkAdded(chunk);
}
connect(StateManager::barManager(), &BarManager::barHeightTransitioning, this, [=](qreal percentage) {
int spacing = 3 + 3 * percentage;
ui->chunkLayout->setSpacing(spacing);
});
connect(ui->scrollArea->horizontalScrollBar(), &QScrollBar::valueChanged, this, [=](int value) {
ui->statusCenterButtonLine->setVisible(value != 0);
});
QPalette pal;
pal.setBrush(QPalette::Window, Qt::transparent);
ui->scrollArea->setPalette(pal);
ui->scrollAreaWidgetContents->setPalette(pal);
}
ChunkContainer::~ChunkContainer() {
delete d;
delete ui;
ui = nullptr;
}
int ChunkContainer::statusBarHeight() {
int maxHeight = 0;
for (Chunk* chunk : d->barManager->chunks()) {
maxHeight = qMax(chunk->statusBarHeight(), maxHeight);
}
return maxHeight;
}
int ChunkContainer::expandedHeight() {
int maxHeight = 0;
for (Chunk* chunk : d->barManager->chunks()) {
maxHeight = qMax(chunk->expandedHeight(), maxHeight);
}
return maxHeight;
}
int ChunkContainer::currentAppWidgetX() {
return this->layoutDirection() == Qt::RightToLeft ? ui->currentAppWidget->width() : ui->currentAppWidget->x();
}
void ChunkContainer::barHeightChanged(int height) {
// if (height >= statusBarHeight() && height <= expandedHeight()) {
// this->setFixedHeight(height);
// }
int boundHeight = qBound(statusBarHeight(), height, expandedHeight());
this->setFixedHeight(boundHeight);
ui->chunkWidget->setFixedHeight(boundHeight);
qreal percentageAnim = static_cast<qreal>((height - statusBarHeight())) / (expandedHeight() - statusBarHeight());
if (percentageAnim < 0) percentageAnim = 0;
if (percentageAnim > 1) percentageAnim = 1;
d->barManager->barHeightTransitioning(percentageAnim);
ui->currentAppWidget->barHeightChanging(percentageAnim);
d->currentAnimProgress = percentageAnim;
}
void ChunkContainer::paintEvent(QPaintEvent* event) {
}
void ChunkContainer::chunkAdded(Chunk* chunk) {
// Create a chunk widget
QWidget* chunkWidget = new QWidget(this);
QBoxLayout* chunkWidgetLayout = new QBoxLayout(QBoxLayout::LeftToRight, chunkWidget);
QFrame* line = new QFrame(chunkWidget);
line->setFrameShape(QFrame::VLine);
line->setFixedWidth(1);
chunkWidgetLayout->addWidget(line);
chunkWidgetLayout->addWidget(chunk);
chunkWidgetLayout->setSpacing(0);
chunkWidgetLayout->setContentsMargins(0, 0, 0, 0);
chunkWidget->setLayout(chunkWidgetLayout);
d->chunkWidgets.insert(chunk, chunkWidget);
QGraphicsOpacityEffect* lineOpacity = new QGraphicsOpacityEffect(line);
lineOpacity->setOpacity(d->currentAnimProgress);
line->setGraphicsEffect(lineOpacity);
QStringList currentItems;
for (QPair<QString, Chunk*> item : d->loadedChunks) {
currentItems.append(item.first);
}
int index = Common::getInsertionIndex(d->preferredChunkOrder, currentItems, chunk->name());
if (index == -1) {
// Add it at the end
ui->chunkLayout->addWidget(chunkWidget);
d->loadedChunks.append({chunk->name(), chunk});
} else {
// Add this chunk at the beginning
ui->chunkLayout->insertWidget(index, chunkWidget);
d->loadedChunks.insert(index, {chunk->name(), chunk});
}
connect(this, &ChunkContainer::chunksChanged, chunkWidget, [=] {
// Make sure the line is not visible and set the margins appropriately
for (int i = 0; i < d->loadedChunks.count(); i++) {
QPair<QString, Chunk*> chunkDescriptor = d->loadedChunks.at(i);
if (chunkDescriptor.second == chunk) {
line->setVisible(i != 0);
return;
}
}
});
connect(StateManager::barManager(), &BarManager::barHeightTransitioning, lineOpacity, &QGraphicsOpacityEffect::setOpacity);
emit statusBarHeightChanged();
emit expandedHeightChanged();
emit chunksChanged();
}
void ChunkContainer::chunkRemoved(Chunk* chunk) {
if (!ui) return;
for (int i = 0; i < d->loadedChunks.count(); i++) {
if (d->loadedChunks.at(i).second == chunk) {
QWidget* chunkWidget = d->chunkWidgets.take(chunk);
ui->chunkLayout->removeWidget(chunkWidget);
d->loadedChunks.removeAt(i);
chunk->setParent(nullptr);
chunkWidget->deleteLater();
emit statusBarHeightChanged();
emit expandedHeightChanged();
return;
}
}
}
void ChunkContainer::on_statusCenterButton_clicked() {
StateManager::statusCenterManager()->showStatusCenter();
}
================================================
FILE: desktop/bar/chunkcontainer.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef CHUNKCONTAINER_H
#define CHUNKCONTAINER_H
#include <QWidget>
namespace Ui {
class ChunkContainer;
}
class Chunk;
struct ChunkContainerPrivate;
class ChunkContainer : public QWidget {
Q_OBJECT
public:
explicit ChunkContainer(QWidget* parent = nullptr);
~ChunkContainer();
int statusBarHeight();
int expandedHeight();
int currentAppWidgetX();
void barHeightChanged(int height);
signals:
void statusBarHeightChanged();
void expandedHeightChanged();
void chunksChanged();
private slots:
void on_statusCenterButton_clicked();
private:
Ui::ChunkContainer* ui;
ChunkContainerPrivate* d;
void paintEvent(QPaintEvent* event);
void chunkAdded(Chunk* chunk);
void chunkRemoved(Chunk* chunk);
};
#endif // CHUNKCONTAINER_H
================================================
FILE: desktop/bar/chunkcontainer.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ChunkContainer</class>
<widget class="QWidget" name="ChunkContainer">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>23</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="statusCenterButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Open Status Center</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="arrow-down">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="Line" name="statusCenterButtonLine">
<property name="maximumSize">
<size>
<width>1</width>
<height>16777215</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>365</width>
<height>23</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QWidget" name="chunkWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="chunkLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="CurrentAppWidget" name="currentAppWidget" native="true"/>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>CurrentAppWidget</class>
<extends>QWidget</extends>
<header>bar/currentappwidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/bar/currentappwidget.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "currentappwidget.h"
#include "ui_currentappwidget.h"
#include <tvariantanimation.h>
#include <Wm/desktopwm.h>
#include <Applications/application.h>
#include <QGraphicsOpacityEffect>
#include <QIcon>
#include <keygrab.h>
#include <private/quickwidgetcontainer.h>
#include "currentappwidgetmenu.h"
struct CurrentAppWidgetPrivate {
QPalette pal;
QGraphicsOpacityEffect* opacity;
tVariantAnimation* anim;
QuickWidgetContainer* menuContainer;
CurrentAppWidgetMenu* menu;
KeyGrab* forceStopGrab;
};
CurrentAppWidget::CurrentAppWidget(QWidget* parent) :
QWidget(parent),
ui(new Ui::CurrentAppWidget) {
ui->setupUi(this);
d = new CurrentAppWidgetPrivate();
d->pal = this->palette();
d->pal.setColor(QPalette::Window, QColor(0, 0, 0, 0));
this->setPalette(d->pal);
d->opacity = new QGraphicsOpacityEffect(this);
d->opacity->setOpacity(1);
this->setGraphicsEffect(d->opacity);
d->anim = new tVariantAnimation(this);
d->anim->setStartValue(0.0);
d->anim->setEndValue(1.0);
d->anim->setDuration(200);
connect(d->anim, &tVariantAnimation::valueChanged, this, [ = ](QVariant value) {
d->opacity->setOpacity(value.toReal());
});
d->menu = new CurrentAppWidgetMenu();
d->menuContainer = new QuickWidgetContainer(this);
d->menuContainer->setQuickWidget(d->menu);
connect(d->menuContainer, &QuickWidgetContainer::hiding, this, &CurrentAppWidget::activeWindowChanged);
connect(d->menu, &CurrentAppWidgetMenu::done, d->menuContainer, &QuickWidgetContainer::hideContainer);
connect(DesktopWm::instance(), &DesktopWm::activeWindowChanged, this, &CurrentAppWidget::activeWindowChanged);
activeWindowChanged();
d->forceStopGrab = new KeyGrab(QKeySequence(Qt::ControlModifier | Qt::AltModifier | Qt::Key_Escape), "force-stop");
connect(d->forceStopGrab, &KeyGrab::activated, this, [ = ] {
DesktopWmWindowPtr active = DesktopWm::activeWindow();
if (!active->application()) return;
d->menu->setWindow(active);
d->menu->showForceStopScreen();
if (!d->menuContainer->isShowing()) d->menuContainer->showContainer();
});
}
CurrentAppWidget::~CurrentAppWidget() {
delete d;
delete ui;
}
void CurrentAppWidget::barHeightChanging(float barTransitionPercentage) {
if (qFuzzyIsNull(barTransitionPercentage)) {
this->setFixedWidth(QWIDGETSIZE_MAX);
this->setVisible(true);
} else if (qFuzzyCompare(barTransitionPercentage, 1)) {
this->setVisible(false);
} else {
this->setFixedWidth(this->sizeHint().width() * (1 - barTransitionPercentage));
this->setVisible(true);
}
}
void CurrentAppWidget::activeWindowChanged() {
if (d->menuContainer->isShowing()) return;
DesktopWmWindowPtr active = DesktopWm::activeWindow();
if (active) {
ApplicationPointer app = active->application();
if (app) {
ui->iconLabel->setPixmap(QIcon::fromTheme(app->getProperty("Icon").toString()).pixmap(SC_DPI_T(QSize(16, 16), QSize)));
ui->currentAppLabel->setText(app->getProperty("Name").toString());
if (d->anim->direction() == tVariantAnimation::Backward) {
d->anim->setDirection(tVariantAnimation::Forward);
d->anim->start();
}
} else {
if (d->anim->direction() == tVariantAnimation::Forward) {
d->anim->setDirection(tVariantAnimation::Backward);
d->anim->start();
}
}
} else {
ui->iconLabel->setPixmap(QIcon(":/thedesk/desktop/thedesk.svg").pixmap(SC_DPI_T(QSize(16, 16), QSize)));
ui->currentAppLabel->setText(QStringLiteral("theDesk"));
if (d->anim->direction() == tVariantAnimation::Backward) {
d->anim->setDirection(tVariantAnimation::Forward);
d->anim->start();
}
}
}
void CurrentAppWidget::enterEvent(QEvent* event) {
QPalette pal = d->pal;
pal.setColor(QPalette::Window, QColor(255, 255, 255, 100));
this->setPalette(pal);
}
void CurrentAppWidget::leaveEvent(QEvent* event) {
this->setPalette(d->pal);
}
void CurrentAppWidget::mousePressEvent(QMouseEvent* event) {
QPalette pal = d->pal;
pal.setColor(QPalette::Window, QColor(0, 0, 0, 100));
this->setPalette(pal);
}
void CurrentAppWidget::mouseReleaseEvent(QMouseEvent* event) {
QPalette pal = d->pal;
pal.setColor(QPalette::Window, QColor(255, 255, 255, 100));
this->setPalette(pal);
if (this->underMouse()) {
//Click!
DesktopWmWindowPtr active = DesktopWm::activeWindow();
if (!active || !active->application()) return;
d->menu->setWindow(active);
if (!d->menuContainer->isShowing()) d->menuContainer->showContainer();
}
}
================================================
FILE: desktop/bar/currentappwidget.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef CURRENTAPPWIDGET_H
#define CURRENTAPPWIDGET_H
#include <QWidget>
namespace Ui {
class CurrentAppWidget;
}
struct CurrentAppWidgetPrivate;
class CurrentAppWidget : public QWidget {
Q_OBJECT
public:
explicit CurrentAppWidget(QWidget* parent = nullptr);
~CurrentAppWidget();
void barHeightChanging(float barTransitionPercentage);
private:
Ui::CurrentAppWidget* ui;
CurrentAppWidgetPrivate* d;
void activeWindowChanged();
// QWidget interface
protected:
void enterEvent(QEvent* event);
void leaveEvent(QEvent* event);
void mousePressEvent(QMouseEvent* event);
void mouseReleaseEvent(QMouseEvent* event);
};
#endif // CURRENTAPPWIDGET_H
================================================
FILE: desktop/bar/currentappwidget.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CurrentAppWidget</class>
<widget class="QWidget" name="CurrentAppWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>90</width>
<height>35</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="Line" name="line">
<property name="maximumSize">
<size>
<width>1</width>
<height>16777215</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<widget class="QLabel" name="iconLabel">
<property name="text">
<string notr="true">Icon</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="currentAppLabel">
<property name="text">
<string notr="true">Current App</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/bar/currentappwidgetmenu.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "currentappwidgetmenu.h"
#include "ui_currentappwidgetmenu.h"
#include <QTimer>
struct CurrentAppWidgetMenuPrivate {
DesktopWmWindowPtr window;
QList<QPushButton*> actionButtons;
};
CurrentAppWidgetMenu::CurrentAppWidgetMenu(QWidget* parent) :
QWidget(parent),
ui(new Ui::CurrentAppWidgetMenu) {
ui->setupUi(this);
d = new CurrentAppWidgetMenuPrivate();
ui->quitImmediateButton->setProperty("type", "destructive");
ui->doQuitImmediateButton->setProperty("type", "destructive");
updateModifiers();
ui->stackedWidget->setCurrentAnimation(tStackedWidget::SlideHorizontal);
}
CurrentAppWidgetMenu::~CurrentAppWidgetMenu() {
delete d;
delete ui;
}
QSize CurrentAppWidgetMenu::sizeHint() const {
return this->size();
}
void CurrentAppWidgetMenu::setWindow(DesktopWmWindowPtr window) {
for (QPushButton* button : d->actionButtons) {
ui->actionsLayout->removeWidget(button);
button->setVisible(false);
button->deleteLater();
}
d->actionButtons.clear();
d->window = window;
QString applicationName = window->application()->getProperty("Name").toString();
ui->quitImmediateButton->setText(tr("Force Stop"));
ui->quitImmediateTitle->setText(tr("Force Stop %1").arg(applicationName).toUpper());
ui->quitImmediateDescription->setText(tr("%1 will be forced to exit and won't have a chance to save any unsaved data.").arg(applicationName));
ui->doQuitImmediateButton->setText(tr("Force Stop %1").arg(applicationName));
ui->cancelImmediateQuitButton->setVisible(true);
QStringList actions = window->application()->getStringList("Actions");
for (const QString& action : qAsConst(actions)) {
QPushButton* button = new QPushButton();
button->setText(window->application()->getActionProperty(action, "Name").toString());
connect(button, &QPushButton::clicked, this, [ = ] {
window->application()->launchAction(action);
emit done();
});
ui->actionsLayout->addWidget(button);
d->actionButtons.append(button);
}
ui->actionsWidget->setVisible(!actions.isEmpty());
ui->stackedWidget->setCurrentWidget(ui->initialPage, false);
updateModifiers();
}
void CurrentAppWidgetMenu::showForceStopScreen() {
ui->cancelImmediateQuitButton->setVisible(false);
ui->stackedWidget->setCurrentWidget(ui->quitImmediatelyPage, false);
this->setFixedSize(ui->stackedWidget->currentWidget()->sizeHint());
}
void CurrentAppWidgetMenu::updateModifiers() {
bool showExtraOptions = qApp->queryKeyboardModifiers() & Qt::ShiftModifier;
ui->quitImmediateButton->setVisible(showExtraOptions);
on_stackedWidget_switchingFrame(ui->stackedWidget->currentIndex());
}
void CurrentAppWidgetMenu::on_closeWindowButton_clicked() {
d->window->close();
emit done();
}
void CurrentAppWidgetMenu::keyPressEvent(QKeyEvent* event) {
updateModifiers();
}
void CurrentAppWidgetMenu::keyReleaseEvent(QKeyEvent* event) {
updateModifiers();
}
void CurrentAppWidgetMenu::on_doQuitImmediateButton_clicked() {
d->window->kill();
emit done();
}
void CurrentAppWidgetMenu::on_cancelImmediateQuitButton_clicked() {
ui->stackedWidget->setCurrentWidget(ui->initialPage);
}
void CurrentAppWidgetMenu::on_quitImmediateButton_clicked() {
ui->stackedWidget->setCurrentWidget(ui->quitImmediatelyPage);
}
void CurrentAppWidgetMenu::on_stackedWidget_switchingFrame(int frame) {
QTimer::singleShot(0, [ = ] {
tVariantAnimation::singleShot(this, this->size(), ui->stackedWidget->widget(frame)->sizeHint(), 250, [ = ](QVariant value) {
this->setFixedSize(value.toSize());
});
});
}
================================================
FILE: desktop/bar/currentappwidgetmenu.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef CURRENTAPPWIDGETMENU_H
#define CURRENTAPPWIDGETMENU_H
#include <QWidget>
#include <Wm/desktopwmwindow.h>
namespace Ui {
class CurrentAppWidgetMenu;
}
struct CurrentAppWidgetMenuPrivate;
class CurrentAppWidgetMenu : public QWidget {
Q_OBJECT
public:
explicit CurrentAppWidgetMenu(QWidget* parent = nullptr);
~CurrentAppWidgetMenu();
QSize sizeHint() const;
void setWindow(DesktopWmWindowPtr window);
void showForceStopScreen();
void updateModifiers();
private slots:
void on_closeWindowButton_clicked();
void on_doQuitImmediateButton_clicked();
void on_cancelImmediateQuitButton_clicked();
void on_quitImmediateButton_clicked();
void on_stackedWidget_switchingFrame(int frame);
signals:
void done();
private:
Ui::CurrentAppWidgetMenu* ui;
CurrentAppWidgetMenuPrivate* d;
// QWidget interface
protected:
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent* event);
};
#endif // CURRENTAPPWIDGETMENU_H
================================================
FILE: desktop/bar/currentappwidgetmenu.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CurrentAppWidgetMenu</class>
<widget class="QWidget" name="CurrentAppWidgetMenu">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>105</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="tStackedWidget" name="stackedWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="initialPage">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QWidget" name="widget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="closeWindowButton">
<property name="text">
<string>Close Window</string>
</property>
<property name="icon">
<iconset theme="window-close">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="actionsWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="Line" name="line_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>1</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="actionsLayout"/>
</item>
<item>
<widget class="Line" name="line">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>1</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QPushButton" name="quitImmediateButton">
<property name="text">
<string notr="true">Quit Immediately</string>
</property>
<property name="icon">
<iconset theme="application-exit">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="quitImmediatelyPage">
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item>
<widget class="QLabel" name="quitImmediateTitle">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>QUIT IMMEDIATELY</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="quitImmediateDescription">
<property name="text">
<string notr="true">TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="cancelImmediateQuitButton">
<property name="text">
<string>Cancel</string>
</property>
<property name="icon">
<iconset theme="dialog-cancel">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="doQuitImmediateButton">
<property name="text">
<string notr="true">Quit Immediately</string>
</property>
<property name="icon">
<iconset theme="application-exit">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>tStackedWidget</class>
<extends>QStackedWidget</extends>
<header location="global">tstackedwidget.h</header>
<container>1</container>
<slots>
<signal>switchingFrame(int)</signal>
</slots>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/bar/mainbarwidget.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "mainbarwidget.h"
#include "ui_mainbarwidget.h"
#include "gateway/gateway.h"
#include <keygrab.h>
#include <libcontemporary_global.h>
#include <QDebug>
#include <hudmanager.h>
#include <statemanager.h>
#include <Screens/screendaemon.h>
#include <Screens/systemscreen.h>
MainBarWidget::MainBarWidget(QWidget* parent) :
QWidget(parent),
ui(new Ui::MainBarWidget) {
ui->setupUi(this);
ui->gatewayButton->setIconSize(SC_DPI_T(QSize(32, 32), QSize));
connect(ui->chunkContainer, &ChunkContainer::expandedHeightChanged, this, &MainBarWidget::expandedHeightChanged);
connect(ui->chunkContainer, &ChunkContainer::statusBarHeightChanged, this, &MainBarWidget::statusBarHeightChanged);
connect(new KeyGrab(QKeySequence(Qt::Key_Super_L), "gatewayOpen"), &KeyGrab::activated, this, [=] {
Gateway::instance()->show();
});
}
MainBarWidget::~MainBarWidget() {
delete ui;
}
int MainBarWidget::statusBarHeight() {
return ui->chunkContainer->statusBarHeight();
}
int MainBarWidget::expandedHeight() {
return ui->chunkContainer->expandedHeight() + ui->mainContentsWidget->sizeHint().height();
}
int MainBarWidget::currentAppWidgetX() {
return ui->chunkContainer->currentAppWidgetX();
}
void MainBarWidget::barHeightChanged(int height) {
ui->chunkContainer->barHeightChanged(height);
}
void MainBarWidget::on_gatewayButton_clicked() {
Gateway::instance()->show();
}
================================================
FILE: desktop/bar/mainbarwidget.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef MAINBARWIDGET_H
#define MAINBARWIDGET_H
#include <QWidget>
namespace Ui {
class MainBarWidget;
}
class MainBarWidget : public QWidget {
Q_OBJECT
public:
explicit MainBarWidget(QWidget* parent = nullptr);
~MainBarWidget();
int statusBarHeight();
int expandedHeight();
int currentAppWidgetX();
void barHeightChanged(int height);
signals:
void statusBarHeightChanged();
void expandedHeightChanged();
private slots:
void on_gatewayButton_clicked();
private:
Ui::MainBarWidget* ui;
};
#endif // MAINBARWIDGET_H
================================================
FILE: desktop/bar/mainbarwidget.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainBarWidget</class>
<widget class="QWidget" name="MainBarWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>724</width>
<height>195</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="ChunkContainer" name="chunkContainer" native="true"/>
</item>
<item>
<widget class="QWidget" name="mainContentsWidget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="gatewayButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normaloff>:/thedesk/desktop/icons/thedesk.svg</normaloff>:/thedesk/desktop/icons/thedesk.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="TaskbarWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ChunkContainer</class>
<extends>QWidget</extends>
<header>bar/chunkcontainer.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>TaskbarWidget</class>
<extends>QWidget</extends>
<header>bar/taskbarwidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/bar/taskbarapplicationwidget.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "taskbarapplicationwidget.h"
#include <Wm/desktopwm.h>
#include <libcontemporary_global.h>
#include <QAction>
#include <QActionGroup>
#include <QContextMenuEvent>
#include <QMenu>
#include <Wm/desktopwm.h>
#include <actionquickwidget.h>
#include <barmanager.h>
#include <private/quickwidgetcontainer.h>
#include <statemanager.h>
struct TaskbarApplicationWidgetPrivate {
ApplicationPointer app;
uint desktop;
ActionQuickWidget* windowListMenu;
QuickWidgetContainer* windowListMenuContainer;
QList<DesktopWmWindowPtr> trackedWindows;
QMap<DesktopWmWindowPtr, QAction*> actions;
};
TaskbarApplicationWidget::TaskbarApplicationWidget(QString desktopEntry, uint desktop, QWidget* parent) :
QPushButton(parent) {
d = new TaskbarApplicationWidgetPrivate();
d->app = ApplicationPointer(new Application(desktopEntry));
d->desktop = desktop;
this->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
this->setCheckable(true);
connect(DesktopWm::instance(), &DesktopWm::windowRemoved, this, [=](DesktopWmWindowPtr window) {
removeTrackedWindow(window);
});
connect(DesktopWm::instance(), &DesktopWm::activeWindowChanged, this, &TaskbarApplicationWidget::updateActive);
connect(this, &TaskbarApplicationWidget::clicked, this, [=] {
if (d->trackedWindows.count() == 1) {
d->trackedWindows.first()->activate();
} else {
if (!d->windowListMenuContainer->isShowing()) d->windowListMenuContainer->showContainer();
}
updateActive();
});
this->setIconSize(SC_DPI_T(QSize(32, 32), QSize));
d->windowListMenuContainer = new QuickWidgetContainer(this);
d->windowListMenu = new ActionQuickWidget(d->windowListMenuContainer);
d->windowListMenuContainer->setQuickWidget(d->windowListMenu);
// connect(d->windowListMenu, &ActionQuickWidget::done, d->menuContainer, &QuickWidgetContainer::hideContainer);
updateIcon();
}
TaskbarApplicationWidget::~TaskbarApplicationWidget() {
delete d;
}
void TaskbarApplicationWidget::trackWindow(DesktopWmWindowPtr window) {
if (d->trackedWindows.contains(window)) return;
QAction* action = new QAction(this);
action->setText(window->title());
connect(window, &DesktopWmWindow::titleChanged, action, [=] {
action->setText(window->title());
});
connect(action, &QAction::triggered, window, [=] {
window->activate();
});
d->actions.insert(window, action);
d->windowListMenu->addAction(action);
d->trackedWindows.append(window);
updateIcon();
updateActive();
}
void TaskbarApplicationWidget::removeTrackedWindow(DesktopWmWindowPtr window) {
if (!d->trackedWindows.contains(window)) return;
window->disconnect(this);
d->trackedWindows.removeOne(window);
QAction* action = d->actions.take(window);
d->windowListMenu->removeAction(action);
action->deleteLater();
updateIcon();
updateActive();
if (d->trackedWindows.isEmpty()) emit windowsRemoved();
}
QList<DesktopWmWindowPtr> TaskbarApplicationWidget::trackedWindows() {
return d->trackedWindows;
}
void TaskbarApplicationWidget::setColor(QColor color) {
QPalette pal = this->palette();
pal.setColor(QPalette::Button, color);
this->setPalette(pal);
}
void TaskbarApplicationWidget::resizeEvent(QResizeEvent* event) {
this->setFixedWidth(this->height());
}
void TaskbarApplicationWidget::updateIcon() {
if (d->app->isValid()) {
this->setIcon(d->app->icon());
} else if (!d->trackedWindows.isEmpty()) {
this->setIcon(d->trackedWindows.first()->icon());
} else {
this->setIcon(QIcon::fromTheme("generic-app"));
}
emit iconChanged();
}
void TaskbarApplicationWidget::updateActive() {
this->setChecked(d->trackedWindows.contains(DesktopWm::activeWindow()));
}
void TaskbarApplicationWidget::contextMenuEvent(QContextMenuEvent* event) {
auto menu = new QMenu(this);
if (d->trackedWindows.count() == 1) {
auto win = d->trackedWindows.constFirst();
menu->addSection(tr("For %1").arg(QLocale().quoteString(win->title())));
QMenu* desktopsMenu = new QMenu(menu);
desktopsMenu->setTitle(tr("Move to desktop"));
auto desktopsGroup = new QActionGroup(desktopsMenu);
desktopsGroup->setExclusive(true);
auto allDesktopsAction = desktopsMenu->addAction(tr("All Desktops"), [win] {
win->moveToDesktop(UINT_MAX);
});
desktopsGroup->addAction(allDesktopsAction);
allDesktopsAction->setCheckable(true);
if (win->desktop() == UINT_MAX) allDesktopsAction->setChecked(true);
desktopsMenu->addSeparator();
for (auto i = 0; i < DesktopWm::desktops().count() - 1; i++) {
auto desktopName = DesktopWm::desktops().at(i);
auto action = desktopsMenu->addAction(desktopName, [win, i] {
win->moveToDesktop(i);
});
desktopsGroup->addAction(action);
action->setCheckable(true);
if (i == win->desktop()) action->setChecked(true);
}
desktopsMenu->addSeparator();
desktopsMenu->addAction(QIcon::fromTheme("list-add"), tr("New Desktop"), [win] {
win->moveToDesktop(DesktopWm::desktops().count() - 1);
});
menu->addMenu(desktopsMenu);
menu->addAction(QIcon::fromTheme("window-close"), tr("Close"), this, [win] {
win->close();
});
} else {
if (d->app->isValid()) {
menu->addSection(tr("For %n %1 windows", nullptr, d->trackedWindows.count()).arg(QLocale().quoteString(d->app->getProperty("Name").toString())));
} else {
menu->addSection(tr("For %n windows", nullptr, d->trackedWindows.count()));
}
menu->addAction(QIcon::fromTheme("application-exit"), tr("Close All"), this, [this] {
for (auto win : d->trackedWindows) {
win->close();
}
});
}
auto locker = StateManager::barManager()->acquireLock();
connect(menu, &QMenu::aboutToHide, this, [locker, menu] {
locker->unlock();
menu->deleteLater();
});
menu->popup(event->globalPos());
}
================================================
FILE: desktop/bar/taskbarapplicationwidget.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef TASKBARAPPLICATIONWIDGET_H
#define TASKBARAPPLICATIONWIDGET_H
#include <QPushButton>
class DesktopWmWindow;
typedef QPointer<DesktopWmWindow> DesktopWmWindowPtr;
struct TaskbarApplicationWidgetPrivate;
class TaskbarApplicationWidget : public QPushButton {
Q_OBJECT
public:
explicit TaskbarApplicationWidget(QString desktopEntry, uint desktop, QWidget* parent = nullptr);
~TaskbarApplicationWidget();
void trackWindow(DesktopWmWindowPtr window);
void removeTrackedWindow(DesktopWmWindowPtr window);
QList<DesktopWmWindowPtr> trackedWindows();
void setColor(QColor color);
signals:
void iconChanged();
void windowsRemoved();
private:
TaskbarApplicationWidgetPrivate* d;
void resizeEvent(QResizeEvent* event);
void updateIcon();
void updateActive();
// QWidget interface
protected:
void contextMenuEvent(QContextMenuEvent *event);
};
#endif // TASKBARAPPLICATIONWIDGET_H
================================================
FILE: desktop/bar/taskbardesktopwidget.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "taskbardesktopwidget.h"
#include "ui_taskbardesktopwidget.h"
#include "taskbarapplicationwidget.h"
#include <Applications/application.h>
#include <QPainter>
#include <Wm/desktopwm.h>
#include <tvariantanimation.h>
struct TaskbarDesktopWidgetPrivate {
QMap<QString, TaskbarApplicationWidget*> applicationWidgets;
QList<TaskbarApplicationWidget*> applicationWidgetOrder;
uint desktop;
QColor color;
tVariantAnimation* progressAnim;
const QRgb colors[6] = {
0x0000c8,
0x006400,
0x640000,
0xff6400,
0x0064ff,
0x6400ff};
};
TaskbarDesktopWidget::TaskbarDesktopWidget(uint desktop, QWidget* parent) :
QWidget(parent),
ui(new Ui::TaskbarDesktopWidget) {
ui->setupUi(this);
d = new TaskbarDesktopWidgetPrivate();
d->desktop = desktop;
d->color = QColor::fromRgb(d->colors[desktop % 6]);
d->progressAnim = new tVariantAnimation();
d->progressAnim->setStartValue(0.0);
d->progressAnim->setEndValue(1.0);
d->progressAnim->setDuration(250);
d->progressAnim->setEasingCurve(QEasingCurve::OutCubic);
connect(d->progressAnim, &tVariantAnimation::valueChanged, this, &TaskbarDesktopWidget::updateAnimation);
connect(d->progressAnim, &tVariantAnimation::finished, this, &TaskbarDesktopWidget::finishAnimation);
if (DesktopWm::currentDesktop() == d->desktop) d->progressAnim->setCurrentTime(d->progressAnim->duration());
finishAnimation();
connect(DesktopWm::instance(), &DesktopWm::currentDesktopChanged, this, &TaskbarDesktopWidget::updateDesktop);
connect(DesktopWm::instance(), &DesktopWm::windowAdded, this, &TaskbarDesktopWidget::windowAdded);
connect(DesktopWm::instance(), &DesktopWm::windowRemoved, this, &TaskbarDesktopWidget::windowRemoved);
for (DesktopWmWindowPtr window : DesktopWm::openWindows()) {
this->windowAdded(window);
}
QPalette pal = ui->desktopOverviewButton->palette();
pal.setColor(QPalette::Button, d->color);
ui->desktopOverviewButton->setPalette(pal);
ui->desktopOverviewButton->setIconSize(SC_DPI_T(QSize(32, 32), QSize));
updateOverviewButtonIcon();
}
TaskbarDesktopWidget::~TaskbarDesktopWidget() {
delete d;
delete ui;
}
void TaskbarDesktopWidget::moveDesktop(uint newDesktop) {
d->desktop = newDesktop;
QList<DesktopWmWindowPtr> windowsToMove;
for (TaskbarApplicationWidget* widget : d->applicationWidgetOrder) {
windowsToMove.append(widget->trackedWindows());
}
for (DesktopWmWindowPtr window : windowsToMove) {
window->moveToDesktop(newDesktop);
}
}
void TaskbarDesktopWidget::windowAdded(DesktopWmWindowPtr window) {
connect(window, &DesktopWmWindow::desktopChanged, this, [this, window] {
if (window->isOnDesktop(d->desktop) && window->shouldShowInTaskbar()) {
registerOnDesktop(window);
} else {
deregisterFromDesktop(window);
}
});
if (window->isOnDesktop(d->desktop) && window->shouldShowInTaskbar()) registerOnDesktop(window);
}
void TaskbarDesktopWidget::windowRemoved(DesktopWmWindowPtr window) {
deregisterFromDesktop(window);
}
void TaskbarDesktopWidget::registerOnDesktop(DesktopWmWindowPtr window) {
QString desktopEntry = QString::number(window->pid());
if (window->application()) desktopEntry = window->application()->desktopEntry();
TaskbarApplicationWidget* widget;
if (d->applicationWidgets.contains(desktopEntry)) {
widget = d->applicationWidgets.value(desktopEntry);
} else {
widget = new TaskbarApplicationWidget(desktopEntry, d->desktop, this);
widget->setColor(d->color);
connect(widget, &TaskbarApplicationWidget::iconChanged, this, &TaskbarDesktopWidget::updateOverviewButtonIcon);
connect(widget, &TaskbarApplicationWidget::windowsRemoved, this, [=] {
d->applicationWidgets.remove(desktopEntry);
d->applicationWidgetOrder.removeOne(widget);
ui->applicationsLayout->removeWidget(widget);
widget->deleteLater();
updateOverviewButtonIcon();
});
ui->applicationsLayout->addWidget(widget);
d->applicationWidgets.insert(desktopEntry, widget);
d->applicationWidgetOrder.append(widget);
}
widget->trackWindow(window);
updateOverviewButtonIcon();
}
void TaskbarDesktopWidget::deregisterFromDesktop(DesktopWmWindowPtr window) {
QString desktopEntry = QString::number(window->pid());
if (window->application()) desktopEntry = window->application()->desktopEntry();
if (d->applicationWidgets.contains(desktopEntry)) {
TaskbarApplicationWidget* widget = d->applicationWidgets.value(desktopEntry);
widget->removeTrackedWindow(window);
}
}
void TaskbarDesktopWidget::updateOverviewButtonIcon() {
QPixmap pixmap(SC_DPI_T(QSize(32, 32), QSize));
pixmap.fill(Qt::transparent);
QPainter painter(&pixmap);
for (int i = 0; i < 4; i++) {
if (d->applicationWidgetOrder.count() <= i) continue;
QRect boxGeometry;
boxGeometry.setSize(SC_DPI_T(QSize(16, 16), QSize));
boxGeometry.moveTopLeft(QPoint(SC_DPI(16) * (i % 2), SC_DPI(16) * (i / 2)));
QRect geometry;
geometry.setSize(SC_DPI_T(QSize(14, 14), QSize));
geometry.moveCenter(boxGeometry.center());
if (i == 3 && d->applicationWidgetOrder.count() > 4) {
QFont font = this->font();
font.setPixelSize(geometry.height());
painter.setFont(font);
painter.setPen(this->palette().color(QPalette::ButtonText));
painter.drawText(geometry, Qt::AlignCenter, QStringLiteral("%1%2").arg(QLocale().positiveSign()).arg(d->applicationWidgetOrder.count() - 3));
} else {
QPixmap icon(d->applicationWidgetOrder.at(i)->icon().pixmap(geometry.size()));
painter.drawPixmap(geometry, icon);
}
}
ui->desktopOverviewButton->setIcon(QIcon(pixmap));
}
void TaskbarDesktopWidget::updateDesktop() {
if (DesktopWm::currentDesktop() == d->desktop && d->progressAnim->currentValue().toReal() < 0.5) {
d->progressAnim->setDirection(tVariantAnimation::Forward);
d->progressAnim->start();
} else if (DesktopWm::currentDesktop() != d->desktop && d->progressAnim->currentValue().toReal() > 0.5) {
d->progressAnim->setDirection(tVariantAnimation::Backward);
d->progressAnim->start();
}
}
void TaskbarDesktopWidget::updateAnimation() {
ui->applicationsWidget->setFixedWidth(ui->applicationsWidget->sizeHint().width() * d->progressAnim->currentValue().toReal());
ui->desktopOverviewButton->setFixedWidth(this->height() * (1 - d->progressAnim->currentValue().toReal()));
}
void TaskbarDesktopWidget::finishAnimation() {
if (d->progressAnim->currentValue().toReal() > 0.5) {
ui->applicationsWidget->setFixedWidth(QWIDGETSIZE_MAX);
ui->desktopOverviewButton->setFixedWidth(0);
} else {
ui->applicationsWidget->setFixedWidth(0);
ui->desktopOverviewButton->setFixedWidth(this->height());
}
}
void TaskbarDesktopWidget::on_desktopOverviewButton_clicked() {
DesktopWm::setCurrentDesktop(d->desktop);
}
void TaskbarDesktopWidget::resizeEvent(QResizeEvent* event) {
if (d->progressAnim->state() == tVariantAnimation::Running) {
updateAnimation();
} else {
finishAnimation();
}
}
================================================
FILE: desktop/bar/taskbardesktopwidget.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef TASKBARDESKTOPWIDGET_H
#define TASKBARDESKTOPWIDGET_H
#include <QWidget>
namespace Ui {
class TaskbarDesktopWidget;
}
class DesktopWmWindow;
typedef QPointer<DesktopWmWindow> DesktopWmWindowPtr;
struct TaskbarDesktopWidgetPrivate;
class TaskbarDesktopWidget : public QWidget {
Q_OBJECT
public:
explicit TaskbarDesktopWidget(uint desktop, QWidget* parent = nullptr);
~TaskbarDesktopWidget();
void moveDesktop(uint newDesktop);
private slots:
void on_desktopOverviewButton_clicked();
private:
Ui::TaskbarDesktopWidget* ui;
TaskbarDesktopWidgetPrivate* d;
void resizeEvent(QResizeEvent* event);
void windowAdded(DesktopWmWindowPtr window);
void windowRemoved(DesktopWmWindowPtr window);
void registerOnDesktop(DesktopWmWindowPtr window);
void deregisterFromDesktop(DesktopWmWindowPtr window);
void updateOverviewButtonIcon();
void updateDesktop();
void updateAnimation();
void finishAnimation();
};
#endif // TASKBARDESKTOPWIDGET_H
================================================
FILE: desktop/bar/taskbardesktopwidget.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TaskbarDesktopWidget</class>
<widget class="QWidget" name="TaskbarDesktopWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>255</width>
<height>48</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QHBoxLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="desktopOverviewButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="applicationsWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="applicationsLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/bar/taskbarwidget.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "taskbarwidget.h"
#include "ui_taskbarwidget.h"
#include "taskbardesktopwidget.h"
#include <Applications/application.h>
#include <Gestures/gesturedaemon.h>
#include <QPushButton>
#include <QTimer>
#include <Wm/desktopwm.h>
#include <libcontemporary_global.h>
struct TaskbarWidgetPrivate {
QList<TaskbarDesktopWidget*> desktopWidgets;
};
TaskbarWidget::TaskbarWidget(QWidget* parent) :
QWidget(parent),
ui(new Ui::TaskbarWidget) {
ui->setupUi(this);
d = new TaskbarWidgetPrivate();
// connect(DesktopWm::instance(), &DesktopWm::windowAdded, this, &TaskbarWidget::addWindow);
// connect(DesktopWm::instance(), &DesktopWm::windowRemoved, this, &TaskbarWidget::removeWindow);
// connect(DesktopWm::instance(), &DesktopWm::activeWindowChanged, this, &TaskbarWidget::activeWindowChanged);
// for (DesktopWmWindowPtr window : DesktopWm::openWindows()) {
// this->addWindow(window);
// }
connect(DesktopWm::instance(), &DesktopWm::currentDesktopChanged, this, &TaskbarWidget::updateDesktop);
connect(DesktopWm::instance(), &DesktopWm::desktopCountChanged, this, &TaskbarWidget::updateDesktop);
connect(DesktopWm::instance(), &DesktopWm::currentDesktopChanged, this, &TaskbarWidget::normaliseDesktops);
connect(DesktopWm::instance(), &DesktopWm::desktopCountChanged, this, &TaskbarWidget::normaliseDesktops);
connect(DesktopWm::instance(), &DesktopWm::windowAdded, this, &TaskbarWidget::addWindow);
connect(DesktopWm::instance(), &DesktopWm::windowRemoved, this, &TaskbarWidget::removeWindow);
// TODO: Move to window manager
connect(GestureDaemon::instance(), &GestureDaemon::gestureBegin, this, [=](GestureInteractionPtr gesture) {
if (gesture->isValidInteraction(GestureTypes::Swipe, GestureTypes::Left, 4)) {
connect(gesture.data(), &GestureInteraction::interactionEnded, this, [=] {
if (gesture->extrapolatePercentage(100) > 0.7 && DesktopWm::currentDesktop() != DesktopWm::desktops().length() - 1) {
DesktopWm::setCurrentDesktop(DesktopWm::currentDesktop() + 1);
}
});
} else if (gesture->isValidInteraction(GestureTypes::Swipe, GestureTypes::Right, 4)) {
connect(gesture.data(), &GestureInteraction::interactionEnded, this, [=] {
if (gesture->extrapolatePercentage(100) > 0.7 && DesktopWm::currentDesktop() != 0) {
DesktopWm::setCurrentDesktop(DesktopWm::currentDesktop() - 1);
}
});
}
});
ui->lastDesktopButton->setIconSize(SC_DPI_T(QSize(24, 24), QSize));
ui->lastDesktopButton->setVisible(DesktopWm::supportsSetNumDesktops());
normaliseDesktops();
updateDesktop();
}
TaskbarWidget::~TaskbarWidget() {
delete d;
delete ui;
d = nullptr;
}
void TaskbarWidget::addWindow(DesktopWmWindowPtr window) {
connect(window, &DesktopWmWindow::desktopChanged, this, &TaskbarWidget::normaliseDesktops);
// Race condition?
QTimer::singleShot(500, this, [=] {
normaliseDesktops();
});
}
void TaskbarWidget::removeWindow(DesktopWmWindowPtr window) {
// Race condition?
QTimer::singleShot(500, this, [=] {
normaliseDesktops();
});
}
void TaskbarWidget::activeWindowChanged() {
}
void TaskbarWidget::normaliseDesktops() {
// Ensure there is a taskbar desktop widget for every desktop - 1
for (int i = 0; i < DesktopWm::desktops().count() - 1; i++) {
if (d->desktopWidgets.count() == i) {
// Add another widget
TaskbarDesktopWidget* widget = new TaskbarDesktopWidget(i);
ui->desktopsLayout->addWidget(widget);
d->desktopWidgets.append(widget);
}
}
// Remove any extraenous desktop widgets
while (d->desktopWidgets.count() > DesktopWm::desktops().count() - 1) {
TaskbarDesktopWidget* widget = d->desktopWidgets.takeLast();
ui->desktopsLayout->removeWidget(widget);
widget->deleteLater();
}
// Go through each desktop to find any that need to be removed
for (int i = 0; i < DesktopWm::desktops().count() - 1; i++) {
if (DesktopWm::currentDesktop() == static_cast<uint>(i)) continue;
bool haveWindows = false;
for (auto window : DesktopWm::windowsOnDesktop(i)) {
if (window->desktop() != UINT_MAX) haveWindows = true;
}
if (haveWindows) continue;
// This desktop needs to be removed
// Shuffle all of the windows from the desktops in front down
for (int j = i + 1; j < DesktopWm::desktops().count() - 1; j++) {
d->desktopWidgets.at(j)->moveDesktop(j - 1);
}
// Remove the last desktop
DesktopWm::setNumDesktops(DesktopWm::desktops().count() - 1);
// Normalise and check again
normaliseDesktops();
return;
}
// Ensure that there is an empty desktop at the end
bool haveWindows = false;
for (auto window : DesktopWm::windowsOnDesktop(DesktopWm::desktops().count() - 1)) {
if (window->desktop() != UINT_MAX) haveWindows = true;
}
if (haveWindows) {
// Add an extra desktop
DesktopWm::setNumDesktops(DesktopWm::desktops().count() + 1);
// Normalise and check again
normaliseDesktops();
return;
}
}
void TaskbarWidget::updateDesktop() {
// Race condition?
QTimer::singleShot(500, this, [=] {
ui->lastDesktopButton->setChecked(DesktopWm::currentDesktop() == DesktopWm::desktops().count() - 1);
});
}
void TaskbarWidget::on_lastDesktopButton_clicked() {
DesktopWm::setCurrentDesktop(DesktopWm::desktops().count() - 1);
}
void TaskbarWidget::resizeEvent(QResizeEvent* event) {
ui->lastDesktopButton->setFixedWidth(this->height());
}
================================================
FILE: desktop/bar/taskbarwidget.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef TASKBARWIDGET_H
#define TASKBARWIDGET_H
#include <QWidget>
namespace Ui {
class TaskbarWidget;
}
class DesktopWmWindow;
typedef QPointer<DesktopWmWindow> DesktopWmWindowPtr;
struct TaskbarWidgetPrivate;
class TaskbarWidget : public QWidget {
Q_OBJECT
public:
explicit TaskbarWidget(QWidget* parent = nullptr);
~TaskbarWidget();
private slots:
void on_lastDesktopButton_clicked();
private:
Ui::TaskbarWidget* ui;
TaskbarWidgetPrivate* d;
void resizeEvent(QResizeEvent* event);
void addWindow(DesktopWmWindowPtr window);
void removeWindow(DesktopWmWindowPtr window);
void activeWindowChanged();
void normaliseDesktops();
void updateDesktop();
};
#endif // TASKBARWIDGET_H
================================================
FILE: desktop/bar/taskbarwidget.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TaskbarWidget</class>
<widget class="QWidget" name="TaskbarWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>23</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="desktopsLayout">
<property name="spacing">
<number>0</number>
</property>
</layout>
</item>
<item>
<widget class="QToolButton" name="lastDesktopButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="icon">
<iconset theme="list-add"/>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>395</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
================================================
FILE: desktop/cli/commandline.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "commandline.h"
#include <QCommandLineParser>
#include <QTextStream>
#include "plugins/pluginmanager.h"
#include "server/sessionserver.h"
CommandLine::CommandLine(QObject* parent) : QObject(parent) {
}
#include <QDebug>
int CommandLine::parse(QStringList args) {
QTextStream stream(stdout);
QCommandLineParser parser;
QCommandLineOption safeOption("safe", tr("Start theDesk in Safe Mode"));
parser.addOption(safeOption);
QCommandLineOption serverOption("sessionserver", tr("Internal use; the path to a local socket to communicate with the session manager"), tr("path"));
parser.addOption(serverOption);
QCommandLineOption helpOption = parser.addHelpOption();
QCommandLineOption versionOption = parser.addVersionOption();
if (!parser.parse(args)) {
stream << parser.errorText() << "\n";
return 1;
}
if (parser.isSet(helpOption)) {
stream << parser.helpText();
return 0;
}
if (parser.isSet(versionOption)) {
parser.showVersion();
}
if (parser.isSet(safeOption)) {
PluginManager::instance()->setSafeMode(true);
}
if (!parser.value(serverOption).isEmpty()) {
//Connect to the session server
SessionServer::instance()->setServerPath(parser.value(serverOption));
}
return -1;
}
================================================
FILE: desktop/cli/commandline.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef COMMANDLINE_H
#define COMMANDLINE_H
#include <QObject>
class CommandLine : public QObject {
Q_OBJECT
public:
explicit CommandLine(QObject* parent = nullptr);
static int parse(QStringList args);
signals:
};
#endif // COMMANDLINE_H
================================================
FILE: desktop/common/common.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "common.h"
int Common::getInsertionIndex(QStringList preferredOrder, QStringList currentItems, QString item) {
//First, check to see if there is a preferred order for this item
if (!preferredOrder.contains(item)) {
//No preferred order so just add it at the end
return -1;
}
//Find where this item is supposed to go
int beforeIndex = preferredOrder.indexOf(item) - 1;
if (beforeIndex == -1) {
//Add this item at the beginning
return 0;
}
//Iterate over the currently loaded items and insert the item at the correct place
QStringList itemsBefore = preferredOrder.mid(0, beforeIndex + 1);
for (int i = currentItems.count() - 1; i >= 0; i--) {
if (itemsBefore.contains(currentItems.at(i))) {
return i + 1;
}
}
//None of the other items were found so just add it at the beginning
return 0;
}
================================================
FILE: desktop/common/common.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef COMMON_H
#define COMMON_H
#include <QStringList>
namespace Common {
/**
* Given a list of items, find the correct index to insert this item into
*
* @param preferredOrder The preferred order of items
* @param currentItems The items that are currently in the layout
* @param item The name of the current item
* @return An index, or -1 to add to the end of the layout
*/
int getInsertionIndex(QStringList preferredOrder, QStringList currentItems, QString item);
}
#endif // COMMON_H
================================================
FILE: desktop/crash/crashhandling.cpp
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#include "crashhandling.h"
#include <tapplication.h>
#include <QTextStream>
#include <signal.h>
#include <string.h>
#include "plugins/pluginmanager.h"
namespace CrashHandling {
void catchSignal(int sig);
}
void CrashHandling::prepareCrashHandler() {
signal(SIGSEGV, CrashHandling::catchSignal);
signal(SIGBUS, CrashHandling::catchSignal);
signal(SIGFPE, CrashHandling::catchSignal);
}
void CrashHandling::catchSignal(int sig) {
const QMap<int, QString> signalNames = {
{SIGSEGV, "SIGSEGV"},
{SIGBUS, "SIGBUS"},
{SIGFPE, "SIGFPE"}
};
QTextStream output(stderr);
output << "----- BEGIN CRASH HANDLER -----\n";
output << "THEDESK-TRAP: Fatal Signal: " << signalNames.value(sig) << "\n";
output << "THEDESK-TRAP: \n";
output << "THEDESK-TRAP: --- LOADED PLUGINS ---\n";
for (QUuid plugin : PluginManager::instance()->loadedPlugins()) {
output << "THEDESK-TRAP: " << plugin.toString() << "\n";
}
output << "THEDESK-TRAP: \n";
output << "THEDESK-TRAP: --- BACKTRACE ---\n";
QStringList backtrace = tApplication::exportBacktrace();
for (QString line : backtrace) {
output << "THEDESK-TRAP: " << line << "\n";
}
output.flush();
signal(sig, SIG_DFL);
raise(sig);
}
================================================
FILE: desktop/crash/crashhandling.h
================================================
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2021 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef CRASHHANDLING_H
#define CRASHHANDLING_H
namespace CrashHandling {
void prepareCrashHandler();
}
#endif // CRASHHANDLING_H
================================================
FILE: desktop/desktop.pro
================================================
QT += core gui tdesktopenvironment network multimedia multimediawidgets quickwidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = thedesk
CONFIG += c++11
# Include the-libs build tools
include(/usr/share/the-libs/pri/gentranslations.pri)
QMAKE_POST_LINK += $$QMAKE_COPY_DIR $$quote($$PWD/translations) $$shell_quote($$OUT_PWD) && \
$$QMAKE_COPY $$quote($$PWD/defaults.conf) $$shell_quote($$OUT_PWD)
# The foll
gitextract_ocparz4t/
├── .gitignore
├── .parlance.json
├── CMakeLists.txt
├── LICENSE
├── README.md
├── desktop/
│ ├── CMakeLists.txt
│ ├── acknowledgements.html
│ ├── background/
│ │ ├── background.cpp
│ │ ├── background.h
│ │ └── background.ui
│ ├── bar/
│ │ ├── barwindow.cpp
│ │ ├── barwindow.h
│ │ ├── barwindow.ui
│ │ ├── chunkcontainer.cpp
│ │ ├── chunkcontainer.h
│ │ ├── chunkcontainer.ui
│ │ ├── currentappwidget.cpp
│ │ ├── currentappwidget.h
│ │ ├── currentappwidget.ui
│ │ ├── currentappwidgetmenu.cpp
│ │ ├── currentappwidgetmenu.h
│ │ ├── currentappwidgetmenu.ui
│ │ ├── mainbarwidget.cpp
│ │ ├── mainbarwidget.h
│ │ ├── mainbarwidget.ui
│ │ ├── taskbarapplicationwidget.cpp
│ │ ├── taskbarapplicationwidget.h
│ │ ├── taskbardesktopwidget.cpp
│ │ ├── taskbardesktopwidget.h
│ │ ├── taskbardesktopwidget.ui
│ │ ├── taskbarwidget.cpp
│ │ ├── taskbarwidget.h
│ │ └── taskbarwidget.ui
│ ├── cli/
│ │ ├── commandline.cpp
│ │ └── commandline.h
│ ├── common/
│ │ ├── common.cpp
│ │ └── common.h
│ ├── crash/
│ │ ├── crashhandling.cpp
│ │ └── crashhandling.h
│ ├── desktop.pro
│ ├── gateway/
│ │ ├── appsearchprovider.cpp
│ │ ├── appsearchprovider.h
│ │ ├── appselectionmodel.cpp
│ │ ├── appselectionmodel.h
│ │ ├── appselectionmodellistdelegate.cpp
│ │ ├── appselectionmodellistdelegate.h
│ │ ├── gateway.cpp
│ │ ├── gateway.h
│ │ ├── gateway.ui
│ │ ├── gatewaysearchmodel.cpp
│ │ ├── gatewaysearchmodel.h
│ │ ├── gatewaysearchmodeldelegate.cpp
│ │ ├── gatewaysearchmodeldelegate.h
│ │ ├── maingatewaywidget.cpp
│ │ ├── maingatewaywidget.h
│ │ ├── maingatewaywidget.ui
│ │ ├── searchresultswidget.cpp
│ │ ├── searchresultswidget.h
│ │ └── searchresultswidget.ui
│ ├── main.cpp
│ ├── media/
│ │ ├── intro.ogg
│ │ ├── loop.ogg
│ │ ├── welcome1.webm
│ │ ├── welcome2.webm
│ │ └── welcome3.webm
│ ├── resources.qrc
│ ├── run/
│ │ ├── rundialog.cpp
│ │ ├── rundialog.h
│ │ └── rundialog.ui
│ ├── session/
│ │ ├── endsession.cpp
│ │ ├── endsession.h
│ │ ├── endsession.ui
│ │ ├── endsessionbutton.cpp
│ │ └── endsessionbutton.h
│ ├── statuscenter/
│ │ ├── leftpanedelegate.cpp
│ │ ├── leftpanedelegate.h
│ │ ├── statuscenter.cpp
│ │ ├── statuscenter.h
│ │ ├── statuscenter.ui
│ │ ├── statuscenterleftpane.cpp
│ │ ├── statuscenterleftpane.h
│ │ ├── statuscenterleftpane.ui
│ │ ├── statuscenterquickswitch.cpp
│ │ ├── statuscenterquickswitch.h
│ │ └── statuscenterquickswitch.ui
│ ├── systemsettings/
│ │ ├── about/
│ │ │ ├── about.cpp
│ │ │ ├── about.h
│ │ │ ├── about.ui
│ │ │ ├── acknowledgements.cpp
│ │ │ ├── acknowledgements.h
│ │ │ ├── acknowledgements.ui
│ │ │ ├── changehostnamepopover.cpp
│ │ │ ├── changehostnamepopover.h
│ │ │ └── changehostnamepopover.ui
│ │ ├── pluginmanagement/
│ │ │ ├── managepluginpopover.cpp
│ │ │ ├── managepluginpopover.h
│ │ │ ├── managepluginpopover.ui
│ │ │ ├── pluginitemdelegate.cpp
│ │ │ ├── pluginitemdelegate.h
│ │ │ ├── pluginmanagement.cpp
│ │ │ ├── pluginmanagement.h
│ │ │ ├── pluginmanagement.ui
│ │ │ ├── pluginmodel.cpp
│ │ │ └── pluginmodel.h
│ │ ├── recovery/
│ │ │ ├── recovery.cpp
│ │ │ ├── recovery.h
│ │ │ └── recovery.ui
│ │ ├── systemsettings.cpp
│ │ ├── systemsettings.h
│ │ ├── systemsettings.ui
│ │ ├── systemsettingsleftpane.cpp
│ │ ├── systemsettingsleftpane.h
│ │ └── systemsettingsleftpane.ui
│ ├── thedesk.conf
│ └── translations/
│ ├── ar_SA.ts
│ ├── au_AU.qm
│ ├── au_AU.ts
│ ├── cy.qm
│ ├── cy.ts
│ ├── da.qm
│ ├── da.ts
│ ├── de.qm
│ ├── de.ts
│ ├── en_AU.qm
│ ├── en_AU.ts
│ ├── en_CA.qm
│ ├── en_CA.ts
│ ├── en_GB.qm
│ ├── en_GB.ts
│ ├── en_NZ.qm
│ ├── en_NZ.ts
│ ├── en_US.qm
│ ├── en_US.ts
│ ├── es.ts
│ ├── es_VE.ts
│ ├── fr_FR.qm
│ ├── fr_FR.ts
│ ├── id_ID.qm
│ ├── id_ID.ts
│ ├── ja.qm
│ ├── ja.ts
│ ├── nl.qm
│ ├── nl.ts
│ ├── pl_PL.qm
│ ├── pl_PL.ts
│ ├── pt_BR.qm
│ ├── pt_BR.ts
│ ├── ro_RO.qm
│ ├── ro_RO.ts
│ ├── sv.qm
│ ├── sv.ts
│ ├── tr_TR.qm
│ ├── tr_TR.ts
│ ├── vi_VN.qm
│ ├── vi_VN.ts
│ ├── zh_CN.qm
│ └── zh_CN.ts
├── desktop-portal/
│ ├── CMakeLists.txt
│ ├── backend/
│ │ ├── abstractportalbackend.cpp
│ │ ├── abstractportalbackend.h
│ │ ├── private/
│ │ │ ├── waylandportalscreencopyframe.cpp
│ │ │ └── waylandportalscreencopyframe.h
│ │ ├── waylandportalbackend.cpp
│ │ ├── waylandportalbackend.h
│ │ ├── wlr-screencopy-unstable-v1.xml
│ │ ├── x11portalbackend.cpp
│ │ └── x11portalbackend.h
│ ├── desktop-portal.pro
│ ├── dialogs/
│ │ ├── accessdialog.cpp
│ │ ├── accessdialog.h
│ │ ├── accessdialog.ui
│ │ ├── accountdialog.cpp
│ │ ├── accountdialog.h
│ │ ├── accountdialog.ui
│ │ ├── filedialog.cpp
│ │ ├── filedialog.h
│ │ ├── filedialog.ui
│ │ ├── penbutton.cpp
│ │ ├── penbutton.h
│ │ ├── screenshotwindow.cpp
│ │ ├── screenshotwindow.h
│ │ └── screenshotwindow.ui
│ ├── interfaces/
│ │ ├── accessinterface.cpp
│ │ ├── accessinterface.h
│ │ ├── accountinterface.cpp
│ │ ├── accountinterface.h
│ │ ├── filechooserinterface.cpp
│ │ ├── filechooserinterface.h
│ │ ├── notificationinterface.cpp
│ │ ├── notificationinterface.h
│ │ ├── screenshotinterface.cpp
│ │ ├── screenshotinterface.h
│ │ ├── settingsinterface.cpp
│ │ └── settingsinterface.h
│ ├── main.cpp
│ ├── org.freedesktop.impl.portal.desktop.thedesk.service.in
│ ├── portalcommon.cpp
│ ├── portalcommon.h
│ ├── portalhandle.cpp
│ ├── portalhandle.h
│ ├── screenshot_resources.qrc
│ ├── screenshotmanager.cpp
│ ├── screenshotmanager.h
│ ├── thedesk-portals.conf
│ ├── thedesk.portal
│ ├── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── vi.qm
│ │ └── vi.ts
│ └── xdg-desktop-portal-thedesk.service.in
├── dist/
│ ├── thedesk-blueprint.spec
│ └── thedesk.spec
├── libthedesk/
│ ├── CMakeLists.txt
│ ├── actionquickwidget.cpp
│ ├── actionquickwidget.h
│ ├── actionquickwidget.ui
│ ├── barmanager.cpp
│ ├── barmanager.h
│ ├── chunk.cpp
│ ├── chunk.h
│ ├── common.cpp
│ ├── common.h
│ ├── gatewaymanager.cpp
│ ├── gatewaymanager.h
│ ├── gatewaysearchprovider.cpp
│ ├── gatewaysearchprovider.h
│ ├── hudmanager.cpp
│ ├── hudmanager.h
│ ├── icontextchunk.cpp
│ ├── icontextchunk.h
│ ├── icontextchunk.ui
│ ├── keygrab.cpp
│ ├── keygrab.h
│ ├── libthedesk.pro
│ ├── libthedeskConfig.cmake.in
│ ├── libthedesk_global.h
│ ├── libthedesk_resources.qrc
│ ├── localemanager.cpp
│ ├── localemanager.h
│ ├── onboarding/
│ │ ├── OnboardingVideoForm.qml
│ │ ├── onboarding.cpp
│ │ ├── onboarding.h
│ │ ├── onboarding.ui
│ │ ├── onboardingbar.cpp
│ │ ├── onboardingbar.h
│ │ ├── onboardingbar.ui
│ │ ├── onboardingbetathankyou.cpp
│ │ ├── onboardingbetathankyou.h
│ │ ├── onboardingbetathankyou.ui
│ │ ├── onboardingcontroller.cpp
│ │ ├── onboardingcontroller.h
│ │ ├── onboardingfinal.cpp
│ │ ├── onboardingfinal.h
│ │ ├── onboardingfinal.ui
│ │ ├── onboardingstepper.cpp
│ │ ├── onboardingstepper.h
│ │ ├── onboardingvideo.cpp
│ │ ├── onboardingvideo.h
│ │ ├── onboardingvideo.ui
│ │ ├── onboardingwelcome.cpp
│ │ ├── onboardingwelcome.h
│ │ └── onboardingwelcome.ui
│ ├── onboardingmanager.cpp
│ ├── onboardingmanager.h
│ ├── onboardingpage.cpp
│ ├── onboardingpage.h
│ ├── plugins/
│ │ ├── plugininterface.h
│ │ ├── pluginmanager.cpp
│ │ └── pluginmanager.h
│ ├── powermanager.cpp
│ ├── powermanager.h
│ ├── private/
│ │ ├── keyboardlayoutmodel.cpp
│ │ ├── keyboardlayoutmodel.h
│ │ ├── keyboardlayoutselector.cpp
│ │ ├── keyboardlayoutselector.h
│ │ ├── keyboardlayoutselector.ui
│ │ ├── localeselector.cpp
│ │ ├── localeselector.h
│ │ ├── localeselector.ui
│ │ ├── onboardingmanager_p.h
│ │ ├── quickwidgetcontainer.cpp
│ │ ├── quickwidgetcontainer.h
│ │ └── quickwidgetcontainer.ui
│ ├── quickswitch.cpp
│ ├── quickswitch.h
│ ├── quietmodemanager.cpp
│ ├── quietmodemanager.h
│ ├── server/
│ │ ├── sessionserver.cpp
│ │ └── sessionserver.h
│ ├── statemanager.cpp
│ ├── statemanager.h
│ ├── statuscentermanager.cpp
│ ├── statuscentermanager.h
│ ├── statuscenterpane.cpp
│ ├── statuscenterpane.h
│ ├── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cs_CZ.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pl_PL.qm
│ │ ├── pl_PL.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sl_SI.qm
│ │ ├── sl_SI.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── transparentdialog.cpp
│ ├── transparentdialog.h
│ └── transparentdialog.ui
├── locker/
│ ├── CMakeLists.txt
│ ├── locker-checker/
│ │ ├── CMakeLists.txt
│ │ └── main.cpp
│ ├── locker-common/
│ │ ├── CMakeLists.txt
│ │ ├── lockergrabs.cpp
│ │ └── lockergrabs.h
│ └── locker-ui/
│ ├── CMakeLists.txt
│ ├── lockmanager.cpp
│ ├── lockmanager.h
│ ├── main.cpp
│ ├── mainwindow.cpp
│ ├── mainwindow.h
│ ├── mainwindow.ui
│ ├── translations/
│ │ └── en_US.ts
│ ├── underlineanimation.cpp
│ └── underlineanimation.h
├── platform/
│ ├── CMakeLists.txt
│ ├── cursorhandler.cpp
│ ├── cursorhandler.h
│ ├── fontformat.cpp
│ ├── fontformat.h
│ ├── iconloaderengine.cpp
│ ├── iconloaderengine.h
│ ├── messagedialog/
│ │ ├── messagedialog.cpp
│ │ ├── messagedialog.h
│ │ ├── messagedialog.ui
│ │ ├── messagedialogcontroller.cpp
│ │ ├── messagedialogcontroller.h
│ │ ├── messagedialoghelper.cpp
│ │ └── messagedialoghelper.h
│ ├── paletteformat.cpp
│ ├── paletteformat.h
│ ├── palettes.json
│ ├── platform.pro
│ ├── platformtheme.cpp
│ ├── platformtheme.h
│ ├── plugin.cpp
│ ├── plugin.h
│ ├── plugin.json
│ ├── psAMLQ.json
│ ├── thedesk-platform-resources.qrc
│ ├── thedesk-platform.conf
│ └── translations/
│ ├── ar_SA.ts
│ ├── au_AU.qm
│ ├── au_AU.ts
│ ├── cy.qm
│ ├── cy.ts
│ ├── da.qm
│ ├── da.ts
│ ├── de.qm
│ ├── de.ts
│ ├── en_GB.qm
│ ├── en_GB.ts
│ ├── en_US.qm
│ ├── en_US.ts
│ ├── es.ts
│ ├── es_VE.ts
│ ├── id.ts
│ ├── nl.qm
│ ├── nl.ts
│ ├── pt_BR.qm
│ ├── pt_BR.ts
│ ├── ro_RO.qm
│ ├── ro_RO.ts
│ ├── sv.qm
│ ├── sv.ts
│ ├── tr_TR.qm
│ ├── tr_TR.ts
│ ├── vi.qm
│ ├── vi.ts
│ └── vi_VN.ts
├── plugins/
│ ├── AccessibilityPlugin/
│ │ ├── AccessibilityPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── accessibilitydaemon.cpp
│ │ ├── accessibilitydaemon.h
│ │ ├── chunks/
│ │ │ ├── stickykeyschunk.cpp
│ │ │ └── stickykeyschunk.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── accessibilitysettingspane.cpp
│ │ │ ├── accessibilitysettingspane.h
│ │ │ └── accessibilitysettingspane.ui
│ │ ├── thedesk-accessibility.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── ja.qm
│ │ ├── ja.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── AudioPlugin/
│ │ ├── AudioPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── audiochunk.cpp
│ │ ├── audiochunk.h
│ │ ├── audioquickwidget.cpp
│ │ ├── audioquickwidget.h
│ │ ├── audioquickwidget.ui
│ │ ├── common.cpp
│ │ ├── common.h
│ │ ├── eventhandler.cpp
│ │ ├── eventhandler.h
│ │ ├── micchunk.cpp
│ │ ├── micchunk.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── quickwidgetsink.cpp
│ │ ├── quickwidgetsink.h
│ │ ├── quickwidgetsink.ui
│ │ ├── quickwidgetsinkinput.cpp
│ │ ├── quickwidgetsinkinput.h
│ │ ├── quickwidgetsinkinput.ui
│ │ ├── thedesk-audio.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── ja.qm
│ │ ├── ja.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── BluetoothPlugin/
│ │ ├── BluetoothPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── bluetoothplugincommon.cpp
│ │ ├── bluetoothplugincommon.h
│ │ ├── btagent.cpp
│ │ ├── btagent.h
│ │ ├── btobex.cpp
│ │ ├── btobex.h
│ │ ├── chunk/
│ │ │ ├── bluetoothchunk.cpp
│ │ │ └── bluetoothchunk.h
│ │ ├── defaults.json
│ │ ├── devicedelegate.cpp
│ │ ├── devicedelegate.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── bluetoothsettingspane.cpp
│ │ │ ├── bluetoothsettingspane.h
│ │ │ ├── bluetoothsettingspane.ui
│ │ │ ├── devicepopover.cpp
│ │ │ ├── devicepopover.h
│ │ │ ├── devicepopover.ui
│ │ │ ├── pairpopover.cpp
│ │ │ ├── pairpopover.h
│ │ │ └── pairpopover.ui
│ │ ├── thedesk-bluetooth.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── BrightnessPlugin/
│ │ ├── BrightnessPlugin.pro
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── screenbrightnesschunk.cpp
│ │ ├── screenbrightnesschunk.h
│ │ ├── screenbrightnesschunk.ui
│ │ ├── thedesk-brightness.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pl_PL.qm
│ │ ├── pl_PL.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sk_SK.qm
│ │ ├── sk_SK.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zh_SG.qm
│ │ ├── zh_SG.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── CMakeLists.txt
│ ├── DefaultsPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── DefaultsPlugin.pro
│ │ ├── Plugin.json
│ │ ├── defaultspane.cpp
│ │ ├── defaultspane.h
│ │ ├── defaultspane.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── thedesk-defaults.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── DisplayPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── DisplayPlugin.pro
│ │ ├── Plugin.json
│ │ ├── arrange/
│ │ │ ├── arrangecontroller.cpp
│ │ │ ├── arrangecontroller.h
│ │ │ ├── arrangewidget.cpp
│ │ │ ├── arrangewidget.h
│ │ │ ├── arrangewidget.ui
│ │ │ ├── overlaywindow.cpp
│ │ │ ├── overlaywindow.h
│ │ │ ├── overlaywindow.ui
│ │ │ ├── screenarranger.cpp
│ │ │ └── screenarranger.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── redshift/
│ │ │ ├── colorramp.cpp
│ │ │ ├── colorramp.h
│ │ │ ├── redshiftdaemon.cpp
│ │ │ └── redshiftdaemon.h
│ │ ├── settings/
│ │ │ ├── displaysettings.cpp
│ │ │ ├── displaysettings.h
│ │ │ └── displaysettings.ui
│ │ ├── thedesk-display.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── InputPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── InputPlugin.pro
│ │ ├── Plugin.json
│ │ ├── backends/
│ │ │ ├── settingsbackend.cpp
│ │ │ ├── settingsbackend.h
│ │ │ ├── xinputbackend.cpp
│ │ │ └── xinputbackend.h
│ │ ├── chunks/
│ │ │ ├── keyboardlayoutchunk.cpp
│ │ │ ├── keyboardlayoutchunk.h
│ │ │ └── keyboardlayoutchunk.ui
│ │ ├── daemons/
│ │ │ ├── keyboarddaemon.cpp
│ │ │ └── keyboarddaemon.h
│ │ ├── models/
│ │ │ ├── selectedkeyboardlayoutsmodel.cpp
│ │ │ └── selectedkeyboardlayoutsmodel.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── inputsettingsleftpane.cpp
│ │ │ ├── inputsettingsleftpane.h
│ │ │ ├── inputsettingsleftpane.ui
│ │ │ ├── inputsettingspane.cpp
│ │ │ ├── inputsettingspane.h
│ │ │ ├── inputsettingspane.ui
│ │ │ ├── keyboardsettings.cpp
│ │ │ ├── keyboardsettings.h
│ │ │ ├── keyboardsettings.ui
│ │ │ ├── mousesettings.cpp
│ │ │ ├── mousesettings.h
│ │ │ └── mousesettings.ui
│ │ ├── thedesk-input.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── LocalePlugin/
│ │ ├── CMakeLists.txt
│ │ ├── LocalePlugin.pro
│ │ ├── Plugin.json
│ │ ├── localeplugincommon.cpp
│ │ ├── localeplugincommon.h
│ │ ├── onboarding/
│ │ │ ├── onboardingregion.cpp
│ │ │ ├── onboardingregion.h
│ │ │ └── onboardingregion.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── localesettingspane.cpp
│ │ │ ├── localesettingspane.h
│ │ │ └── localesettingspane.ui
│ │ ├── thedesk-locale.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── NetworkPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── NetworkPlugin.pro
│ │ ├── Plugin.json
│ │ ├── chunk/
│ │ │ ├── chunkupdater.cpp
│ │ │ ├── chunkupdater.h
│ │ │ ├── genericchunkupdater.cpp
│ │ │ ├── genericchunkupdater.h
│ │ │ ├── networkchunk.cpp
│ │ │ ├── networkchunk.h
│ │ │ ├── wiredchunkupdater.cpp
│ │ │ ├── wiredchunkupdater.h
│ │ │ ├── wirelesschunkupdater.cpp
│ │ │ └── wirelesschunkupdater.h
│ │ ├── models/
│ │ │ ├── deviceconnectionlistmodel.cpp
│ │ │ ├── deviceconnectionlistmodel.h
│ │ │ ├── wirelessaccesspointsmodel.cpp
│ │ │ ├── wirelessaccesspointsmodel.h
│ │ │ ├── wirelessconnectionlistmodel.cpp
│ │ │ ├── wirelessconnectionlistmodel.h
│ │ │ ├── wirelessnetworklistdelegate.cpp
│ │ │ └── wirelessnetworklistdelegate.h
│ │ ├── networkplugincommon.cpp
│ │ ├── networkplugincommon.h
│ │ ├── onboarding/
│ │ │ ├── onboardingnetwork.cpp
│ │ │ ├── onboardingnetwork.h
│ │ │ ├── onboardingnetwork.ui
│ │ │ ├── wiredonboardingsetup.cpp
│ │ │ ├── wiredonboardingsetup.h
│ │ │ ├── wiredonboardingsetup.ui
│ │ │ ├── wirelessonboardingsetup.cpp
│ │ │ ├── wirelessonboardingsetup.h
│ │ │ └── wirelessonboardingsetup.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── statusCenter/
│ │ │ ├── connectionEditor/
│ │ │ │ ├── connectioneditorpane.cpp
│ │ │ │ ├── connectioneditorpane.h
│ │ │ │ ├── ipv4connectioneditorpane.cpp
│ │ │ │ ├── ipv4connectioneditorpane.h
│ │ │ │ ├── ipv4connectioneditorpane.ui
│ │ │ │ ├── networkconnectioneditor.cpp
│ │ │ │ ├── networkconnectioneditor.h
│ │ │ │ ├── networkconnectioneditor.ui
│ │ │ │ ├── wificonnectioneditorpane.cpp
│ │ │ │ ├── wificonnectioneditorpane.h
│ │ │ │ └── wificonnectioneditorpane.ui
│ │ │ ├── devicePanes/
│ │ │ │ ├── abstractdevicepane.cpp
│ │ │ │ ├── abstractdevicepane.h
│ │ │ │ ├── cellularpane.cpp
│ │ │ │ ├── cellularpane.h
│ │ │ │ ├── cellularpane.ui
│ │ │ │ ├── devicepane.cpp
│ │ │ │ ├── devicepane.h
│ │ │ │ ├── devicepane.ui
│ │ │ │ ├── wifidevicepane.cpp
│ │ │ │ ├── wifidevicepane.h
│ │ │ │ ├── wifidevicepane.ui
│ │ │ │ ├── wireddevicepane.cpp
│ │ │ │ ├── wireddevicepane.h
│ │ │ │ └── wireddevicepane.ui
│ │ │ ├── eap/
│ │ │ │ ├── securityeap.cpp
│ │ │ │ ├── securityeap.h
│ │ │ │ ├── securityeappeap.cpp
│ │ │ │ ├── securityeappeap.h
│ │ │ │ ├── securityeappeap.ui
│ │ │ │ ├── securityeapunsupported.cpp
│ │ │ │ ├── securityeapunsupported.h
│ │ │ │ └── securityeapunsupported.ui
│ │ │ ├── networkstatuscenterleftpane.cpp
│ │ │ ├── networkstatuscenterleftpane.h
│ │ │ ├── networkstatuscenterleftpane.ui
│ │ │ ├── networkstatuscenterpane.cpp
│ │ │ ├── networkstatuscenterpane.h
│ │ │ ├── networkstatuscenterpane.ui
│ │ │ └── popovers/
│ │ │ ├── connectionselectionpopover.cpp
│ │ │ ├── connectionselectionpopover.h
│ │ │ ├── connectionselectionpopover.ui
│ │ │ ├── simsettingspopover.cpp
│ │ │ ├── simsettingspopover.h
│ │ │ ├── simsettingspopover.ui
│ │ │ ├── tetheringsettingspopover.cpp
│ │ │ ├── tetheringsettingspopover.h
│ │ │ ├── tetheringsettingspopover.ui
│ │ │ ├── unlockmodempopover.cpp
│ │ │ ├── unlockmodempopover.h
│ │ │ ├── unlockmodempopover.ui
│ │ │ ├── wirelessnetworkselectionpopover.cpp
│ │ │ ├── wirelessnetworkselectionpopover.h
│ │ │ └── wirelessnetworkselectionpopover.ui
│ │ ├── switchmanager.cpp
│ │ ├── switchmanager.h
│ │ ├── thedesk-network.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── NotificationsPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── NotificationsPlugin.pro
│ │ ├── Plugin.json
│ │ ├── chunks/
│ │ │ ├── mprischunk.cpp
│ │ │ ├── mprischunk.h
│ │ │ └── mprischunk.ui
│ │ ├── dbus/
│ │ │ ├── notifications_adaptor.cpp
│ │ │ ├── notifications_adaptor.h
│ │ │ ├── notificationsinterface.cpp
│ │ │ ├── notificationsinterface.h
│ │ │ └── org.freedesktop.Notifications.xml
│ │ ├── drawer/
│ │ │ ├── hudwidget.cpp
│ │ │ ├── hudwidget.h
│ │ │ ├── hudwidget.ui
│ │ │ ├── notificationsdrawer.cpp
│ │ │ ├── notificationsdrawer.h
│ │ │ ├── notificationsdrawer.ui
│ │ │ ├── notificationsdrawerwidget.cpp
│ │ │ ├── notificationsdrawerwidget.h
│ │ │ └── notificationsdrawerwidget.ui
│ │ ├── notification.cpp
│ │ ├── notification.h
│ │ ├── notificationtracker.cpp
│ │ ├── notificationtracker.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── statuscenter/
│ │ │ ├── jobwidget.cpp
│ │ │ ├── jobwidget.h
│ │ │ ├── jobwidget.ui
│ │ │ ├── notificationappgroup.cpp
│ │ │ ├── notificationappgroup.h
│ │ │ ├── notificationappgroup.ui
│ │ │ ├── notificationsstatuscenterpane.cpp
│ │ │ ├── notificationsstatuscenterpane.h
│ │ │ ├── notificationsstatuscenterpane.ui
│ │ │ ├── notificationwidget.cpp
│ │ │ ├── notificationwidget.h
│ │ │ └── notificationwidget.ui
│ │ ├── thedesk-notifications.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── OverviewPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── OverviewPane/
│ │ │ ├── overviewpane.cpp
│ │ │ ├── overviewpane.h
│ │ │ ├── overviewpane.ui
│ │ │ ├── worldclock.cpp
│ │ │ ├── worldclock.h
│ │ │ └── worldclock.ui
│ │ ├── OverviewPlugin.pro
│ │ ├── Plugin.json
│ │ ├── clockchunk.cpp
│ │ ├── clockchunk.h
│ │ ├── clockchunk.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sk_SK.qm
│ │ ├── sk_SK.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ ├── PowerPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── PowerPlugin.pro
│ │ ├── eventhandler.cpp
│ │ ├── eventhandler.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── powersettings.cpp
│ │ │ ├── powersettings.h
│ │ │ └── powersettings.ui
│ │ ├── sleepmonitor.cpp
│ │ ├── sleepmonitor.h
│ │ ├── thedesk-power.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── ScreenshotPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── ScreenshotPlugin.pro
│ │ ├── eventhandler.cpp
│ │ ├── eventhandler.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── thedesk-screenshot.conf
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── ThemePlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── ThemePlugin.pro
│ │ ├── onboarding/
│ │ │ ├── onboardingtheme.cpp
│ │ │ ├── onboardingtheme.h
│ │ │ └── onboardingtheme.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── accentcolourpicker.cpp
│ │ │ ├── accentcolourpicker.h
│ │ │ ├── themesettingspane.cpp
│ │ │ ├── themesettingspane.h
│ │ │ └── themesettingspane.ui
│ │ ├── thedesk-theme.conf
│ │ ├── thedesk-themeplugin-resources.qrc
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── TimeDatePlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── TimeDatePlugin.pro
│ │ ├── onboarding/
│ │ │ ├── onboardingtimezone.cpp
│ │ │ ├── onboardingtimezone.h
│ │ │ └── onboardingtimezone.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── popovers/
│ │ │ ├── settimedatepopover.cpp
│ │ │ ├── settimedatepopover.h
│ │ │ ├── settimedatepopover.ui
│ │ │ ├── settimezonepopover.cpp
│ │ │ ├── settimezonepopover.h
│ │ │ └── settimezonepopover.ui
│ │ ├── settings/
│ │ │ ├── datetimepane.cpp
│ │ │ ├── datetimepane.h
│ │ │ └── datetimepane.ui
│ │ ├── thedesk-timedate.conf
│ │ ├── timezonesmodel.cpp
│ │ ├── timezonesmodel.h
│ │ └── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr.qm
│ │ ├── tr.ts
│ │ ├── vi.qm
│ │ ├── vi.ts
│ │ └── vi_VN.ts
│ ├── UsersPlugin/
│ │ ├── CMakeLists.txt
│ │ ├── Plugin.json
│ │ ├── UsersPlugin.pro
│ │ ├── onboarding/
│ │ │ ├── onboardingusers.cpp
│ │ │ ├── onboardingusers.h
│ │ │ └── onboardingusers.ui
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── settings/
│ │ │ ├── adduserdialog.cpp
│ │ │ ├── adduserdialog.h
│ │ │ ├── adduserdialog.ui
│ │ │ ├── changepassworddialog.cpp
│ │ │ ├── changepassworddialog.h
│ │ │ ├── changepassworddialog.ui
│ │ │ ├── changerealnamedialog.cpp
│ │ │ ├── changerealnamedialog.h
│ │ │ ├── changerealnamedialog.ui
│ │ │ ├── deleteuserdialog.cpp
│ │ │ ├── deleteuserdialog.h
│ │ │ ├── deleteuserdialog.ui
│ │ │ ├── lockuserdialog.cpp
│ │ │ ├── lockuserdialog.h
│ │ │ ├── lockuserdialog.ui
│ │ │ ├── user.cpp
│ │ │ ├── user.h
│ │ │ ├── usersmodel.cpp
│ │ │ ├── usersmodel.h
│ │ │ ├── userspane.cpp
│ │ │ ├── userspane.h
│ │ │ ├── userspane.ui
│ │ │ ├── usertypedialog.cpp
│ │ │ ├── usertypedialog.h
│ │ │ └── usertypedialog.ui
│ │ ├── thedesk-users.conf
│ │ └── translations/
│ │ ├── ar_SA.qm
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id_ID.qm
│ │ ├── id_ID.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro.qm
│ │ ├── ro.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ └── zh_CN.ts
│ ├── plugins.pri
│ └── plugins.pro
├── polkitagent/
│ ├── CMakeLists.txt
│ ├── authwindow.cpp
│ ├── authwindow.h
│ ├── authwindow.ui
│ ├── common.cpp
│ ├── common.h
│ ├── identitypopover.cpp
│ ├── identitypopover.h
│ ├── identitypopover.ui
│ ├── main.cpp
│ ├── polkitagent.pro
│ ├── polkitinterface.cpp
│ ├── polkitinterface.h
│ └── translations/
│ ├── ar_SA.ts
│ ├── au_AU.qm
│ ├── au_AU.ts
│ ├── cy.qm
│ ├── cy.ts
│ ├── da.qm
│ ├── da.ts
│ ├── de.qm
│ ├── de.ts
│ ├── en_GB.qm
│ ├── en_GB.ts
│ ├── en_US.qm
│ ├── en_US.ts
│ ├── es.ts
│ ├── es_VE.ts
│ ├── id.ts
│ ├── nl.qm
│ ├── nl.ts
│ ├── pt_BR.qm
│ ├── pt_BR.ts
│ ├── ro_RO.qm
│ ├── ro_RO.ts
│ ├── sv.qm
│ ├── sv.ts
│ ├── tr_TR.qm
│ ├── tr_TR.ts
│ ├── vi_VN.qm
│ ├── vi_VN.ts
│ ├── zh_CN.qm
│ ├── zh_CN.ts
│ ├── zu_ZA.qm
│ └── zu_ZA.ts
├── startdesk/
│ ├── CMakeLists.txt
│ ├── crash/
│ │ ├── backtracedialog.cpp
│ │ ├── backtracedialog.h
│ │ ├── backtracedialog.ui
│ │ ├── backtracepopover.cpp
│ │ ├── backtracepopover.h
│ │ ├── backtracepopover.ui
│ │ ├── backtracewidget.cpp
│ │ ├── backtracewidget.h
│ │ ├── backtracewidget.ui
│ │ ├── crashwidget.cpp
│ │ ├── crashwidget.h
│ │ └── crashwidget.ui
│ ├── main.cpp
│ ├── resources.qrc
│ ├── splash/
│ │ ├── splashcontroller.cpp
│ │ ├── splashcontroller.h
│ │ ├── splashwidget.cpp
│ │ ├── splashwidget.h
│ │ └── splashwidget.ui
│ ├── splashwindow.cpp
│ ├── splashwindow.h
│ ├── splashwindow.ui
│ ├── start-thedesk-wayland.in
│ ├── startdesk.pro
│ ├── thedesk-wayland.desktop.in
│ ├── thedesk.desktop.in
│ ├── translations/
│ │ ├── ar_SA.ts
│ │ ├── au_AU.qm
│ │ ├── au_AU.ts
│ │ ├── cy.qm
│ │ ├── cy.ts
│ │ ├── da.qm
│ │ ├── da.ts
│ │ ├── de.qm
│ │ ├── de.ts
│ │ ├── en_GB.qm
│ │ ├── en_GB.ts
│ │ ├── en_US.qm
│ │ ├── en_US.ts
│ │ ├── es.ts
│ │ ├── es_VE.ts
│ │ ├── id.ts
│ │ ├── nl.qm
│ │ ├── nl.ts
│ │ ├── pl_PL.qm
│ │ ├── pl_PL.ts
│ │ ├── pt_BR.qm
│ │ ├── pt_BR.ts
│ │ ├── ro_RO.qm
│ │ ├── ro_RO.ts
│ │ ├── sv.qm
│ │ ├── sv.ts
│ │ ├── tr_TR.qm
│ │ ├── tr_TR.ts
│ │ ├── vi_VN.qm
│ │ ├── vi_VN.ts
│ │ ├── zh_CN.qm
│ │ ├── zh_CN.ts
│ │ ├── zu_ZA.qm
│ │ └── zu_ZA.ts
│ └── wayfire-thedesk-config.conf
├── theDesk.pro
└── wayfire-plugins/
├── CMakeLists.txt
├── a11y-plugin/
│ ├── CMakeLists.txt
│ ├── a11yplugin.cpp
│ ├── a11yplugin.h
│ ├── abstracta11ycontroller.cpp
│ ├── abstracta11ycontroller.h
│ ├── mousekeys.cpp
│ ├── mousekeys.h
│ ├── stickykeys.cpp
│ └── stickykeys.h
├── keygrab-plugin/
│ ├── CMakeLists.txt
│ ├── keygrab-plugin.pro
│ ├── keygrab-plugin_global.h
│ ├── keygrabplugin.cpp
│ └── keygrabplugin.h
├── plugins.pri
├── startdesk-plugin/
│ ├── CMakeLists.txt
│ ├── startdesk-plugin.pro
│ ├── startdeskplugin.cpp
│ └── startdeskplugin.h
└── wayfire-plugins.pro
SYMBOL INDEX (986 symbols across 451 files)
FILE: desktop-portal/backend/abstractportalbackend.cpp
function AbstractPortalBackend (line 11) | AbstractPortalBackend* AbstractPortalBackend::instance() {
FILE: desktop-portal/backend/abstractportalbackend.h
function class (line 8) | class AbstractPortalBackend : public QObject {
FILE: desktop-portal/backend/private/waylandportalscreencopyframe.cpp
type WaylandPortalScreencopyFramePrivate (line 9) | struct WaylandPortalScreencopyFramePrivate {
type ::zwlr_screencopy_frame_v1 (line 25) | struct ::zwlr_screencopy_frame_v1
function QPixmap (line 43) | QPixmap WaylandPortalScreencopyFrame::pixmap() {
FILE: desktop-portal/backend/private/waylandportalscreencopyframe.h
type WaylandPortalScreencopyFramePrivate (line 7) | struct WaylandPortalScreencopyFramePrivate
type zwlr_screencopy_frame_v1 (line 12) | struct ::zwlr_screencopy_frame_v1
FILE: desktop-portal/backend/waylandportalbackend.cpp
type WaylandPortalBackendPrivate (line 11) | struct WaylandPortalBackendPrivate {
FILE: desktop-portal/backend/waylandportalbackend.h
type WaylandPortalBackendPrivate (line 8) | struct WaylandPortalBackendPrivate
FILE: desktop-portal/backend/x11portalbackend.h
function class (line 7) | class X11PortalBackend : public AbstractPortalBackend {
FILE: desktop-portal/dialogs/accessdialog.h
function namespace (line 6) | namespace Ui {
function class (line 10) | class AccessDialog : public QWidget {
FILE: desktop-portal/dialogs/accountdialog.cpp
function QVariantMap (line 35) | QVariantMap AccountDialog::results() {
FILE: desktop-portal/dialogs/accountdialog.h
function namespace (line 6) | namespace Ui {
function class (line 10) | class AccountDialog : public QDialog {
FILE: desktop-portal/dialogs/filedialog.cpp
type FileDialogPrivate (line 28) | struct FileDialogPrivate {
type Filter (line 32) | struct Filter {
function QDBusArgument (line 38) | QDBusArgument& operator<<(QDBusArgument& argument, const Filter& filter) {
function QDBusArgument (line 45) | const QDBusArgument& operator>>(const QDBusArgument& argument, Filter& f...
type FilterCategory (line 52) | struct FilterCategory {
function QDBusArgument (line 58) | QDBusArgument& operator<<(QDBusArgument& argument, const FilterCategory&...
function QDBusArgument (line 65) | const QDBusArgument& operator>>(const QDBusArgument& argument, FilterCat...
function QStringList (line 170) | QStringList FileDialog::uris() {
function QVariant (line 174) | QVariant FileDialog::choices() {
FILE: desktop-portal/dialogs/filedialog.h
function namespace (line 26) | namespace Ui {
type FileDialogPrivate (line 30) | struct FileDialogPrivate
function class (line 31) | class FileDialog : public QDialog {
FILE: desktop-portal/dialogs/penbutton.cpp
type PenButtonPrivate (line 27) | struct PenButtonPrivate {
function QColor (line 80) | QColor PenButton::color() const {
FILE: desktop-portal/dialogs/penbutton.h
type PenButtonPrivate (line 25) | struct PenButtonPrivate
function class (line 26) | class PenButton : public QPushButton {
FILE: desktop-portal/dialogs/screenshotwindow.cpp
type ScreenshotWindowPrivate (line 33) | struct ScreenshotWindowPrivate {
type Operation (line 34) | enum Operation {
function QPixmap (line 346) | QPixmap ScreenshotWindow::finalResult() {
FILE: desktop-portal/dialogs/screenshotwindow.h
function namespace (line 26) | namespace Ui {
type ScreenshotWindowPrivate (line 30) | struct ScreenshotWindowPrivate
function Type (line 40) | enum class Type {
FILE: desktop-portal/interfaces/accessinterface.cpp
function uint (line 12) | uint AccessInterface::AccessDialog(QDBusObjectPath handle, QString appId...
FILE: desktop-portal/interfaces/accessinterface.h
function class (line 8) | class AccessInterface : public QDBusAbstractAdaptor {
FILE: desktop-portal/interfaces/accountinterface.cpp
function uint (line 14) | uint AccountInterface::version() {
function uint (line 18) | uint AccountInterface::GetUserInformation(QDBusObjectPath handle, QStrin...
FILE: desktop-portal/interfaces/accountinterface.h
function class (line 8) | class AccountInterface : public QDBusAbstractAdaptor {
FILE: desktop-portal/interfaces/filechooserinterface.cpp
function uint (line 35) | uint FileChooserInterface::OpenFile(const QDBusObjectPath& handle, const...
function uint (line 73) | uint FileChooserInterface::SaveFile(const QDBusObjectPath& handle, const...
function uint (line 109) | uint FileChooserInterface::SaveFiles(const QDBusObjectPath& handle, cons...
FILE: desktop-portal/interfaces/filechooserinterface.h
function class (line 28) | class FileChooserInterface : public QDBusAbstractAdaptor {
FILE: desktop-portal/interfaces/notificationinterface.cpp
type NotificationInterfacePrivate (line 8) | struct NotificationInterfacePrivate {
FILE: desktop-portal/interfaces/notificationinterface.h
type NotificationInterfacePrivate (line 6) | struct NotificationInterfacePrivate
function class (line 7) | class NotificationInterface : public QDBusAbstractAdaptor {
FILE: desktop-portal/interfaces/screenshotinterface.cpp
function QDBusArgument (line 15) | QDBusArgument& operator<<(QDBusArgument& argument, const ScreenshotColor...
function QDBusArgument (line 22) | const QDBusArgument& operator>>(const QDBusArgument& argument, Screensho...
function uint (line 34) | uint ScreenshotInterface::version() {
function uint (line 38) | uint ScreenshotInterface::Screenshot(QDBusObjectPath handle, QString app...
function uint (line 102) | uint ScreenshotInterface::PickColor(QDBusObjectPath handle, QString app_...
FILE: desktop-portal/interfaces/screenshotinterface.h
function class (line 8) | class ScreenshotInterface : public QDBusAbstractAdaptor {
type ScreenshotColorReply (line 23) | struct ScreenshotColorReply {
FILE: desktop-portal/interfaces/settingsinterface.cpp
function uint (line 31) | uint SettingsInterface::version() {
function QDBusVariant (line 41) | QDBusVariant SettingsInterface::Read(QString ns, QString key) {
FILE: desktop-portal/interfaces/settingsinterface.h
function class (line 27) | class SettingsInterface : public QDBusAbstractAdaptor {
FILE: desktop-portal/main.cpp
function main (line 32) | int main(int argc, char* argv[]) {
FILE: desktop-portal/portalcommon.h
function namespace (line 8) | namespace PortalCommon {
FILE: desktop-portal/portalhandle.h
function class (line 26) | class PortalHandle : public QObject {
FILE: desktop-portal/screenshotmanager.cpp
type ScreenshotManagerPrivate (line 6) | struct ScreenshotManagerPrivate {
function QPixmap (line 53) | QPixmap ScreenshotManager::finalPixmap() {
function QColor (line 57) | QColor ScreenshotManager::clickedColor() {
FILE: desktop-portal/screenshotmanager.h
type ScreenshotManagerPrivate (line 7) | struct ScreenshotManagerPrivate
function class (line 8) | class ScreenshotManager : public QObject {
FILE: desktop/background/background.cpp
type BackgroundPrivate (line 33) | struct BackgroundPrivate {
FILE: desktop/background/background.h
function namespace (line 30) | namespace Ui {
type BackgroundPrivate (line 34) | struct BackgroundPrivate
function class (line 35) | class Background : public QDialog {
FILE: desktop/bar/barwindow.cpp
type BarWindowPrivate (line 50) | struct BarWindowPrivate {
FILE: desktop/bar/barwindow.h
function namespace (line 27) | namespace Ui {
type BarWindowPrivate (line 31) | struct BarWindowPrivate
function class (line 32) | class BarWindow : public QWidget {
FILE: desktop/bar/chunkcontainer.cpp
type ChunkContainerPrivate (line 32) | struct ChunkContainerPrivate {
FILE: desktop/bar/chunkcontainer.h
function namespace (line 25) | namespace Ui {
type ChunkContainerPrivate (line 30) | struct ChunkContainerPrivate
function class (line 31) | class ChunkContainer : public QWidget {
FILE: desktop/bar/currentappwidget.cpp
type CurrentAppWidgetPrivate (line 32) | struct CurrentAppWidgetPrivate {
FILE: desktop/bar/currentappwidget.h
function namespace (line 25) | namespace Ui {
type CurrentAppWidgetPrivate (line 29) | struct CurrentAppWidgetPrivate
function class (line 30) | class CurrentAppWidget : public QWidget {
FILE: desktop/bar/currentappwidgetmenu.cpp
type CurrentAppWidgetMenuPrivate (line 25) | struct CurrentAppWidgetMenuPrivate {
function QSize (line 48) | QSize CurrentAppWidgetMenu::sizeHint() const {
FILE: desktop/bar/currentappwidgetmenu.h
function namespace (line 26) | namespace Ui {
type CurrentAppWidgetMenuPrivate (line 30) | struct CurrentAppWidgetMenuPrivate
function class (line 31) | class CurrentAppWidgetMenu : public QWidget {
FILE: desktop/bar/mainbarwidget.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class MainBarWidget : public QWidget {
FILE: desktop/bar/taskbarapplicationwidget.cpp
type TaskbarApplicationWidgetPrivate (line 35) | struct TaskbarApplicationWidgetPrivate {
FILE: desktop/bar/taskbarapplicationwidget.h
type QPointer (line 26) | typedef QPointer<DesktopWmWindow> DesktopWmWindowPtr;
type TaskbarApplicationWidgetPrivate (line 28) | struct TaskbarApplicationWidgetPrivate
function class (line 29) | class TaskbarApplicationWidget : public QPushButton {
FILE: desktop/bar/taskbardesktopwidget.cpp
type TaskbarDesktopWidgetPrivate (line 29) | struct TaskbarDesktopWidgetPrivate {
FILE: desktop/bar/taskbardesktopwidget.h
function namespace (line 25) | namespace Ui {
type QPointer (line 30) | typedef QPointer<DesktopWmWindow> DesktopWmWindowPtr;
type TaskbarDesktopWidgetPrivate (line 32) | struct TaskbarDesktopWidgetPrivate
function class (line 33) | class TaskbarDesktopWidget : public QWidget {
FILE: desktop/bar/taskbarwidget.cpp
type TaskbarWidgetPrivate (line 31) | struct TaskbarWidgetPrivate {
FILE: desktop/bar/taskbarwidget.h
function namespace (line 25) | namespace Ui {
type QPointer (line 30) | typedef QPointer<DesktopWmWindow> DesktopWmWindowPtr;
type TaskbarWidgetPrivate (line 32) | struct TaskbarWidgetPrivate
function class (line 33) | class TaskbarWidget : public QWidget {
FILE: desktop/cli/commandline.h
function class (line 25) | class CommandLine : public QObject {
FILE: desktop/common/common.h
function namespace (line 25) | namespace Common {
FILE: desktop/crash/crashhandling.cpp
type CrashHandling (line 28) | namespace CrashHandling {
FILE: desktop/crash/crashhandling.h
function namespace (line 23) | namespace CrashHandling {
FILE: desktop/gateway/appsearchprovider.cpp
type AppSearchProviderPrivate (line 26) | struct AppSearchProviderPrivate {
function QSize (line 112) | QSize AppSearchProvider::sizeHint(const QStyleOptionViewItem& option, co...
function tPaintCalculator (line 121) | tPaintCalculator AppSearchProvider::calculator(QPainter* painter, const ...
FILE: desktop/gateway/appsearchprovider.h
type AppSearchProviderPrivate (line 26) | struct AppSearchProviderPrivate
function class (line 27) | class AppSearchProvider : public GatewaySearchProvider {
FILE: desktop/gateway/appselectionmodel.cpp
type AppSelectionModelPrivate (line 26) | struct AppSelectionModelPrivate {
function QVariant (line 50) | QVariant AppSelectionModel::data(const QModelIndex& index, int role) con...
type ApplicationListReturnValue (line 99) | struct ApplicationListReturnValue {
FILE: desktop/gateway/appselectionmodel.h
type AppSelectionModelPrivate (line 25) | struct AppSelectionModelPrivate
function class (line 26) | class AppSelectionModel : public QAbstractListModel {
FILE: desktop/gateway/appselectionmodellistdelegate.cpp
function QSize (line 40) | QSize AppSelectionModelListDelegate::sizeHint(const QStyleOptionViewItem...
FILE: desktop/gateway/appselectionmodellistdelegate.h
function class (line 25) | class AppSelectionModelListDelegate : public QStyledItemDelegate {
FILE: desktop/gateway/gateway.cpp
type GatewayPrivate (line 37) | struct GatewayPrivate {
function Gateway (line 176) | Gateway* Gateway::instance() {
FILE: desktop/gateway/gateway.h
function namespace (line 26) | namespace Ui {
type GatewayPrivate (line 30) | struct GatewayPrivate
function class (line 31) | class Gateway : public QDialog {
FILE: desktop/gateway/gatewaysearchmodel.cpp
type GatewaySearchModelPrivate (line 26) | struct GatewaySearchModelPrivate {
function QVariant (line 76) | QVariant GatewaySearchModel::data(const QModelIndex& index, int role) co...
FILE: desktop/gateway/gatewaysearchmodel.h
type GatewaySearchModelPrivate (line 25) | struct GatewaySearchModelPrivate
function class (line 26) | class GatewaySearchModel : public QAbstractListModel {
FILE: desktop/gateway/gatewaysearchmodeldelegate.cpp
function QSize (line 33) | QSize GatewaySearchModelDelegate::sizeHint(const QStyleOptionViewItem& o...
FILE: desktop/gateway/gatewaysearchmodeldelegate.h
function class (line 25) | class GatewaySearchModelDelegate : public QStyledItemDelegate {
FILE: desktop/gateway/maingatewaywidget.cpp
type MainGatewayWidgetPrivate (line 38) | struct MainGatewayWidgetPrivate {
function QSize (line 122) | QSize MainGatewayWidget::sizeHint() const {
FILE: desktop/gateway/maingatewaywidget.h
function namespace (line 25) | namespace Ui {
type MainGatewayWidgetPrivate (line 29) | struct MainGatewayWidgetPrivate
function class (line 30) | class MainGatewayWidget : public QWidget {
FILE: desktop/gateway/searchresultswidget.cpp
type SearchResultsWidgetPrivate (line 27) | struct SearchResultsWidgetPrivate {
FILE: desktop/gateway/searchresultswidget.h
function namespace (line 25) | namespace Ui {
type SearchResultsWidgetPrivate (line 29) | struct SearchResultsWidgetPrivate
function class (line 30) | class SearchResultsWidget : public QWidget {
FILE: desktop/main.cpp
function main (line 47) | int main(int argc, char* argv[]) {
FILE: desktop/run/rundialog.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class RunDialog : public QWidget {
FILE: desktop/session/endsession.cpp
type EndSessionPrivate (line 36) | struct EndSessionPrivate {
FILE: desktop/session/endsession.h
function namespace (line 27) | namespace Ui {
type EndSessionPrivate (line 31) | struct EndSessionPrivate
function class (line 32) | class EndSession : public QWidget {
FILE: desktop/session/endsessionbutton.cpp
type EndSessionButtonPrivate (line 25) | struct EndSessionButtonPrivate {
FILE: desktop/session/endsessionbutton.h
type EndSessionButtonPrivate (line 25) | struct EndSessionButtonPrivate
function class (line 26) | class EndSessionButton : public QCommandLinkButton {
FILE: desktop/statuscenter/leftpanedelegate.h
function class (line 25) | class LeftPaneDelegate : public QStyledItemDelegate {
FILE: desktop/statuscenter/statuscenter.cpp
type StatusCenterPrivate (line 38) | struct StatusCenterPrivate {
FILE: desktop/statuscenter/statuscenter.h
function namespace (line 25) | namespace Ui {
type StatusCenterPrivate (line 31) | struct StatusCenterPrivate
function class (line 32) | class StatusCenter : public QWidget {
FILE: desktop/statuscenter/statuscenterleftpane.cpp
type StatusCenterLeftPanePrivate (line 27) | struct StatusCenterLeftPanePrivate {
function QWidget (line 97) | QWidget* StatusCenterLeftPane::peekMenu() {
FILE: desktop/statuscenter/statuscenterleftpane.h
function namespace (line 25) | namespace Ui {
type StatusCenterLeftPanePrivate (line 30) | struct StatusCenterLeftPanePrivate
function class (line 31) | class StatusCenterLeftPane : public QWidget {
FILE: desktop/statuscenter/statuscenterquickswitch.cpp
type StatusCenterQuickSwitchPrivate (line 25) | struct StatusCenterQuickSwitchPrivate {
FILE: desktop/statuscenter/statuscenterquickswitch.h
function namespace (line 25) | namespace Ui {
type StatusCenterQuickSwitchPrivate (line 30) | struct StatusCenterQuickSwitchPrivate
function class (line 31) | class StatusCenterQuickSwitch : public QWidget {
FILE: desktop/systemsettings/about/about.cpp
type AboutPrivate (line 42) | struct AboutPrivate {
type sysinfo (line 63) | struct sysinfo
type sysinfo (line 63) | struct sysinfo
function QString (line 153) | QString About::videoCard() {
function QString (line 184) | QString About::name() {
function QString (line 188) | QString About::displayName() {
function QIcon (line 192) | QIcon About::icon() {
function QWidget (line 196) | QWidget* About::leftPane() {
FILE: desktop/systemsettings/about/about.h
function namespace (line 25) | namespace Ui {
type AboutPrivate (line 29) | struct AboutPrivate
function class (line 30) | class About : public StatusCenterPane {
FILE: desktop/systemsettings/about/acknowledgements.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class Acknowledgements : public QWidget {
FILE: desktop/systemsettings/about/changehostnamepopover.cpp
function QString (line 66) | QString ChangeHostnamePopover::generateStaticHostname(QString hostname) {
FILE: desktop/systemsettings/about/changehostnamepopover.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class ChangeHostnamePopover : public QWidget {
FILE: desktop/systemsettings/pluginmanagement/managepluginpopover.cpp
type ManagePluginPopoverPrivate (line 27) | struct ManagePluginPopoverPrivate {
FILE: desktop/systemsettings/pluginmanagement/managepluginpopover.h
function namespace (line 25) | namespace Ui {
type ManagePluginPopoverPrivate (line 29) | struct ManagePluginPopoverPrivate
function class (line 30) | class ManagePluginPopover : public QWidget {
FILE: desktop/systemsettings/pluginmanagement/pluginitemdelegate.cpp
type PluginItemDelegatePrivate (line 28) | struct PluginItemDelegatePrivate {
type Rects (line 29) | struct Rects {
method Rects (line 35) | Rects(const QStyleOptionViewItem& option) {
function QSize (line 164) | QSize PluginItemDelegate::sizeHint(const QStyleOptionViewItem& option, c...
FILE: desktop/systemsettings/pluginmanagement/pluginitemdelegate.h
type PluginItemDelegatePrivate (line 25) | struct PluginItemDelegatePrivate
function class (line 26) | class PluginItemDelegate : public QAbstractItemDelegate {
FILE: desktop/systemsettings/pluginmanagement/pluginmanagement.cpp
type PluginManagementPrivate (line 33) | struct PluginManagementPrivate {
function QString (line 67) | QString PluginManagement::name() {
function QString (line 71) | QString PluginManagement::displayName() {
function QIcon (line 75) | QIcon PluginManagement::icon() {
function QWidget (line 79) | QWidget* PluginManagement::leftPane() {
FILE: desktop/systemsettings/pluginmanagement/pluginmanagement.h
function namespace (line 25) | namespace Ui {
type PluginManagementPrivate (line 29) | struct PluginManagementPrivate
function class (line 30) | class PluginManagement : public StatusCenterPane {
FILE: desktop/systemsettings/pluginmanagement/pluginmodel.cpp
function QVariant (line 40) | QVariant PluginModel::data(const QModelIndex& index, int role) const {
FILE: desktop/systemsettings/pluginmanagement/pluginmodel.h
function class (line 25) | class PluginModel : public QAbstractListModel
FILE: desktop/systemsettings/recovery/recovery.cpp
function QString (line 62) | QString Recovery::name() {
function QString (line 66) | QString Recovery::displayName() {
function QIcon (line 70) | QIcon Recovery::icon() {
function QWidget (line 74) | QWidget* Recovery::leftPane() {
FILE: desktop/systemsettings/recovery/recovery.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class Recovery : public StatusCenterPane {
FILE: desktop/systemsettings/systemsettings.cpp
type SystemSettingsPrivate (line 36) | struct SystemSettingsPrivate {
function QString (line 185) | QString SystemSettings::name() {
function QString (line 189) | QString SystemSettings::displayName() {
function QIcon (line 193) | QIcon SystemSettings::icon() {
function QWidget (line 197) | QWidget* SystemSettings::leftPane() {
FILE: desktop/systemsettings/systemsettings.h
function namespace (line 25) | namespace Ui {
type SystemSettingsPrivate (line 30) | struct SystemSettingsPrivate
function class (line 31) | class SystemSettings : public StatusCenterPane {
FILE: desktop/systemsettings/systemsettingsleftpane.cpp
type SystemSettingsLeftPanePrivate (line 30) | struct SystemSettingsLeftPanePrivate {
FILE: desktop/systemsettings/systemsettingsleftpane.h
function namespace (line 25) | namespace Ui {
type SystemSettingsLeftPanePrivate (line 30) | struct SystemSettingsLeftPanePrivate
function class (line 31) | class SystemSettingsLeftPane : public QWidget {
FILE: libthedesk/actionquickwidget.cpp
type ActionQuickWidgetPrivate (line 29) | struct ActionQuickWidgetPrivate {
function QAction (line 62) | QAction* ActionQuickWidget::addAction(QString text, std::function<void (...
function QAction (line 69) | QAction* ActionQuickWidget::addAction(QIcon icon, QString text, std::fun...
FILE: libthedesk/actionquickwidget.h
function namespace (line 26) | namespace Ui {
type ActionQuickWidgetPrivate (line 32) | struct ActionQuickWidgetPrivate
function class (line 33) | class ActionQuickWidget : public QWidget {
FILE: libthedesk/barmanager.cpp
type BarManagerPrivate (line 24) | struct BarManagerPrivate {
FILE: libthedesk/barmanager.h
type BarManagerPrivate (line 29) | struct BarManagerPrivate
function class (line 30) | class BarManager : public QObject {
FILE: libthedesk/chunk.cpp
type ChunkPrivate (line 27) | struct ChunkPrivate {
function QWidget (line 71) | QWidget* Chunk::quickWidget() {
FILE: libthedesk/chunk.h
type ChunkPrivate (line 26) | struct ChunkPrivate
function class (line 27) | class Chunk : public QWidget {
FILE: libthedesk/common.h
function namespace (line 25) | namespace Common {
FILE: libthedesk/gatewaymanager.cpp
type GatewayManagerPrivate (line 22) | struct GatewayManagerPrivate {
FILE: libthedesk/gatewaymanager.h
type GatewayManagerPrivate (line 27) | struct GatewayManagerPrivate
function class (line 28) | class GatewayManager : public QObject {
FILE: libthedesk/gatewaysearchprovider.h
function class (line 27) | class GatewaySearchProvider : public QObject {
FILE: libthedesk/hudmanager.h
function class (line 26) | class HudManager : public QObject {
FILE: libthedesk/icontextchunk.cpp
type IconTextChunkPrivate (line 28) | struct IconTextChunkPrivate {
function QString (line 77) | QString IconTextChunk::name() {
function QWidget (line 89) | QWidget* IconTextChunk::quickWidget() {
FILE: libthedesk/icontextchunk.h
function namespace (line 26) | namespace Ui {
type IconTextChunkPrivate (line 30) | struct IconTextChunkPrivate
function class (line 31) | class IconTextChunk : public Chunk {
FILE: libthedesk/keygrab.cpp
type KeyGrabPrivate (line 28) | struct KeyGrabPrivate {
FILE: libthedesk/keygrab.h
type KeyGrabPrivate (line 25) | struct KeyGrabPrivate
function class (line 26) | class KeyGrab : public QObject {
FILE: libthedesk/localemanager.cpp
type LocaleManagerPrivate (line 32) | struct LocaleManagerPrivate {
function QLocale (line 99) | QLocale LocaleManager::showLocaleSelector(QWidget* parent, bool* ok) {
function QString (line 189) | QString LocaleManager::showKeyboardLayoutSelector(QWidget* parent, bool*...
function QLocale (line 221) | QLocale LocaleManager::formatLocale() {
function QString (line 275) | QString LocaleManager::glibName(QLocale locale, QString encoding) {
FILE: libthedesk/localemanager.h
type LocaleManagerPrivate (line 25) | struct LocaleManagerPrivate
function class (line 26) | class LocaleManager : public QObject {
FILE: libthedesk/onboarding/onboarding.cpp
type OnboardingPrivate (line 45) | struct OnboardingPrivate {
FILE: libthedesk/onboarding/onboarding.h
function namespace (line 25) | namespace Ui {
type OnboardingPrivate (line 29) | struct OnboardingPrivate
function class (line 30) | class Onboarding : public QDialog {
FILE: libthedesk/onboarding/onboardingbar.cpp
type OnboardingBarPrivate (line 29) | struct OnboardingBarPrivate {
FILE: libthedesk/onboarding/onboardingbar.h
function namespace (line 25) | namespace Ui {
type OnboardingBarPrivate (line 29) | struct OnboardingBarPrivate
function class (line 30) | class OnboardingBar : public QWidget {
FILE: libthedesk/onboarding/onboardingbetathankyou.cpp
function QString (line 42) | QString OnboardingBetaThankYou::name() {
function QString (line 46) | QString OnboardingBetaThankYou::displayName() {
FILE: libthedesk/onboarding/onboardingbetathankyou.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class OnboardingBetaThankYou : public OnboardingPage {
FILE: libthedesk/onboarding/onboardingcontroller.h
function class (line 25) | class OnboardingController : public QObject {
FILE: libthedesk/onboarding/onboardingfinal.cpp
function QString (line 42) | QString OnboardingFinal::name() {
function QString (line 46) | QString OnboardingFinal::displayName() {
FILE: libthedesk/onboarding/onboardingfinal.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class OnboardingFinal : public OnboardingPage {
FILE: libthedesk/onboarding/onboardingstepper.cpp
type OnboardingStepperPrivate (line 26) | struct OnboardingStepperPrivate {
function QSize (line 66) | QSize OnboardingStepper::sizeHint() const {
FILE: libthedesk/onboarding/onboardingstepper.h
type OnboardingStepperPrivate (line 25) | struct OnboardingStepperPrivate
function class (line 26) | class OnboardingStepper : public QWidget {
FILE: libthedesk/onboarding/onboardingvideo.cpp
type OnboardingVideoPrivate (line 31) | struct OnboardingVideoPrivate {
function QMediaPlayer (line 84) | QMediaPlayer* OnboardingVideo::mediaObject() const {
function QMediaPlayer (line 88) | QMediaPlayer* OnboardingVideo::mediaPlayerForFile(QString file) {
FILE: libthedesk/onboarding/onboardingvideo.h
function namespace (line 26) | namespace Ui {
type OnboardingVideoPrivate (line 30) | struct OnboardingVideoPrivate
function class (line 31) | class OnboardingVideo : public QDialog {
FILE: libthedesk/onboarding/onboardingwelcome.cpp
type OnboardingWelcomePrivate (line 32) | struct OnboardingWelcomePrivate {
function QString (line 80) | QString OnboardingWelcome::name() {
function QString (line 84) | QString OnboardingWelcome::displayName() {
FILE: libthedesk/onboarding/onboardingwelcome.h
function namespace (line 25) | namespace Ui {
type OnboardingWelcomePrivate (line 29) | struct OnboardingWelcomePrivate
function class (line 30) | class OnboardingWelcome : public OnboardingPage {
FILE: libthedesk/onboardingmanager.h
type OnboardingManagerPrivate (line 28) | struct OnboardingManagerPrivate
function class (line 29) | class OnboardingManager : public QObject {
FILE: libthedesk/onboardingpage.h
function class (line 25) | class OnboardingPage : public QWidget {
FILE: libthedesk/plugins/plugininterface.h
function class (line 25) | class PluginInterface {
FILE: libthedesk/plugins/pluginmanager.cpp
type PluginManagerPrivate (line 34) | struct PluginManagerPrivate {
function PluginManager (line 49) | PluginManager* PluginManager::instance() {
function QJsonValue (line 173) | QJsonValue PluginManager::pluginMetadata(QUuid plugin, QString key) {
function QString (line 202) | QString PluginManager::pluginErrorReason(QUuid plugin) {
FILE: libthedesk/plugins/pluginmanager.h
type PluginManagerPrivate (line 25) | struct PluginManagerPrivate
function class (line 26) | class PluginManager : public QObject {
FILE: libthedesk/powermanager.cpp
type PowerManagerPrivate (line 37) | struct PowerManagerPrivate {
FILE: libthedesk/powermanager.h
type PowerManagerPrivate (line 29) | struct PowerManagerPrivate
function class (line 30) | class PowerManager : public QObject {
FILE: libthedesk/private/keyboardlayoutmodel.cpp
type KeyboardLayoutModelPrivate (line 24) | struct KeyboardLayoutModelPrivate {
function QVariant (line 48) | QVariant KeyboardLayoutModel::data(const QModelIndex& index, int role) c...
FILE: libthedesk/private/keyboardlayoutmodel.h
type KeyboardLayoutModelPrivate (line 25) | struct KeyboardLayoutModelPrivate
function class (line 26) | class KeyboardLayoutModel : public QAbstractListModel {
FILE: libthedesk/private/keyboardlayoutselector.cpp
type KeyboardLayoutSelectorPrivate (line 25) | struct KeyboardLayoutSelectorPrivate {
FILE: libthedesk/private/keyboardlayoutselector.h
function namespace (line 25) | namespace Ui {
type KeyboardLayoutSelectorPrivate (line 29) | struct KeyboardLayoutSelectorPrivate
function class (line 30) | class KeyboardLayoutSelector : public QWidget {
FILE: libthedesk/private/localeselector.cpp
type LocaleSelectorPrivate (line 23) | struct LocaleSelectorPrivate {
FILE: libthedesk/private/localeselector.h
function namespace (line 27) | namespace Ui {
type LocaleSelectorPrivate (line 31) | struct LocaleSelectorPrivate
function class (line 32) | class LocaleSelector : public QWidget {
FILE: libthedesk/private/onboardingmanager_p.h
type OnboardingManagerPrivate (line 26) | struct OnboardingManagerPrivate {
FILE: libthedesk/private/quickwidgetcontainer.cpp
type QuickWidgetContainerPrivate (line 34) | struct QuickWidgetContainerPrivate {
function QSize (line 87) | QSize QuickWidgetContainer::sizeHint() const {
FILE: libthedesk/private/quickwidgetcontainer.h
function namespace (line 25) | namespace Ui {
type QuickWidgetContainerPrivate (line 32) | struct QuickWidgetContainerPrivate
function class (line 33) | class QuickWidgetContainer : public QWidget {
FILE: libthedesk/quickswitch.cpp
type QuickSwitchPrivate (line 25) | struct QuickSwitchPrivate {
function QString (line 42) | QString QuickSwitch::name() {
function QString (line 52) | QString QuickSwitch::title() {
FILE: libthedesk/quickswitch.h
type QuickSwitchPrivate (line 25) | struct QuickSwitchPrivate
function class (line 27) | class QuickSwitch : public QObject {
FILE: libthedesk/quietmodemanager.cpp
type QuietModeManagerPrivate (line 25) | struct QuietModeManagerPrivate {
function QString (line 64) | QString QuietModeManagerTd::name(QuietModeManagerTd::QuietMode quietMode) {
function QString (line 79) | QString QuietModeManagerTd::description(QuietModeManagerTd::QuietMode qu...
function QString (line 94) | QString QuietModeManagerTd::icon(QuietModeManagerTd::QuietMode quietMode) {
FILE: libthedesk/quietmodemanager.h
type QuietModeManagerPrivate (line 25) | struct QuietModeManagerPrivate
function class (line 26) | class QuietModeManagerTd : public QObject {
FILE: libthedesk/server/sessionserver.cpp
type SessionServerPrivate (line 28) | struct SessionServerPrivate {
function SessionServer (line 40) | SessionServer* SessionServer::instance() {
FILE: libthedesk/server/sessionserver.h
type SessionServerPrivate (line 26) | struct SessionServerPrivate
function class (line 27) | class SessionServer : public QObject {
FILE: libthedesk/statemanager.cpp
type StateManagerPrivate (line 31) | struct StateManagerPrivate {
function StateManager (line 56) | StateManager* StateManager::instance() {
function BarManager (line 61) | BarManager* StateManager::barManager() {
function GatewayManager (line 65) | GatewayManager* StateManager::gatewayManager() {
function PowerManager (line 69) | PowerManager* StateManager::powerManager() {
function StatusCenterManager (line 73) | StatusCenterManager* StateManager::statusCenterManager() {
function LocaleManager (line 77) | LocaleManager* StateManager::localeManager() {
function HudManager (line 81) | HudManager* StateManager::hudManager() {
function OnboardingManager (line 85) | OnboardingManager* StateManager::onboardingManager() {
function QuietModeManagerTd (line 89) | QuietModeManagerTd* StateManager::quietModeManager() {
FILE: libthedesk/statemanager.h
type StateManagerPrivate (line 35) | struct StateManagerPrivate
FILE: libthedesk/statuscentermanager.cpp
type StatusCenterManagerPrivate (line 25) | struct StatusCenterManagerPrivate {
FILE: libthedesk/statuscentermanager.h
type StatusCenterManagerPrivate (line 30) | struct StatusCenterManagerPrivate
function class (line 31) | class StatusCenterManager : public QObject {
FILE: libthedesk/statuscenterpane.h
function class (line 25) | class StatusCenterPane : public QWidget {
FILE: libthedesk/transparentdialog.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class TransparentDialog : public QDialog {
FILE: locker/locker-checker/main.cpp
function main (line 8) | int main(int argc, char* argv[]) {
FILE: locker/locker-common/lockergrabs.h
function namespace (line 4) | namespace LockerGrabs {
FILE: locker/locker-ui/lockmanager.cpp
type LockManagerPrivate (line 10) | struct LockManagerPrivate {
function LockManager (line 17) | LockManager* LockManager::instance() {
FILE: locker/locker-ui/lockmanager.h
type LockManagerPrivate (line 6) | struct LockManagerPrivate
function class (line 7) | class LockManager : public QObject {
FILE: locker/locker-ui/main.cpp
function main (line 25) | int main(int argc, char* argv[]) {
FILE: locker/locker-ui/mainwindow.cpp
type MainWindowPrivate (line 11) | struct MainWindowPrivate {
FILE: locker/locker-ui/mainwindow.h
function namespace (line 6) | namespace Ui {
type MainWindowPrivate (line 10) | struct MainWindowPrivate
function class (line 11) | class MainWindow : public QMainWindow {
FILE: locker/locker-ui/underlineanimation.cpp
function QSize (line 24) | QSize UnderlineAnimation::sizeHint() const {
FILE: locker/locker-ui/underlineanimation.h
function class (line 10) | class UnderlineAnimation : public QWidget
FILE: platform/cursorhandler.cpp
type CursorHandlerPrivate (line 31) | struct CursorHandlerPrivate {
FILE: platform/cursorhandler.h
type CursorHandlerPrivate (line 25) | struct CursorHandlerPrivate
function class (line 26) | class CursorHandler : public QObject {
FILE: platform/fontformat.h
function namespace (line 25) | namespace FontFormat {
FILE: platform/iconloaderengine.cpp
type IconLoaderEnginePrivate (line 24) | struct IconLoaderEnginePrivate {
function QPixmap (line 42) | QPixmap IconLoaderEngine::pixmap(const QSize& size, QIcon::Mode mode, QI...
function QSize (line 61) | QSize IconLoaderEngine::actualSize(const QSize& size, QIcon::Mode mode, ...
function QString (line 79) | QString IconLoaderEngine::key() const {
function QIconEngine (line 83) | QIconEngine* IconLoaderEngine::clone() const {
function QString (line 104) | QString IconLoaderEngine::iconName() {
function QPixmap (line 116) | QPixmap IconLoaderEngine::scaledPixmap(const QSize& size, QIcon::Mode mo...
FILE: platform/iconloaderengine.h
type IconLoaderEnginePrivate (line 25) | struct IconLoaderEnginePrivate
function class (line 26) | class IconLoaderEngine : public QIconEngine {
FILE: platform/messagedialog/messagedialog.cpp
type MessageDialogPrivate (line 27) | struct MessageDialogPrivate {
function QRect (line 210) | QRect MessageDialog::frameGeometry() {
FILE: platform/messagedialog/messagedialog.h
function namespace (line 26) | namespace Ui {
type MessageDialogPrivate (line 30) | struct MessageDialogPrivate
function class (line 31) | class MessageDialog : public QWidget {
FILE: platform/messagedialog/messagedialogcontroller.h
type MessageDialogControllerPrivate (line 25) | struct MessageDialogControllerPrivate
function class (line 26) | class MessageDialogController : public QObject
FILE: platform/messagedialog/messagedialoghelper.cpp
type MessageDialogHelperPrivate (line 34) | struct MessageDialogHelperPrivate {
function QVariant (line 148) | QVariant MessageDialogHelper::styleHint(StyleHint hint) const {
FILE: platform/messagedialog/messagedialoghelper.h
type MessageDialogHelperPrivate (line 25) | struct MessageDialogHelperPrivate
function class (line 26) | class MessageDialogHelper : public QPlatformMessageDialogHelper {
FILE: platform/paletteformat.cpp
function QColor (line 77) | QColor PaletteFormat::colorFromValue(QJsonValue value) {
FILE: platform/paletteformat.h
function namespace (line 27) | namespace PaletteFormat {
FILE: platform/platformtheme.cpp
type PlatformThemePrivate (line 51) | struct PlatformThemePrivate {
function QPlatformMenuItem (line 130) | QPlatformMenuItem* PlatformTheme::createPlatformMenuItem() const {
function QPlatformMenu (line 134) | QPlatformMenu* PlatformTheme::createPlatformMenu() const {
function QPlatformMenuBar (line 138) | QPlatformMenuBar* PlatformTheme::createPlatformMenuBar() const {
function QPlatformDialogHelper (line 159) | QPlatformDialogHelper* PlatformTheme::createPlatformDialogHelper(QPlatfo...
function QPlatformSystemTrayIcon (line 172) | QPlatformSystemTrayIcon* PlatformTheme::createPlatformSystemTrayIcon() c...
function QPalette (line 176) | const QPalette* PlatformTheme::palette(QPlatformTheme::Palette type) con...
function QFont (line 183) | const QFont* PlatformTheme::font(QPlatformTheme::Font type) const {
function QVariant (line 193) | QVariant PlatformTheme::themeHint(QPlatformTheme::ThemeHint hint) const {
function QPixmap (line 245) | QPixmap PlatformTheme::standardPixmap(QPlatformTheme::StandardPixmap sp,...
function QIcon (line 249) | QIcon PlatformTheme::fileIcon(const QFileInfo& fileInfo, QPlatformTheme:...
function QIconEngine (line 254) | QIconEngine* PlatformTheme::createIconEngine(const QString& iconName) co...
function QString (line 266) | QString PlatformTheme::standardButtonText(int button) const {
function QKeySequence (line 270) | QKeySequence PlatformTheme::standardButtonShortcut(int button) const {
FILE: platform/platformtheme.h
type PlatformThemePrivate (line 25) | struct PlatformThemePrivate
function class (line 26) | class PlatformTheme : public QPlatformTheme {
FILE: platform/plugin.cpp
function QPlatformTheme (line 29) | QPlatformTheme* Plugin::create(const QString& key, const QStringList& pa...
FILE: platform/plugin.h
function class (line 25) | class Plugin : public QPlatformThemePlugin {
FILE: plugins/AccessibilityPlugin/accessibilitydaemon.cpp
type AccessibilityDaemonPrivate (line 27) | struct AccessibilityDaemonPrivate {
FILE: plugins/AccessibilityPlugin/accessibilitydaemon.h
type AccessibilityDaemonPrivate (line 25) | struct AccessibilityDaemonPrivate
function class (line 26) | class AccessibilityDaemon : public QObject {
FILE: plugins/AccessibilityPlugin/chunks/stickykeyschunk.cpp
type StickyKeysChunkPrivate (line 31) | struct StickyKeysChunkPrivate {
function QSize (line 70) | QSize StickyKeysChunk::sizeHint() const {
function QString (line 86) | QString StickyKeysChunk::name() {
function QWidget (line 146) | QWidget* StickyKeysChunk::quickWidget() {
FILE: plugins/AccessibilityPlugin/chunks/stickykeyschunk.h
type StickyKeysChunkPrivate (line 25) | struct StickyKeysChunkPrivate
function class (line 26) | class StickyKeysChunk : public Chunk {
FILE: plugins/AccessibilityPlugin/plugin.cpp
type PluginPrivate (line 36) | struct PluginPrivate {
FILE: plugins/AccessibilityPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/AccessibilityPlugin/settings/accessibilitysettingspane.cpp
type AccessibilitySettingsPanePrivate (line 28) | struct AccessibilitySettingsPanePrivate {
function QString (line 61) | QString AccessibilitySettingsPane::name() {
function QString (line 65) | QString AccessibilitySettingsPane::displayName() {
function QIcon (line 69) | QIcon AccessibilitySettingsPane::icon() {
function QWidget (line 73) | QWidget* AccessibilitySettingsPane::leftPane() {
FILE: plugins/AccessibilityPlugin/settings/accessibilitysettingspane.h
function namespace (line 25) | namespace Ui {
type AccessibilitySettingsPanePrivate (line 29) | struct AccessibilitySettingsPanePrivate
function class (line 30) | class AccessibilitySettingsPane : public StatusCenterPane {
FILE: plugins/AudioPlugin/audiochunk.cpp
type AudioChunkPrivate (line 27) | struct AudioChunkPrivate {
FILE: plugins/AudioPlugin/audiochunk.h
type AudioChunkPrivate (line 25) | struct AudioChunkPrivate
function class (line 26) | class AudioChunk : public IconTextChunk {
FILE: plugins/AudioPlugin/audioquickwidget.cpp
type AudioQuickWidgetPrivate (line 32) | struct AudioQuickWidgetPrivate {
function QSize (line 83) | QSize AudioQuickWidget::sizeHint() const {
FILE: plugins/AudioPlugin/audioquickwidget.h
function namespace (line 27) | namespace Ui {
type AudioQuickWidgetPrivate (line 31) | struct AudioQuickWidgetPrivate
function class (line 32) | class AudioQuickWidget : public QWidget {
FILE: plugins/AudioPlugin/common.cpp
function QString (line 62) | QString Common::nameForSink(PulseAudioQt::Sink* sink) {
FILE: plugins/AudioPlugin/common.h
function namespace (line 25) | namespace Common {
FILE: plugins/AudioPlugin/eventhandler.cpp
type EventHandlerPrivate (line 33) | struct EventHandlerPrivate {
FILE: plugins/AudioPlugin/eventhandler.h
function namespace (line 25) | namespace PulseAudioQt {
type EventHandlerPrivate (line 29) | struct EventHandlerPrivate
function class (line 30) | class EventHandler : public QObject {
FILE: plugins/AudioPlugin/micchunk.h
function class (line 26) | class MicChunk : public IconTextChunk {
FILE: plugins/AudioPlugin/plugin.cpp
type PluginPrivate (line 35) | struct PluginPrivate {
FILE: plugins/AudioPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/AudioPlugin/quickwidgetsink.cpp
type QuickWidgetSinkPrivate (line 30) | struct QuickWidgetSinkPrivate {
FILE: plugins/AudioPlugin/quickwidgetsink.h
function namespace (line 27) | namespace Ui {
type QuickWidgetSinkPrivate (line 31) | struct QuickWidgetSinkPrivate
function class (line 32) | class QuickWidgetSink : public QWidget {
FILE: plugins/AudioPlugin/quickwidgetsinkinput.cpp
type QuickWidgetSinkInputPrivate (line 30) | struct QuickWidgetSinkInputPrivate {
FILE: plugins/AudioPlugin/quickwidgetsinkinput.h
function namespace (line 27) | namespace Ui {
type QuickWidgetSinkInputPrivate (line 31) | struct QuickWidgetSinkInputPrivate
function class (line 32) | class QuickWidgetSinkInput : public QWidget {
FILE: plugins/BluetoothPlugin/bluetoothplugincommon.cpp
function QString (line 26) | QString BluetoothPluginCommon::stringForDeviceType(BluezQt::Device::Type...
FILE: plugins/BluetoothPlugin/bluetoothplugincommon.h
function class (line 25) | class BluetoothPluginCommon : public QObject {
FILE: plugins/BluetoothPlugin/btagent.cpp
type BtAgentPrivate (line 27) | struct BtAgentPrivate {
function QDBusObjectPath (line 47) | QDBusObjectPath BtAgent::objectPath() const {
FILE: plugins/BluetoothPlugin/btagent.h
type BtAgentPrivate (line 25) | struct BtAgentPrivate
function class (line 27) | class BtAgent : public BluezQt::Agent {
FILE: plugins/BluetoothPlugin/btobex.cpp
type BtObexPrivate (line 37) | struct BtObexPrivate {
function QDBusObjectPath (line 64) | QDBusObjectPath BtObex::objectPath() const {
FILE: plugins/BluetoothPlugin/btobex.h
type BtObexPrivate (line 25) | struct BtObexPrivate
function class (line 26) | class BtObex : public BluezQt::ObexAgent {
FILE: plugins/BluetoothPlugin/chunk/bluetoothchunk.cpp
type BluetoothChunkPrivate (line 27) | struct BluetoothChunkPrivate {
FILE: plugins/BluetoothPlugin/chunk/bluetoothchunk.h
type BluetoothChunkPrivate (line 26) | struct BluetoothChunkPrivate
function class (line 27) | class BluetoothChunk : public IconTextChunk {
FILE: plugins/BluetoothPlugin/devicedelegate.cpp
type DeviceDelegatePrivate (line 31) | struct DeviceDelegatePrivate {
type Rects (line 34) | struct Rects {
method Rects (line 40) | Rects(const QStyleOptionViewItem& option) {
function QSize (line 153) | QSize DeviceDelegate::sizeHint(const QStyleOptionViewItem& option, const...
FILE: plugins/BluetoothPlugin/devicedelegate.h
type DeviceDelegatePrivate (line 25) | struct DeviceDelegatePrivate
function class (line 26) | class DeviceDelegate : public QAbstractItemDelegate {
FILE: plugins/BluetoothPlugin/plugin.cpp
type PluginPrivate (line 36) | struct PluginPrivate {
FILE: plugins/BluetoothPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/BluetoothPlugin/settings/bluetoothsettingspane.cpp
type BluetoothSettingsPanePrivate (line 40) | struct BluetoothSettingsPanePrivate {
function QString (line 176) | QString BluetoothSettingsPane::name() {
function QString (line 180) | QString BluetoothSettingsPane::displayName() {
function QIcon (line 184) | QIcon BluetoothSettingsPane::icon() {
function QWidget (line 188) | QWidget* BluetoothSettingsPane::leftPane() {
FILE: plugins/BluetoothPlugin/settings/bluetoothsettingspane.h
function namespace (line 27) | namespace Ui {
type BluetoothSettingsPanePrivate (line 31) | struct BluetoothSettingsPanePrivate
function class (line 32) | class BluetoothSettingsPane : public StatusCenterPane {
FILE: plugins/BluetoothPlugin/settings/devicepopover.cpp
type DevicePopoverPrivate (line 28) | struct DevicePopoverPrivate {
FILE: plugins/BluetoothPlugin/settings/devicepopover.h
function namespace (line 26) | namespace Ui {
type DevicePopoverPrivate (line 30) | struct DevicePopoverPrivate
function class (line 31) | class DevicePopover : public QWidget {
FILE: plugins/BluetoothPlugin/settings/pairpopover.cpp
type PairPopoverPrivate (line 32) | struct PairPopoverPrivate {
FILE: plugins/BluetoothPlugin/settings/pairpopover.h
function namespace (line 27) | namespace Ui {
type PairPopoverPrivate (line 31) | struct PairPopoverPrivate
function class (line 33) | class PairPopover : public QWidget {
FILE: plugins/BrightnessPlugin/plugin.cpp
type PluginPrivate (line 36) | struct PluginPrivate {
FILE: plugins/BrightnessPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/BrightnessPlugin/screenbrightnesschunk.cpp
function QString (line 61) | QString ScreenBrightnessChunk::name() {
FILE: plugins/BrightnessPlugin/screenbrightnesschunk.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class ScreenBrightnessChunk : public Chunk {
FILE: plugins/DefaultsPlugin/defaultspane.cpp
function QString (line 76) | QString DefaultsPane::name() {
function QString (line 80) | QString DefaultsPane::displayName() {
function QIcon (line 84) | QIcon DefaultsPane::icon() {
function QWidget (line 88) | QWidget* DefaultsPane::leftPane() {
FILE: plugins/DefaultsPlugin/defaultspane.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class DefaultsPane : public StatusCenterPane {
FILE: plugins/DefaultsPlugin/plugin.cpp
type PluginPrivate (line 35) | struct PluginPrivate {
FILE: plugins/DefaultsPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/DisplayPlugin/arrange/arrangecontroller.cpp
type ArrangeControllerPrivate (line 28) | struct ArrangeControllerPrivate {
FILE: plugins/DisplayPlugin/arrange/arrangecontroller.h
type ArrangeControllerPrivate (line 25) | struct ArrangeControllerPrivate
function class (line 26) | class ArrangeController : public QObject {
FILE: plugins/DisplayPlugin/arrange/arrangewidget.cpp
type ArrangeWidgetPrivate (line 30) | struct ArrangeWidgetPrivate {
FILE: plugins/DisplayPlugin/arrange/arrangewidget.h
function namespace (line 25) | namespace Ui {
type ArrangeWidgetPrivate (line 30) | struct ArrangeWidgetPrivate
function class (line 31) | class ArrangeWidget : public QWidget {
FILE: plugins/DisplayPlugin/arrange/overlaywindow.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class OverlayWindow : public QDialog
FILE: plugins/DisplayPlugin/arrange/screenarranger.cpp
type Snap (line 29) | struct Snap {
method Snap (line 30) | Snap() {
method Snap (line 34) | Snap(double local, int global) {
type ScreenArrangerPrivate (line 49) | struct ScreenArrangerPrivate {
function QSize (line 71) | QSize ScreenArranger::sizeHint() const {
function QRectF (line 110) | QRectF ScreenArranger::totalScreen() {
function QRectF (line 121) | QRectF ScreenArranger::screenRect(SystemScreen* screen) {
function QRectF (line 126) | QRectF ScreenArranger::draggedScreenRect(QRectF screenRect) {
FILE: plugins/DisplayPlugin/arrange/screenarranger.h
type ScreenArrangerPrivate (line 26) | struct ScreenArrangerPrivate
function class (line 27) | class ScreenArranger : public QWidget {
FILE: plugins/DisplayPlugin/plugin.cpp
type PluginPrivate (line 41) | struct PluginPrivate {
FILE: plugins/DisplayPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/DisplayPlugin/redshift/colorramp.cpp
function interpolate_color (line 292) | static void interpolate_color(double a, const double* c1, const double* ...
function colorramp_fill (line 298) | void colorramp_fill(quint16* gamma_r, quint16* gamma_g, quint16* gamma_b...
function gammaRampsForTemp (line 313) | void gammaRampsForTemp(double* gamma_r, double* gamma_g, double* gamma_b...
FILE: plugins/DisplayPlugin/redshift/redshiftdaemon.cpp
type RedshiftDaemonPrivate (line 39) | struct RedshiftDaemonPrivate {
type RedshiftState (line 40) | enum RedshiftState {
FILE: plugins/DisplayPlugin/redshift/redshiftdaemon.h
type RedshiftDaemonPrivate (line 25) | struct RedshiftDaemonPrivate
function class (line 26) | class RedshiftDaemon : public QObject {
FILE: plugins/DisplayPlugin/settings/displaysettings.cpp
type DisplaySettingsPrivate (line 31) | struct DisplaySettingsPrivate {
function QString (line 97) | QString DisplaySettings::name() {
function QString (line 101) | QString DisplaySettings::displayName() {
function QIcon (line 105) | QIcon DisplaySettings::icon() {
function QWidget (line 109) | QWidget* DisplaySettings::leftPane() {
FILE: plugins/DisplayPlugin/settings/displaysettings.h
function namespace (line 26) | namespace Ui {
type DisplaySettingsPrivate (line 30) | struct DisplaySettingsPrivate
function class (line 31) | class DisplaySettings : public StatusCenterPane {
FILE: plugins/InputPlugin/backends/settingsbackend.cpp
function SettingsBackend (line 37) | SettingsBackend* SettingsBackend::backendForPlatform() {
FILE: plugins/InputPlugin/backends/settingsbackend.h
function class (line 25) | class SettingsBackend : public QObject {
FILE: plugins/InputPlugin/backends/xinputbackend.h
function class (line 25) | class XInputBackend : public SettingsBackend {
FILE: plugins/InputPlugin/chunks/keyboardlayoutchunk.cpp
type KeyboardLayoutChunkPrivate (line 29) | struct KeyboardLayoutChunkPrivate {
function QString (line 100) | QString KeyboardLayoutChunk::name() {
FILE: plugins/InputPlugin/chunks/keyboardlayoutchunk.h
function namespace (line 26) | namespace Ui {
type KeyboardLayoutChunkPrivate (line 30) | struct KeyboardLayoutChunkPrivate
function class (line 31) | class KeyboardLayoutChunk : public Chunk {
FILE: plugins/InputPlugin/daemons/keyboarddaemon.cpp
type KeyboardDaemonPrivate (line 31) | struct KeyboardDaemonPrivate {
FILE: plugins/InputPlugin/daemons/keyboarddaemon.h
type KeyboardDaemonPrivate (line 25) | struct KeyboardDaemonPrivate
function class (line 26) | class KeyboardDaemon : public QObject {
FILE: plugins/InputPlugin/models/selectedkeyboardlayoutsmodel.cpp
type SelectedKeyboardLayoutsModelPrivate (line 25) | struct SelectedKeyboardLayoutsModelPrivate {
function QVariant (line 47) | QVariant SelectedKeyboardLayoutsModel::data(const QModelIndex& index, in...
FILE: plugins/InputPlugin/models/selectedkeyboardlayoutsmodel.h
type SelectedKeyboardLayoutsModelPrivate (line 25) | struct SelectedKeyboardLayoutsModelPrivate
function class (line 26) | class SelectedKeyboardLayoutsModel : public QAbstractListModel {
FILE: plugins/InputPlugin/plugin.cpp
type PluginPrivate (line 33) | struct PluginPrivate {
FILE: plugins/InputPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/InputPlugin/settings/inputsettingsleftpane.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class InputSettingsLeftPane : public QWidget {
FILE: plugins/InputPlugin/settings/inputsettingspane.cpp
type InputSettingsPanePrivate (line 26) | struct InputSettingsPanePrivate {
function QString (line 50) | QString InputSettingsPane::name() {
function QString (line 54) | QString InputSettingsPane::displayName() {
function QIcon (line 58) | QIcon InputSettingsPane::icon() {
function QWidget (line 62) | QWidget* InputSettingsPane::leftPane() {
FILE: plugins/InputPlugin/settings/inputsettingspane.h
function namespace (line 25) | namespace Ui {
type InputSettingsPanePrivate (line 29) | struct InputSettingsPanePrivate
function class (line 30) | class InputSettingsPane : public StatusCenterPane {
FILE: plugins/InputPlugin/settings/keyboardsettings.cpp
type KeyboardSettingsPrivate (line 31) | struct KeyboardSettingsPrivate {
FILE: plugins/InputPlugin/settings/keyboardsettings.h
function namespace (line 25) | namespace Ui {
type KeyboardSettingsPrivate (line 29) | struct KeyboardSettingsPrivate
function class (line 30) | class KeyboardSettings : public QWidget {
FILE: plugins/InputPlugin/settings/mousesettings.cpp
type MouseSettingsPrivate (line 28) | struct MouseSettingsPrivate {
FILE: plugins/InputPlugin/settings/mousesettings.h
function namespace (line 25) | namespace Ui {
type MouseSettingsPrivate (line 29) | struct MouseSettingsPrivate
function class (line 30) | class MouseSettings : public QWidget {
FILE: plugins/LocalePlugin/localeplugincommon.h
function namespace (line 25) | namespace LocalePluginCommon {
FILE: plugins/LocalePlugin/onboarding/onboardingregion.cpp
function QString (line 47) | QString OnboardingRegion::name() {
function QString (line 51) | QString OnboardingRegion::displayName() {
FILE: plugins/LocalePlugin/onboarding/onboardingregion.h
function namespace (line 26) | namespace Ui {
function class (line 30) | class OnboardingRegion : public OnboardingPage {
FILE: plugins/LocalePlugin/plugin.cpp
type PluginPrivate (line 35) | struct PluginPrivate {
FILE: plugins/LocalePlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/LocalePlugin/settings/localesettingspane.cpp
function QString (line 113) | QString LocaleSettingsPane::name() {
function QString (line 117) | QString LocaleSettingsPane::displayName() {
function QIcon (line 121) | QIcon LocaleSettingsPane::icon() {
function QWidget (line 125) | QWidget* LocaleSettingsPane::leftPane() {
FILE: plugins/LocalePlugin/settings/localesettingspane.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class LocaleSettingsPane : public StatusCenterPane {
FILE: plugins/NetworkPlugin/chunk/chunkupdater.cpp
type ChunkUpdaterPrivate (line 22) | struct ChunkUpdaterPrivate {
function QIcon (line 35) | QIcon ChunkUpdater::icon() {
function QString (line 39) | QString ChunkUpdater::text() {
FILE: plugins/NetworkPlugin/chunk/chunkupdater.h
type ChunkUpdaterPrivate (line 26) | struct ChunkUpdaterPrivate
function class (line 27) | class ChunkUpdater : public QObject {
FILE: plugins/NetworkPlugin/chunk/genericchunkupdater.h
function class (line 25) | class GenericChunkUpdater : public ChunkUpdater {
FILE: plugins/NetworkPlugin/chunk/networkchunk.cpp
type NetworkChunkPrivate (line 40) | struct NetworkChunkPrivate {
FILE: plugins/NetworkPlugin/chunk/networkchunk.h
type NetworkChunkPrivate (line 25) | struct NetworkChunkPrivate
function class (line 26) | class NetworkChunk : public IconTextChunk {
FILE: plugins/NetworkPlugin/chunk/wiredchunkupdater.h
function class (line 25) | class WiredChunkUpdater : public ChunkUpdater {
FILE: plugins/NetworkPlugin/chunk/wirelesschunkupdater.cpp
type WirelessChunkUpdaterPrivate (line 28) | struct WirelessChunkUpdaterPrivate {
FILE: plugins/NetworkPlugin/chunk/wirelesschunkupdater.h
type WirelessChunkUpdaterPrivate (line 25) | struct WirelessChunkUpdaterPrivate
function class (line 26) | class WirelessChunkUpdater : public ChunkUpdater {
FILE: plugins/NetworkPlugin/models/deviceconnectionlistmodel.cpp
type DeviceConnectionListModelPrivate (line 26) | struct DeviceConnectionListModelPrivate {
function QVariant (line 46) | QVariant DeviceConnectionListModel::data(const QModelIndex& index, int r...
FILE: plugins/NetworkPlugin/models/deviceconnectionlistmodel.h
type DeviceConnectionListModelPrivate (line 25) | struct DeviceConnectionListModelPrivate
function class (line 26) | class DeviceConnectionListModel : public QAbstractListModel {
FILE: plugins/NetworkPlugin/models/wirelessaccesspointsmodel.cpp
type WirelessAccessPointsModelPrivate (line 28) | struct WirelessAccessPointsModelPrivate {
function QVariant (line 60) | QVariant WirelessAccessPointsModel::data(const QModelIndex& index, int r...
FILE: plugins/NetworkPlugin/models/wirelessaccesspointsmodel.h
type WirelessAccessPointsModelPrivate (line 25) | struct WirelessAccessPointsModelPrivate
function class (line 26) | class WirelessAccessPointsModel : public QAbstractListModel {
FILE: plugins/NetworkPlugin/models/wirelessconnectionlistmodel.cpp
type WirelessConnectionListModelPrivate (line 26) | struct WirelessConnectionListModelPrivate {
function QVariant (line 50) | QVariant WirelessConnectionListModel::data(const QModelIndex& index, int...
FILE: plugins/NetworkPlugin/models/wirelessconnectionlistmodel.h
type WirelessConnectionListModelPrivate (line 25) | struct WirelessConnectionListModelPrivate
function class (line 26) | class WirelessConnectionListModel : public QAbstractListModel {
FILE: plugins/NetworkPlugin/models/wirelessnetworklistdelegate.cpp
type WirelessNetworkListDelegatePrivate (line 31) | struct WirelessNetworkListDelegatePrivate {
type Rects (line 34) | struct Rects {
method Rects (line 39) | Rects(const QStyleOptionViewItem& option) {
function QSize (line 173) | QSize WirelessNetworkListDelegate::sizeHint(const QStyleOptionViewItem& ...
FILE: plugins/NetworkPlugin/models/wirelessnetworklistdelegate.h
type WirelessNetworkListDelegatePrivate (line 25) | struct WirelessNetworkListDelegatePrivate
function class (line 26) | class WirelessNetworkListDelegate : public QAbstractItemDelegate {
FILE: plugins/NetworkPlugin/networkplugincommon.cpp
function QString (line 24) | QString NetworkPluginCommon::stateChangeReasonToString(NetworkManager::D...
function QString (line 155) | QString NetworkPluginCommon::iconForSignalStrength(int strength, Network...
function QString (line 188) | QString NetworkPluginCommon::operatorNameForModem(ModemManager::ModemDev...
FILE: plugins/NetworkPlugin/networkplugincommon.h
function class (line 27) | class NetworkPluginCommon {
FILE: plugins/NetworkPlugin/onboarding/onboardingnetwork.cpp
function QString (line 91) | QString OnboardingNetwork::name() {
function QString (line 95) | QString OnboardingNetwork::displayName() {
FILE: plugins/NetworkPlugin/onboarding/onboardingnetwork.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class OnboardingNetwork : public OnboardingPage {
FILE: plugins/NetworkPlugin/onboarding/wiredonboardingsetup.cpp
type WiredOnboardingSetupPrivate (line 33) | struct WiredOnboardingSetupPrivate {
FILE: plugins/NetworkPlugin/onboarding/wiredonboardingsetup.h
function namespace (line 25) | namespace Ui {
type WiredOnboardingSetupPrivate (line 29) | struct WiredOnboardingSetupPrivate
function class (line 31) | class WiredOnboardingSetup : public QWidget {
FILE: plugins/NetworkPlugin/onboarding/wirelessonboardingsetup.cpp
type WirelessOnboardingSetupPrivate (line 31) | struct WirelessOnboardingSetupPrivate {
FILE: plugins/NetworkPlugin/onboarding/wirelessonboardingsetup.h
function namespace (line 25) | namespace Ui {
type WirelessOnboardingSetupPrivate (line 29) | struct WirelessOnboardingSetupPrivate
function class (line 31) | class WirelessOnboardingSetup : public QWidget {
FILE: plugins/NetworkPlugin/plugin.cpp
type PluginPrivate (line 37) | struct PluginPrivate {
FILE: plugins/NetworkPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/NetworkPlugin/statusCenter/connectionEditor/connectioneditorpane.h
function class (line 26) | class ConnectionEditorPane : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/connectionEditor/ipv4connectioneditorpane.cpp
type IPv4ConnectionEditorPanePrivate (line 28) | struct IPv4ConnectionEditorPanePrivate {
function QString (line 68) | QString IPv4ConnectionEditorPane::displayName() {
FILE: plugins/NetworkPlugin/statusCenter/connectionEditor/ipv4connectioneditorpane.h
function namespace (line 25) | namespace Ui {
type IPv4ConnectionEditorPanePrivate (line 29) | struct IPv4ConnectionEditorPanePrivate
function class (line 30) | class IPv4ConnectionEditorPane : public ConnectionEditorPane {
FILE: plugins/NetworkPlugin/statusCenter/connectionEditor/networkconnectioneditor.cpp
type NetworkConnectionEditorPrivate (line 31) | struct NetworkConnectionEditorPrivate {
FILE: plugins/NetworkPlugin/statusCenter/connectionEditor/networkconnectioneditor.h
function namespace (line 27) | namespace Ui {
type NetworkConnectionEditorPrivate (line 31) | struct NetworkConnectionEditorPrivate
function class (line 32) | class NetworkConnectionEditor : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/connectionEditor/wificonnectioneditorpane.cpp
type WifiConnectionEditorPanePrivate (line 27) | struct WifiConnectionEditorPanePrivate {
function QString (line 46) | QString WifiConnectionEditorPane::displayName() {
FILE: plugins/NetworkPlugin/statusCenter/connectionEditor/wificonnectioneditorpane.h
function namespace (line 25) | namespace Ui {
type WifiConnectionEditorPanePrivate (line 29) | struct WifiConnectionEditorPanePrivate
function class (line 30) | class WifiConnectionEditorPane : public ConnectionEditorPane {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/abstractdevicepane.h
function class (line 26) | class AbstractDevicePane : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/cellularpane.cpp
type CellularPanePrivate (line 48) | struct CellularPanePrivate {
function QString (line 396) | QString CellularPane::operatorName() {
function QListWidgetItem (line 424) | QListWidgetItem* CellularPane::leftPaneItem() {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/cellularpane.h
function namespace (line 26) | namespace Ui {
type CellularPanePrivate (line 30) | struct CellularPanePrivate
function class (line 31) | class CellularPane : public AbstractDevicePane {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/devicepane.cpp
type DevicePanePrivate (line 29) | struct DevicePanePrivate {
function QListWidgetItem (line 68) | QListWidgetItem* DevicePane::leftPaneItem() {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/devicepane.h
function namespace (line 25) | namespace Ui {
type DevicePanePrivate (line 29) | struct DevicePanePrivate
function class (line 30) | class DevicePane : public AbstractDevicePane {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/wifidevicepane.cpp
type WifiDevicePanePrivate (line 49) | struct WifiDevicePanePrivate {
function QListWidgetItem (line 372) | QListWidgetItem* WifiDevicePane::leftPaneItem() {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/wifidevicepane.h
function namespace (line 25) | namespace Ui {
type WifiDevicePanePrivate (line 30) | struct WifiDevicePanePrivate
function class (line 31) | class WifiDevicePane : public AbstractDevicePane {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/wireddevicepane.cpp
type WiredDevicePanePrivate (line 38) | struct WiredDevicePanePrivate {
function QListWidgetItem (line 214) | QListWidgetItem* WiredDevicePane::leftPaneItem() {
FILE: plugins/NetworkPlugin/statusCenter/devicePanes/wireddevicepane.h
function namespace (line 25) | namespace Ui {
type WiredDevicePanePrivate (line 29) | struct WiredDevicePanePrivate
function class (line 30) | class WiredDevicePane : public AbstractDevicePane {
FILE: plugins/NetworkPlugin/statusCenter/eap/securityeap.h
function class (line 26) | class SecurityEap : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/eap/securityeappeap.cpp
type SecurityEapPeapPrivate (line 27) | struct SecurityEapPeapPrivate {
FILE: plugins/NetworkPlugin/statusCenter/eap/securityeappeap.h
function namespace (line 25) | namespace Ui {
type SecurityEapPeapPrivate (line 29) | struct SecurityEapPeapPrivate
function class (line 30) | class SecurityEapPeap : public SecurityEap {
FILE: plugins/NetworkPlugin/statusCenter/eap/securityeapunsupported.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class SecurityEapUnsupported : public SecurityEap {
FILE: plugins/NetworkPlugin/statusCenter/networkstatuscenterleftpane.h
function namespace (line 26) | namespace Ui {
function class (line 30) | class NetworkStatusCenterLeftPane : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/networkstatuscenterpane.cpp
type NetworkStatusCenterPanePrivate (line 39) | struct NetworkStatusCenterPanePrivate {
function QString (line 154) | QString NetworkStatusCenterPane::name() {
function QString (line 158) | QString NetworkStatusCenterPane::displayName() {
function QIcon (line 162) | QIcon NetworkStatusCenterPane::icon() {
function QWidget (line 166) | QWidget* NetworkStatusCenterPane::leftPane() {
FILE: plugins/NetworkPlugin/statusCenter/networkstatuscenterpane.h
function namespace (line 25) | namespace Ui {
type NetworkStatusCenterPanePrivate (line 30) | struct NetworkStatusCenterPanePrivate
function class (line 31) | class NetworkStatusCenterPane : public StatusCenterPane {
FILE: plugins/NetworkPlugin/statusCenter/popovers/connectionselectionpopover.cpp
type ConnectionSelectionPopoverPrivate (line 23) | struct ConnectionSelectionPopoverPrivate {
FILE: plugins/NetworkPlugin/statusCenter/popovers/connectionselectionpopover.h
function namespace (line 26) | namespace Ui {
type ConnectionSelectionPopoverPrivate (line 31) | struct ConnectionSelectionPopoverPrivate
function class (line 32) | class ConnectionSelectionPopover : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/popovers/simsettingspopover.cpp
type SimSettingsPopoverPrivate (line 28) | struct SimSettingsPopoverPrivate {
type Operation (line 31) | enum Operation {
FILE: plugins/NetworkPlugin/statusCenter/popovers/simsettingspopover.h
function namespace (line 26) | namespace Ui {
type SimSettingsPopoverPrivate (line 30) | struct SimSettingsPopoverPrivate
function class (line 31) | class SimSettingsPopover : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/popovers/tetheringsettingspopover.cpp
type TetheringSettingsPopoverPrivate (line 27) | struct TetheringSettingsPopoverPrivate {
FILE: plugins/NetworkPlugin/statusCenter/popovers/tetheringsettingspopover.h
function namespace (line 25) | namespace Ui {
type TetheringSettingsPopoverPrivate (line 29) | struct TetheringSettingsPopoverPrivate
function class (line 30) | class TetheringSettingsPopover : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/popovers/unlockmodempopover.cpp
type UnlockModemPopoverPrivate (line 28) | struct UnlockModemPopoverPrivate {
FILE: plugins/NetworkPlugin/statusCenter/popovers/unlockmodempopover.h
function namespace (line 26) | namespace Ui {
type UnlockModemPopoverPrivate (line 30) | struct UnlockModemPopoverPrivate
function class (line 31) | class UnlockModemPopover : public QWidget {
FILE: plugins/NetworkPlugin/statusCenter/popovers/wirelessnetworkselectionpopover.cpp
type WirelessNetworkSelectionPopoverPrivate (line 45) | struct WirelessNetworkSelectionPopoverPrivate {
FILE: plugins/NetworkPlugin/statusCenter/popovers/wirelessnetworkselectionpopover.h
function namespace (line 25) | namespace Ui {
type WirelessNetworkSelectionPopoverPrivate (line 29) | struct WirelessNetworkSelectionPopoverPrivate
function class (line 30) | class WirelessNetworkSelectionPopover : public QWidget {
FILE: plugins/NetworkPlugin/switchmanager.cpp
type SwitchManagerPrivate (line 39) | struct SwitchManagerPrivate {
FILE: plugins/NetworkPlugin/switchmanager.h
type SwitchManagerPrivate (line 25) | struct SwitchManagerPrivate
function class (line 26) | class SwitchManager : public QObject {
FILE: plugins/NotificationsPlugin/chunks/mprischunk.cpp
type MprisChunkPrivate (line 32) | struct MprisChunkPrivate {
function QString (line 205) | QString MprisChunk::name() {
FILE: plugins/NotificationsPlugin/chunks/mprischunk.h
function namespace (line 25) | namespace Ui {
type MprisChunkPrivate (line 29) | struct MprisChunkPrivate
function class (line 30) | class MprisChunk : public Chunk {
FILE: plugins/NotificationsPlugin/dbus/notifications_adaptor.cpp
function QStringList (line 40) | QStringList NotificationsAdaptor::GetCapabilities() {
function QString (line 47) | QString NotificationsAdaptor::GetServerInformation(QString& vendor, QStr...
function uint (line 52) | uint NotificationsAdaptor::Notify(const QString& appName, uint replacesI...
FILE: plugins/NotificationsPlugin/dbus/notificationsinterface.cpp
type NotificationsInterfacePrivate (line 27) | struct NotificationsInterfacePrivate {
function QStringList (line 47) | QStringList NotificationsInterface::GetCapabilities() {
function quint32 (line 51) | quint32 NotificationsInterface::Notify(QString appName, quint32 replaces...
function QString (line 102) | QString NotificationsInterface::GetServerInformation(QString& vendor, QS...
FILE: plugins/NotificationsPlugin/dbus/notificationsinterface.h
type NotificationsInterfacePrivate (line 27) | struct NotificationsInterfacePrivate
function class (line 28) | class NotificationsInterface : public QObject {
FILE: plugins/NotificationsPlugin/drawer/hudwidget.cpp
type HudWidgetPrivate (line 31) | struct HudWidgetPrivate {
FILE: plugins/NotificationsPlugin/drawer/hudwidget.h
function namespace (line 25) | namespace Ui {
type HudWidgetPrivate (line 29) | struct HudWidgetPrivate
function class (line 30) | class HudWidget : public QWidget {
FILE: plugins/NotificationsPlugin/drawer/notificationsdrawer.cpp
type NotificationsDrawerPrivate (line 34) | struct NotificationsDrawerPrivate {
FILE: plugins/NotificationsPlugin/drawer/notificationsdrawer.h
function namespace (line 26) | namespace Ui {
type NotificationsDrawerPrivate (line 31) | struct NotificationsDrawerPrivate
function class (line 32) | class NotificationsDrawer : public QDialog {
FILE: plugins/NotificationsPlugin/drawer/notificationsdrawerwidget.cpp
type NotificationsDrawerWidgetPrivate (line 30) | struct NotificationsDrawerWidgetPrivate {
function QSize (line 178) | QSize NotificationsDrawerWidget::sizeHint() const {
FILE: plugins/NotificationsPlugin/drawer/notificationsdrawerwidget.h
function namespace (line 25) | namespace Ui {
type QPointer (line 30) | typedef QPointer<Notification> NotificationPtr;
type NotificationsDrawerWidgetPrivate (line 32) | struct NotificationsDrawerWidgetPrivate
function class (line 34) | class NotificationsDrawerWidget : public QWidget {
FILE: plugins/NotificationsPlugin/notification.cpp
type NotificationPrivate (line 24) | struct NotificationPrivate {
function quint32 (line 47) | quint32 Notification::id() {
function QString (line 56) | QString Notification::summary() {
function QString (line 65) | QString Notification::body() {
function qint32 (line 76) | qint32 Notification::timeout() {
function ApplicationPointer (line 85) | ApplicationPointer Notification::application() {
FILE: plugins/NotificationsPlugin/notification.h
type NotificationPrivate (line 29) | struct NotificationPrivate
function quint32 (line 33) | enum NotificationCloseReason : quint32 {
type QPointer (line 93) | typedef QPointer<Notification> NotificationPtr;
FILE: plugins/NotificationsPlugin/notificationtracker.cpp
type NotificationTrackerPrivate (line 27) | struct NotificationTrackerPrivate {
function NotificationPtr (line 40) | NotificationPtr NotificationTracker::createNotification() {
function NotificationPtr (line 54) | NotificationPtr NotificationTracker::get(quint32 id) {
FILE: plugins/NotificationsPlugin/notificationtracker.h
type QPointer (line 27) | typedef QPointer<Notification> NotificationPtr;
type NotificationTrackerPrivate (line 29) | struct NotificationTrackerPrivate
function class (line 30) | class NotificationTracker : public QObject {
FILE: plugins/NotificationsPlugin/plugin.cpp
type PluginPrivate (line 40) | struct PluginPrivate {
FILE: plugins/NotificationsPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/NotificationsPlugin/statuscenter/jobwidget.cpp
type JobWidgetPrivate (line 4) | struct JobWidgetPrivate {
FILE: plugins/NotificationsPlugin/statuscenter/jobwidget.h
function namespace (line 7) | namespace Ui {
type JobWidgetPrivate (line 11) | struct JobWidgetPrivate
function class (line 12) | class JobWidget : public QWidget {
FILE: plugins/NotificationsPlugin/statuscenter/notificationappgroup.cpp
type NotificationAppGroupPrivate (line 30) | struct NotificationAppGroupPrivate {
FILE: plugins/NotificationsPlugin/statuscenter/notificationappgroup.h
function namespace (line 28) | namespace Ui {
type NotificationAppGroupPrivate (line 32) | struct NotificationAppGroupPrivate
function class (line 33) | class NotificationAppGroup : public QWidget {
FILE: plugins/NotificationsPlugin/statuscenter/notificationsstatuscenterpane.cpp
type NotificationsStatusCenterPanePrivate (line 35) | struct NotificationsStatusCenterPanePrivate {
function NotificationAppGroup (line 109) | NotificationAppGroup* NotificationsStatusCenterPane::appGroupForDesktopE...
function QString (line 139) | QString NotificationsStatusCenterPane::name() {
function QString (line 143) | QString NotificationsStatusCenterPane::displayName() {
function QIcon (line 147) | QIcon NotificationsStatusCenterPane::icon() {
function QWidget (line 151) | QWidget* NotificationsStatusCenterPane::leftPane() {
FILE: plugins/NotificationsPlugin/statuscenter/notificationsstatuscenterpane.h
function namespace (line 27) | namespace Ui {
type NotificationsStatusCenterPanePrivate (line 34) | struct NotificationsStatusCenterPanePrivate
function class (line 35) | class NotificationsStatusCenterPane : public StatusCenterPane {
FILE: plugins/NotificationsPlugin/statuscenter/notificationwidget.cpp
type NotificationWidgetPrivate (line 25) | struct NotificationWidgetPrivate {
FILE: plugins/NotificationsPlugin/statuscenter/notificationwidget.h
function namespace (line 26) | namespace Ui {
type NotificationWidgetPrivate (line 30) | struct NotificationWidgetPrivate
function class (line 31) | class NotificationWidget : public QWidget {
FILE: plugins/OverviewPlugin/OverviewPane/overviewpane.cpp
type OverviewPanePrivate (line 40) | struct OverviewPanePrivate {
method OverviewPanePrivate (line 41) | OverviewPanePrivate() :
type Changeover (line 143) | struct Changeover {
function QString (line 337) | QString OverviewPane::name() {
function QString (line 341) | QString OverviewPane::displayName() {
function QIcon (line 345) | QIcon OverviewPane::icon() {
function QWidget (line 349) | QWidget* OverviewPane::leftPane() {
FILE: plugins/OverviewPlugin/OverviewPane/overviewpane.h
function namespace (line 25) | namespace Ui {
type OverviewPanePrivate (line 29) | struct OverviewPanePrivate
function class (line 30) | class OverviewPane : public StatusCenterPane {
FILE: plugins/OverviewPlugin/OverviewPane/worldclock.cpp
type WorldClockPrivate (line 30) | struct WorldClockPrivate {
FILE: plugins/OverviewPlugin/OverviewPane/worldclock.h
function namespace (line 26) | namespace Ui {
type WorldClockPrivate (line 30) | struct WorldClockPrivate
function class (line 31) | class WorldClock : public QWidget {
FILE: plugins/OverviewPlugin/clockchunk.cpp
function QString (line 66) | QString ClockChunk::name() {
FILE: plugins/OverviewPlugin/clockchunk.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class ClockChunk : public Chunk {
FILE: plugins/OverviewPlugin/plugin.cpp
type PluginPrivate (line 36) | struct PluginPrivate {
FILE: plugins/OverviewPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/PowerPlugin/eventhandler.cpp
type EventHandlerPrivate (line 49) | struct EventHandlerPrivate {
FILE: plugins/PowerPlugin/eventhandler.h
type EventHandlerPrivate (line 26) | struct EventHandlerPrivate
function class (line 27) | class EventHandler : public QObject {
FILE: plugins/PowerPlugin/plugin.cpp
type PluginPrivate (line 41) | struct PluginPrivate {
FILE: plugins/PowerPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/PowerPlugin/settings/powersettings.cpp
type PowerSettingsPrivate (line 10) | struct PowerSettingsPrivate {
function QString (line 69) | QString PowerSettings::name() {
function QString (line 73) | QString PowerSettings::displayName() {
function QIcon (line 77) | QIcon PowerSettings::icon() {
function QWidget (line 81) | QWidget* PowerSettings::leftPane() {
function QString (line 158) | QString PowerSettings::performanceInhibitionReason(QString reason) {
FILE: plugins/PowerPlugin/settings/powersettings.h
function namespace (line 8) | namespace Ui {
type PowerSettingsPrivate (line 13) | struct PowerSettingsPrivate
function class (line 14) | class PowerSettings : public StatusCenterPane {
FILE: plugins/PowerPlugin/sleepmonitor.cpp
type SleepMonitorPrivate (line 9) | struct SleepMonitorPrivate {
FILE: plugins/PowerPlugin/sleepmonitor.h
type SleepMonitorPrivate (line 6) | struct SleepMonitorPrivate
function class (line 8) | class SleepMonitor : public QObject {
FILE: plugins/ScreenshotPlugin/eventhandler.cpp
type EventHandlerPrivate (line 34) | struct EventHandlerPrivate {
FILE: plugins/ScreenshotPlugin/eventhandler.h
type EventHandlerPrivate (line 26) | struct EventHandlerPrivate
function class (line 27) | class EventHandler : public QObject {
FILE: plugins/ScreenshotPlugin/plugin.cpp
type PluginPrivate (line 32) | struct PluginPrivate {
FILE: plugins/ScreenshotPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/ThemePlugin/onboarding/onboardingtheme.cpp
type OnboardingThemePrivate (line 27) | struct OnboardingThemePrivate {
function QString (line 86) | QString OnboardingTheme::name() {
function QString (line 90) | QString OnboardingTheme::displayName() {
FILE: plugins/ThemePlugin/onboarding/onboardingtheme.h
function namespace (line 25) | namespace Ui {
type OnboardingThemePrivate (line 29) | struct OnboardingThemePrivate
function class (line 30) | class OnboardingTheme : public OnboardingPage {
FILE: plugins/ThemePlugin/plugin.cpp
type PluginPrivate (line 35) | struct PluginPrivate {
FILE: plugins/ThemePlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/ThemePlugin/settings/accentcolourpicker.cpp
type AccentColourPickerPrivate (line 27) | struct AccentColourPickerPrivate {
function QSize (line 58) | QSize AccentColourPicker::sizeHint() const {
FILE: plugins/ThemePlugin/settings/accentcolourpicker.h
type AccentColourPickerPrivate (line 25) | struct AccentColourPickerPrivate
function class (line 26) | class AccentColourPicker : public QWidget {
FILE: plugins/ThemePlugin/settings/themesettingspane.cpp
type ThemeSettingsPanePrivate (line 32) | struct ThemeSettingsPanePrivate {
function QString (line 193) | QString ThemeSettingsPane::name() {
function QString (line 197) | QString ThemeSettingsPane::displayName() {
function QIcon (line 201) | QIcon ThemeSettingsPane::icon() {
function QWidget (line 205) | QWidget* ThemeSettingsPane::leftPane() {
FILE: plugins/ThemePlugin/settings/themesettingspane.h
function namespace (line 25) | namespace Ui {
type ThemeSettingsPanePrivate (line 29) | struct ThemeSettingsPanePrivate
function class (line 30) | class ThemeSettingsPane : public StatusCenterPane {
FILE: plugins/TimeDatePlugin/onboarding/onboardingtimezone.cpp
type OnboardingTimeZonePrivate (line 29) | struct OnboardingTimeZonePrivate {
function QString (line 50) | QString OnboardingTimeZone::name() {
function QString (line 54) | QString OnboardingTimeZone::displayName() {
FILE: plugins/TimeDatePlugin/onboarding/onboardingtimezone.h
function namespace (line 26) | namespace Ui {
type OnboardingTimeZonePrivate (line 30) | struct OnboardingTimeZonePrivate
function class (line 31) | class OnboardingTimeZone : public OnboardingPage {
FILE: plugins/TimeDatePlugin/plugin.cpp
type PluginPrivate (line 36) | struct PluginPrivate {
FILE: plugins/TimeDatePlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/TimeDatePlugin/popovers/settimedatepopover.cpp
type SetTimeDatePopoverPrivate (line 28) | struct SetTimeDatePopoverPrivate {
FILE: plugins/TimeDatePlugin/popovers/settimedatepopover.h
function namespace (line 25) | namespace Ui {
type SetTimeDatePopoverPrivate (line 29) | struct SetTimeDatePopoverPrivate
function class (line 30) | class SetTimeDatePopover : public QWidget {
FILE: plugins/TimeDatePlugin/popovers/settimezonepopover.cpp
type SetTimezonePopoverPrivate (line 28) | struct SetTimezonePopoverPrivate {
FILE: plugins/TimeDatePlugin/popovers/settimezonepopover.h
function namespace (line 25) | namespace Ui {
type SetTimezonePopoverPrivate (line 29) | struct SetTimezonePopoverPrivate
function class (line 30) | class SetTimezonePopover : public QWidget {
FILE: plugins/TimeDatePlugin/settings/datetimepane.cpp
type DateTimePanePrivate (line 31) | struct DateTimePanePrivate {
function QString (line 67) | QString DateTimePane::name() {
function QString (line 71) | QString DateTimePane::displayName() {
function QIcon (line 75) | QIcon DateTimePane::icon() {
function QWidget (line 79) | QWidget* DateTimePane::leftPane() {
FILE: plugins/TimeDatePlugin/settings/datetimepane.h
function namespace (line 26) | namespace Ui {
type DateTimePanePrivate (line 30) | struct DateTimePanePrivate
function class (line 31) | class DateTimePane : public StatusCenterPane {
FILE: plugins/TimeDatePlugin/timezonesmodel.cpp
type TimezonesModelPrivate (line 25) | struct TimezonesModelPrivate {
function QVariant (line 65) | QVariant TimezonesModel::data(const QModelIndex& index, int role) const {
function QModelIndex (line 91) | QModelIndex TimezonesModel::timezone(QTimeZone timezone) {
FILE: plugins/TimeDatePlugin/timezonesmodel.h
type TimezonesModelPrivate (line 26) | struct TimezonesModelPrivate
function class (line 28) | class TimezonesModel : public QAbstractListModel {
function class (line 48) | class TimezonesModelDelegate : public QStyledItemDelegate {
FILE: plugins/UsersPlugin/onboarding/onboardingusers.cpp
type OnboardingUsersPrivate (line 34) | struct OnboardingUsersPrivate {
function QString (line 151) | QString OnboardingUsers::name() {
function QString (line 155) | QString OnboardingUsers::displayName() {
FILE: plugins/UsersPlugin/onboarding/onboardingusers.h
function namespace (line 26) | namespace Ui {
type OnboardingUsersPrivate (line 30) | struct OnboardingUsersPrivate
function class (line 31) | class OnboardingUsers : public OnboardingPage {
FILE: plugins/UsersPlugin/plugin.cpp
type PluginPrivate (line 36) | struct PluginPrivate {
FILE: plugins/UsersPlugin/plugin.h
type PluginPrivate (line 25) | struct PluginPrivate
FILE: plugins/UsersPlugin/settings/adduserdialog.cpp
type AddUserDialogPrivate (line 31) | struct AddUserDialogPrivate {
FILE: plugins/UsersPlugin/settings/adduserdialog.h
function namespace (line 26) | namespace Ui {
type AddUserDialogPrivate (line 30) | struct AddUserDialogPrivate
function class (line 31) | class AddUserDialog : public QWidget {
FILE: plugins/UsersPlugin/settings/changepassworddialog.cpp
type ChangePasswordDialogPrivate (line 26) | struct ChangePasswordDialogPrivate {
FILE: plugins/UsersPlugin/settings/changepassworddialog.h
function namespace (line 26) | namespace Ui {
type ChangePasswordDialogPrivate (line 30) | struct ChangePasswordDialogPrivate
function class (line 31) | class ChangePasswordDialog : public QWidget {
FILE: plugins/UsersPlugin/settings/changerealnamedialog.cpp
type ChangeRealNameDialogPrivate (line 26) | struct ChangeRealNameDialogPrivate {
FILE: plugins/UsersPlugin/settings/changerealnamedialog.h
function namespace (line 26) | namespace Ui {
type ChangeRealNameDialogPrivate (line 30) | struct ChangeRealNameDialogPrivate
function class (line 31) | class ChangeRealNameDialog : public QWidget {
FILE: plugins/UsersPlugin/settings/deleteuserdialog.cpp
type DeleteUserDialogPrivate (line 25) | struct DeleteUserDialogPrivate {
FILE: plugins/UsersPlugin/settings/deleteuserdialog.h
function namespace (line 26) | namespace Ui {
type DeleteUserDialogPrivate (line 30) | struct DeleteUserDialogPrivate
function class (line 31) | class DeleteUserDialog : public QWidget {
FILE: plugins/UsersPlugin/settings/lockuserdialog.cpp
type LockUserDialogPrivate (line 25) | struct LockUserDialogPrivate {
FILE: plugins/UsersPlugin/settings/lockuserdialog.h
function namespace (line 26) | namespace Ui {
type LockUserDialogPrivate (line 30) | struct LockUserDialogPrivate
function class (line 31) | class LockUserDialog : public QWidget {
FILE: plugins/UsersPlugin/settings/user.cpp
type UserPrivate (line 28) | struct UserPrivate {
function QDBusObjectPath (line 54) | QDBusObjectPath User::path() {
function QString (line 66) | QString User::displayName() {
function QString (line 70) | QString User::userName() {
FILE: plugins/UsersPlugin/settings/user.h
type UserPrivate (line 30) | struct UserPrivate
function class (line 31) | class User : public QObject {
type QSharedPointer (line 75) | typedef QSharedPointer<User> UserPtr;
function class (line 78) | class UserManipulationException : public tException {
FILE: plugins/UsersPlugin/settings/usersmodel.cpp
type UsersModelPrivate (line 31) | struct UsersModelPrivate {
function QVariant (line 70) | QVariant UsersModel::data(const QModelIndex &index, int role) const
FILE: plugins/UsersPlugin/settings/usersmodel.h
type UsersModelPrivate (line 26) | struct UsersModelPrivate
function class (line 27) | class UsersModel : public QAbstractListModel
FILE: plugins/UsersPlugin/settings/userspane.cpp
type UsersPanePrivate (line 41) | struct UsersPanePrivate {
function QString (line 217) | QString UsersPane::name() {
function QString (line 221) | QString UsersPane::displayName() {
function QIcon (line 225) | QIcon UsersPane::icon() {
function QWidget (line 229) | QWidget* UsersPane::leftPane() {
FILE: plugins/UsersPlugin/settings/userspane.h
function namespace (line 27) | namespace Ui {
type UsersPanePrivate (line 31) | struct UsersPanePrivate
function class (line 32) | class UsersPane : public StatusCenterPane {
FILE: plugins/UsersPlugin/settings/usertypedialog.cpp
type UserTypeDialogPrivate (line 25) | struct UserTypeDialogPrivate {
FILE: plugins/UsersPlugin/settings/usertypedialog.h
function namespace (line 26) | namespace Ui {
type UserTypeDialogPrivate (line 30) | struct UserTypeDialogPrivate
function class (line 31) | class UserTypeDialog : public QWidget
FILE: polkitagent/authwindow.cpp
type AuthWindowPrivate (line 31) | struct AuthWindowPrivate {
FILE: polkitagent/authwindow.h
function namespace (line 27) | namespace Ui {
type AuthWindowPrivate (line 31) | struct AuthWindowPrivate
function class (line 32) | class AuthWindow : public QWidget {
FILE: polkitagent/common.cpp
function QString (line 24) | QString Common::stringForIdentity(PolkitQt1::Identity identity) {
FILE: polkitagent/common.h
function namespace (line 25) | namespace Common {
FILE: polkitagent/identitypopover.h
function namespace (line 26) | namespace Ui {
function class (line 31) | class IdentityPopover : public QWidget {
FILE: polkitagent/main.cpp
function main (line 26) | int main(int argc, char* argv[]) {
FILE: polkitagent/polkitinterface.cpp
type PolkitInterfacePrivate (line 26) | struct PolkitInterfacePrivate {
FILE: polkitagent/polkitinterface.h
type PolkitInterfacePrivate (line 28) | struct PolkitInterfacePrivate
function class (line 29) | class PolkitInterface : public PolkitQt1::Agent::Listener {
FILE: startdesk/crash/backtracedialog.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class BacktraceDialog : public QDialog
FILE: startdesk/crash/backtracepopover.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class BacktracePopover : public QWidget {
FILE: startdesk/crash/backtracewidget.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class BacktraceWidget : public QWidget {
FILE: startdesk/crash/crashwidget.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class CrashWidget : public QWidget {
FILE: startdesk/main.cpp
function main (line 31) | int main(int argc, char* argv[]) {
FILE: startdesk/splash/splashcontroller.cpp
type SplashControllerPrivate (line 44) | struct SplashControllerPrivate {
function SplashController (line 137) | SplashController* SplashController::instance() {
function QStringList (line 301) | QStringList SplashController::lastBacktrace() {
FILE: startdesk/splash/splashcontroller.h
type SplashControllerPrivate (line 25) | struct SplashControllerPrivate
function class (line 26) | class SplashController : public QObject {
FILE: startdesk/splash/splashwidget.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class SplashWidget : public QWidget
FILE: startdesk/splashwindow.h
function namespace (line 25) | namespace Ui {
function class (line 29) | class SplashWindow : public QDialog {
FILE: wayfire-plugins/a11y-plugin/a11yplugin.cpp
type A11yPluginPrivate (line 32) | struct A11yPluginPrivate {
FILE: wayfire-plugins/a11y-plugin/a11yplugin.h
type wl_client (line 25) | struct wl_client
type A11yPluginPrivate (line 26) | struct A11yPluginPrivate
function class (line 27) | class A11yPlugin : public wf::plugin_interface_t {
FILE: wayfire-plugins/a11y-plugin/abstracta11ycontroller.cpp
type AbstractA11yControllerPrivate (line 3) | struct AbstractA11yControllerPrivate {
FILE: wayfire-plugins/a11y-plugin/abstracta11ycontroller.h
type AbstractA11yControllerPrivate (line 6) | struct AbstractA11yControllerPrivate
function class (line 7) | class AbstractA11yController : public QObject {
FILE: wayfire-plugins/a11y-plugin/mousekeys.cpp
type MouseKeysPrivate (line 9) | struct MouseKeysPrivate {
method mouseKeysTimer (line 28) | static int mouseKeysTimer(void* data) {
type tdesktopenvironment_accessibility_sticky_keys_v1_interface (line 45) | struct tdesktopenvironment_accessibility_sticky_keys_v1_interface
type wl_client (line 46) | struct wl_client
type wl_resource (line 46) | struct wl_resource
FILE: wayfire-plugins/a11y-plugin/mousekeys.h
type MouseKeysPrivate (line 7) | struct MouseKeysPrivate
function class (line 8) | class MouseKeys : public AbstractA11yController {
FILE: wayfire-plugins/a11y-plugin/stickykeys.cpp
type StickyKeysPrivate (line 10) | struct StickyKeysPrivate {
class KeySession (line 24) | class KeySession {
method KeySession (line 26) | KeySession(wlr_keyboard* keyboard) {
method push (line 41) | void push(quint32 keycode) {
type tdesktopenvironment_accessibility_sticky_keys_v1_interface (line 69) | struct tdesktopenvironment_accessibility_sticky_keys_v1_interface
type wl_client (line 70) | struct wl_client
type wl_resource (line 70) | struct wl_resource
FILE: wayfire-plugins/a11y-plugin/stickykeys.h
type StickyKeysPrivate (line 7) | struct StickyKeysPrivate
function class (line 8) | class StickyKeys : public AbstractA11yController {
FILE: wayfire-plugins/keygrab-plugin/keygrabplugin.cpp
type KeygrabPluginPrivate (line 32) | struct KeygrabPluginPrivate {
type tdesktopenvironment_keygrab_manager_v1_interface (line 62) | struct tdesktopenvironment_keygrab_manager_v1_interface
type tdesktopenvironment_keygrab_manager_v1_interface (line 62) | struct tdesktopenvironment_keygrab_manager_v1_interface
type wl_client (line 63) | struct wl_client
type wl_resource (line 63) | struct wl_resource
type wl_client (line 66) | struct wl_client
type wl_resource (line 66) | struct wl_resource
type wl_client (line 69) | struct wl_client
type wl_resource (line 69) | struct wl_resource
FILE: wayfire-plugins/keygrab-plugin/keygrabplugin.h
type wl_client (line 25) | struct wl_client
type KeygrabPluginPrivate (line 26) | struct KeygrabPluginPrivate
function class (line 27) | class KeygrabPlugin : public wf::plugin_interface_t {
FILE: wayfire-plugins/startdesk-plugin/startdeskplugin.h
function class (line 25) | class StartdeskPlugin : public wf::plugin_interface_t {
Condensed preview — 1428 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (6,780K chars).
[
{
"path": ".gitignore",
"chars": 17,
"preview": "theDesk.pro.user\n"
},
{
"path": ".parlance.json",
"chars": 3952,
"preview": "{\n \"name\": \"theDesk\",\n \"subprojects\": [\n {\n \"name\": \"libthedesk\",\n \"type\": \"qt\",\n "
},
{
"path": "CMakeLists.txt",
"chars": 608,
"preview": "cmake_minimum_required(VERSION 3.24.0)\nset(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)\n\nproject(thedesk VERSION 1.0.0 LANGUAGES C"
},
{
"path": "LICENSE",
"chars": 35141,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 1521,
"preview": "<img src=\"readme/splash.svg\" width=\"100%\" />\n\n---\n<p align=\"center\">\n<img src=\"https://img.shields.io/github/v/release/v"
},
{
"path": "desktop/CMakeLists.txt",
"chars": 4583,
"preview": "cmake_minimum_required(VERSION 3.24.0)\n\nproject(thedesk VERSION 1.0.0 LANGUAGES CXX)\n\nfind_package(Qt${QT_VERSION_MAJOR}"
},
{
"path": "desktop/acknowledgements.html",
"chars": 794,
"preview": "<p>Thanks to the following people who contributed to the development of theDesk in some way:</p>\n\n<p>\nZoomTen for testin"
},
{
"path": "desktop/background/background.cpp",
"chars": 15590,
"preview": "/****************************************\n *\n * theShell - Desktop Environment\n * Copyright (C) 2019 Victor Tran\n *\n"
},
{
"path": "desktop/background/background.h",
"chars": 2610,
"preview": "/****************************************\n *\n * theShell - Desktop Environment\n * Copyright (C) 2019 Victor Tran\n *\n"
},
{
"path": "desktop/background/background.ui",
"chars": 23296,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>Background</class>\n <widget class=\"QDialog\" name=\"Back"
},
{
"path": "desktop/bar/barwindow.cpp",
"chars": 18652,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/barwindow.h",
"chars": 2060,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/barwindow.ui",
"chars": 795,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>BarWindow</class>\n <widget class=\"QWidget\" name=\"BarWi"
},
{
"path": "desktop/bar/chunkcontainer.cpp",
"chars": 6953,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/chunkcontainer.h",
"chars": 1729,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/chunkcontainer.ui",
"chars": 4753,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>ChunkContainer</class>\n <widget class=\"QWidget\" name=\""
},
{
"path": "desktop/bar/currentappwidget.cpp",
"chars": 5680,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/currentappwidget.h",
"chars": 1613,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/currentappwidget.ui",
"chars": 2034,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>CurrentAppWidget</class>\n <widget class=\"QWidget\" name"
},
{
"path": "desktop/bar/currentappwidgetmenu.cpp",
"chars": 4578,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/currentappwidgetmenu.h",
"chars": 1960,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/currentappwidgetmenu.ui",
"chars": 7250,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>CurrentAppWidgetMenu</class>\n <widget class=\"QWidget\" "
},
{
"path": "desktop/bar/mainbarwidget.cpp",
"chars": 2283,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/mainbarwidget.h",
"chars": 1484,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/mainbarwidget.ui",
"chars": 3274,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>MainBarWidget</class>\n <widget class=\"QWidget\" name=\"M"
},
{
"path": "desktop/bar/taskbarapplicationwidget.cpp",
"chars": 7142,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/taskbarapplicationwidget.h",
"chars": 1874,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/taskbardesktopwidget.cpp",
"chars": 8354,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/taskbardesktopwidget.h",
"chars": 1945,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/taskbardesktopwidget.ui",
"chars": 1955,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>TaskbarDesktopWidget</class>\n <widget class=\"QWidget\" "
},
{
"path": "desktop/bar/taskbarwidget.cpp",
"chars": 6705,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/taskbarwidget.h",
"chars": 1653,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/bar/taskbarwidget.ui",
"chars": 1729,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>TaskbarWidget</class>\n <widget class=\"QWidget\" name=\"T"
},
{
"path": "desktop/cli/commandline.cpp",
"chars": 2187,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/cli/commandline.h",
"chars": 1128,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/common/common.cpp",
"chars": 1765,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/common/common.h",
"chars": 1421,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/crash/crashhandling.cpp",
"chars": 2142,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/crash/crashhandling.h",
"chars": 988,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/desktop.pro",
"chars": 5492,
"preview": "QT += core gui tdesktopenvironment network multimedia multimediawidgets quickwidgets\n\ngreaterThan(QT_MAJOR_VERSION"
},
{
"path": "desktop/gateway/appsearchprovider.cpp",
"chars": 9823,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/appsearchprovider.h",
"chars": 1707,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/appselectionmodel.cpp",
"chars": 4748,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/appselectionmodel.h",
"chars": 1587,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/appselectionmodellistdelegate.cpp",
"chars": 1914,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/appselectionmodellistdelegate.h",
"chars": 1437,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/gateway.cpp",
"chars": 7391,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/gateway.h",
"chars": 1610,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/gateway.ui",
"chars": 1235,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>Gateway</class>\n <widget class=\"QDialog\" name=\"Gateway"
},
{
"path": "desktop/gateway/gatewaysearchmodel.cpp",
"chars": 3421,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/gatewaysearchmodel.h",
"chars": 1539,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/gatewaysearchmodeldelegate.cpp",
"chars": 1635,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/gatewaysearchmodeldelegate.h",
"chars": 1437,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/maingatewaywidget.cpp",
"chars": 10250,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/maingatewaywidget.h",
"chars": 2128,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/maingatewaywidget.ui",
"chars": 15117,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>MainGatewayWidget</class>\n <widget class=\"QWidget\" nam"
},
{
"path": "desktop/gateway/searchresultswidget.cpp",
"chars": 3746,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/searchresultswidget.h",
"chars": 1614,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/gateway/searchresultswidget.ui",
"chars": 1292,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>SearchResultsWidget</class>\n <widget class=\"QWidget\" n"
},
{
"path": "desktop/main.cpp",
"chars": 3840,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/resources.qrc",
"chars": 149,
"preview": "<RCC>\n <qresource prefix=\"/thedesk/desktop\">\n <file>icons/thedesk.svg</file>\n <file>icons/cactus.svg</f"
},
{
"path": "desktop/run/rundialog.cpp",
"chars": 2784,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/run/rundialog.h",
"chars": 1337,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/run/rundialog.ui",
"chars": 2684,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>RunDialog</class>\n <widget class=\"QWidget\" name=\"RunDi"
},
{
"path": "desktop/session/endsession.cpp",
"chars": 10360,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/session/endsession.h",
"chars": 2285,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/session/endsession.ui",
"chars": 14804,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>EndSession</class>\n <widget class=\"QWidget\" name=\"EndS"
},
{
"path": "desktop/session/endsessionbutton.cpp",
"chars": 1946,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/session/endsessionbutton.h",
"chars": 1339,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/leftpanedelegate.cpp",
"chars": 1880,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/leftpanedelegate.h",
"chars": 1295,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/statuscenter.cpp",
"chars": 10205,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/statuscenter.h",
"chars": 1834,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/statuscenter.ui",
"chars": 3118,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>StatusCenter</class>\n <widget class=\"QWidget\" name=\"St"
},
{
"path": "desktop/statuscenter/statuscenterleftpane.cpp",
"chars": 4168,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/statuscenterleftpane.h",
"chars": 2001,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/statuscenterleftpane.ui",
"chars": 2447,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>StatusCenterLeftPane</class>\n <widget class=\"QWidget\" "
},
{
"path": "desktop/statuscenter/statuscenterquickswitch.cpp",
"chars": 1628,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/statuscenterquickswitch.h",
"chars": 1453,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/statuscenter/statuscenterquickswitch.ui",
"chars": 999,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>StatusCenterQuickSwitch</class>\n <widget class=\"QWidge"
},
{
"path": "desktop/systemsettings/about/about.cpp",
"chars": 8428,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/about/about.h",
"chars": 1642,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/about/about.ui",
"chars": 21105,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>About</class>\n <widget class=\"QWidget\" name=\"About\">\n "
},
{
"path": "desktop/systemsettings/about/acknowledgements.cpp",
"chars": 1643,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/about/acknowledgements.h",
"chars": 1382,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/about/acknowledgements.ui",
"chars": 1413,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>Acknowledgements</class>\n <widget class=\"QWidget\" name"
},
{
"path": "desktop/systemsettings/about/changehostnamepopover.cpp",
"chars": 3802,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/about/changehostnamepopover.h",
"chars": 1524,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/about/changehostnamepopover.ui",
"chars": 3409,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>ChangeHostnamePopover</class>\n <widget class=\"QWidget\""
},
{
"path": "desktop/systemsettings/pluginmanagement/managepluginpopover.cpp",
"chars": 3921,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/pluginmanagement/managepluginpopover.h",
"chars": 1745,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/pluginmanagement/managepluginpopover.ui",
"chars": 10416,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>ManagePluginPopover</class>\n <widget class=\"QWidget\" n"
},
{
"path": "desktop/systemsettings/pluginmanagement/pluginitemdelegate.cpp",
"chars": 7015,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/pluginmanagement/pluginitemdelegate.h",
"chars": 1517,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/pluginmanagement/pluginmanagement.cpp",
"chars": 3272,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/pluginmanagement/pluginmanagement.h",
"chars": 1614,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/pluginmanagement/pluginmanagement.ui",
"chars": 3108,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>PluginManagement</class>\n <widget class=\"QWidget\" name"
},
{
"path": "desktop/systemsettings/pluginmanagement/pluginmodel.cpp",
"chars": 2578,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/pluginmanagement/pluginmodel.h",
"chars": 1311,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/recovery/recovery.cpp",
"chars": 3556,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/recovery/recovery.h",
"chars": 1500,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/recovery/recovery.ui",
"chars": 8006,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>Recovery</class>\n <widget class=\"QWidget\" name=\"Recove"
},
{
"path": "desktop/systemsettings/systemsettings.cpp",
"chars": 7070,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/systemsettings.h",
"chars": 1773,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/systemsettings.ui",
"chars": 1121,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>SystemSettings</class>\n <widget class=\"QWidget\" name=\""
},
{
"path": "desktop/systemsettings/systemsettingsleftpane.cpp",
"chars": 3611,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/systemsettingsleftpane.h",
"chars": 1884,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop/systemsettings/systemsettingsleftpane.ui",
"chars": 4370,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>SystemSettingsLeftPane</class>\n <widget class=\"QWidget"
},
{
"path": "desktop/thedesk.conf",
"chars": 1161,
"preview": "[Onboarding]\nlastOnboarding=0\norder=OnboardingWelcome:OnboardingBetaThankYou:OnboardingRegion:OnboardingNetwork:Onboardi"
},
{
"path": "desktop/translations/ar_SA.ts",
"chars": 36559,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"ar_SA\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/au_AU.ts",
"chars": 36159,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"au_AU\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/cy.ts",
"chars": 36476,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"cy\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop/translations/da.ts",
"chars": 36236,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"da\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop/translations/de.ts",
"chars": 36236,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"de\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop/translations/en_AU.ts",
"chars": 36323,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"en_AU\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/en_CA.ts",
"chars": 36324,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"en_CA\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/en_GB.ts",
"chars": 37732,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"en_GB\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/en_NZ.ts",
"chars": 36323,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"en_NZ\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/en_US.ts",
"chars": 37369,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"en_US\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/es.ts",
"chars": 36236,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"es\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop/translations/es_VE.ts",
"chars": 36239,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"es_VE\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/fr_FR.ts",
"chars": 36234,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"fr_FR\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/id_ID.ts",
"chars": 37647,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"id_ID\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/ja.ts",
"chars": 36009,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"ja\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop/translations/nl.ts",
"chars": 36236,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"nl\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop/translations/pl_PL.ts",
"chars": 37605,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"pl_PL\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/pt_BR.ts",
"chars": 36239,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"pt_BR\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/ro_RO.ts",
"chars": 38109,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"ro_RO\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/sv.ts",
"chars": 36236,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"sv\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop/translations/tr_TR.ts",
"chars": 37760,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"tr_TR\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop/translations/vi_VN.ts",
"chars": 37729,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"vi_VN\">\n<context>\n <name>About</name"
},
{
"path": "desktop/translations/zh_CN.ts",
"chars": 35224,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"zh_CN\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop-portal/CMakeLists.txt",
"chars": 6372,
"preview": "cmake_minimum_required(VERSION 3.24.0)\n\nproject(xdg-portal VERSION 1.0.0 LANGUAGES C CXX)\nfind_package(Qt${QT_VERSION_MA"
},
{
"path": "desktop-portal/backend/abstractportalbackend.cpp",
"chars": 541,
"preview": "#include \"abstractportalbackend.h\"\n\n#include \"waylandportalbackend.h\"\n#include \"x11portalbackend.h\"\n#include <tx11info.h"
},
{
"path": "desktop-portal/backend/abstractportalbackend.h",
"chars": 446,
"preview": "#ifndef ABSTRACTPORTALBACKEND_H\n#define ABSTRACTPORTALBACKEND_H\n\n#include <QCoroTask>\n#include <QObject>\n#include <QScre"
},
{
"path": "desktop-portal/backend/private/waylandportalscreencopyframe.cpp",
"chars": 7930,
"preview": "#include \"waylandportalscreencopyframe.h\"\n\n#include <QTemporaryFile>\n#include <QUuid>\n#include <fcntl.h>\n#include <sys/m"
},
{
"path": "desktop-portal/backend/private/waylandportalscreencopyframe.h",
"chars": 1035,
"preview": "#ifndef WAYLANDPORTALSCREENCOPYFRAME_H\n#define WAYLANDPORTALSCREENCOPYFRAME_H\n\n#include <QObject>\n#include <qwayland-wlr"
},
{
"path": "desktop-portal/backend/waylandportalbackend.cpp",
"chars": 2883,
"preview": "#include \"waylandportalbackend.h\"\n\n#include \"private/waylandportalscreencopyframe.h\"\n#include <QApplication>\n#include <Q"
},
{
"path": "desktop-portal/backend/waylandportalbackend.h",
"chars": 675,
"preview": "#ifndef WAYLANDPORTALBACKEND_H\n#define WAYLANDPORTALBACKEND_H\n\n#include \"abstractportalbackend.h\"\n#include <QObject>\n#in"
},
{
"path": "desktop-portal/backend/wlr-screencopy-unstable-v1.xml",
"chars": 7656,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<protocol name=\"wlr_screencopy_unstable_v1\">\n <copyright>\n Copyright © 2018 S"
},
{
"path": "desktop-portal/backend/x11portalbackend.cpp",
"chars": 256,
"preview": "#include \"x11portalbackend.h\"\n\n#include <QPixmap>\n\nX11PortalBackend::X11PortalBackend(QObject* parent) :\n AbstractPor"
},
{
"path": "desktop-portal/backend/x11portalbackend.h",
"chars": 408,
"preview": "#ifndef X11PORTALBACKEND_H\n#define X11PORTALBACKEND_H\n\n#include \"abstractportalbackend.h\"\n#include <QObject>\n\nclass X11P"
},
{
"path": "desktop-portal/desktop-portal.pro",
"chars": 1836,
"preview": "QT += gui widgets thelib thefile\nSHARE_APP_NAME = thedesk/portal\n\nTARGET = thedesk-desktop-portal\n\nCONFIG += c++20 conso"
},
{
"path": "desktop-portal/dialogs/accessdialog.cpp",
"chars": 950,
"preview": "#include \"accessdialog.h\"\n#include \"ui_accessdialog.h\"\n\nAccessDialog::AccessDialog(QWidget* parent) :\n QWidget(parent"
},
{
"path": "desktop-portal/dialogs/accessdialog.h",
"chars": 756,
"preview": "#ifndef ACCESSDIALOG_H\n#define ACCESSDIALOG_H\n\n#include <QWidget>\n\nnamespace Ui {\n class AccessDialog;\n}\n\nclass Acces"
},
{
"path": "desktop-portal/dialogs/accessdialog.ui",
"chars": 4140,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>AccessDialog</class>\n <widget class=\"QWidget\" name=\"Ac"
},
{
"path": "desktop-portal/dialogs/accountdialog.cpp",
"chars": 1562,
"preview": "#include \"accountdialog.h\"\n#include \"ui_accountdialog.h\"\n\n#include <Applications/application.h>\n#include <QTemporaryFile"
},
{
"path": "desktop-portal/dialogs/accountdialog.h",
"chars": 509,
"preview": "#ifndef ACCOUNTDIALOG_H\n#define ACCOUNTDIALOG_H\n\n#include <QDialog>\n\nnamespace Ui {\n class AccountDialog;\n}\n\nclass Ac"
},
{
"path": "desktop-portal/dialogs/accountdialog.ui",
"chars": 4377,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>AccountDialog</class>\n <widget class=\"QDialog\" name=\"A"
},
{
"path": "desktop-portal/dialogs/filedialog.cpp",
"chars": 6254,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/dialogs/filedialog.h",
"chars": 1522,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/dialogs/filedialog.ui",
"chars": 1702,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>FileDialog</class>\n <widget class=\"QDialog\" name=\"File"
},
{
"path": "desktop-portal/dialogs/penbutton.cpp",
"chars": 3257,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/dialogs/penbutton.h",
"chars": 1494,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/dialogs/screenshotwindow.cpp",
"chars": 12917,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/dialogs/screenshotwindow.h",
"chars": 2284,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/dialogs/screenshotwindow.ui",
"chars": 6996,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ui version=\"4.0\">\n <class>ScreenshotWindow</class>\n <widget class=\"QWidget\" name"
},
{
"path": "desktop-portal/interfaces/accessinterface.cpp",
"chars": 1665,
"preview": "#include \"accessinterface.h\"\n\n#include \"dialogs/accessdialog.h\"\n#include <QDBusConnection>\n#include <QDBusMessage>\n#incl"
},
{
"path": "desktop-portal/interfaces/accessinterface.h",
"chars": 640,
"preview": "#ifndef ACCESSINTERFACE_H\n#define ACCESSINTERFACE_H\n\n#include <QDBusAbstractAdaptor>\n#include <QDBusObjectPath>\n\nclass Q"
},
{
"path": "desktop-portal/interfaces/accountinterface.cpp",
"chars": 1272,
"preview": "#include \"accountinterface.h\"\n\n#include \"dialogs/accountdialog.h\"\n#include \"portalcommon.h\"\n#include <QCoroCore>\n#includ"
},
{
"path": "desktop-portal/interfaces/accountinterface.h",
"chars": 656,
"preview": "#ifndef ACCOUNTINTERFACE_H\n#define ACCOUNTINTERFACE_H\n\n#include <QDBusAbstractAdaptor>\n#include <QDBusObjectPath>\n\nclass"
},
{
"path": "desktop-portal/interfaces/filechooserinterface.cpp",
"chars": 4265,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/interfaces/filechooserinterface.h",
"chars": 1990,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/interfaces/notificationinterface.cpp",
"chars": 2855,
"preview": "#include \"notificationinterface.h\"\n\n#include <Applications/application.h>\n#include <tnotification.h>\n\ntypedef QPair<QStr"
},
{
"path": "desktop-portal/interfaces/notificationinterface.h",
"chars": 814,
"preview": "#ifndef NOTIFICATIONINTERFACE_H\n#define NOTIFICATIONINTERFACE_H\n\n#include <QDBusAbstractAdaptor>\n\nstruct NotificationInt"
},
{
"path": "desktop-portal/interfaces/screenshotinterface.cpp",
"chars": 4545,
"preview": "#include \"screenshotinterface.h\"\n\n#include \"backend/abstractportalbackend.h\"\n#include \"portalcommon.h\"\n#include \"screens"
},
{
"path": "desktop-portal/interfaces/screenshotinterface.h",
"chars": 986,
"preview": "#ifndef SCREENSHOTINTERFACE_H\n#define SCREENSHOTINTERFACE_H\n\n#include <QDBusAbstractAdaptor>\n#include <QDBusObjectPath>\n"
},
{
"path": "desktop-portal/interfaces/settingsinterface.cpp",
"chars": 1933,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/interfaces/settingsinterface.h",
"chars": 1602,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/main.cpp",
"chars": 2077,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/org.freedesktop.impl.portal.desktop.thedesk.service.in",
"chars": 176,
"preview": "[D-BUS Service]\nName=org.freedesktop.impl.portal.desktop.thedesk\nExec=${CMAKE_INSTALL_FULL_LIBDIR}/xdg-desktop-portal-th"
},
{
"path": "desktop-portal/portalcommon.cpp",
"chars": 672,
"preview": "#include \"portalcommon.h\"\n\n#include <QWindow>\n\nvoid PortalCommon::reparentWindow(QWidget* w, QString parentWindow) {\n "
},
{
"path": "desktop-portal/portalcommon.h",
"chars": 349,
"preview": "#ifndef PORTALCOMMON_H\n#define PORTALCOMMON_H\n\n#include <QCoroTask>\n#include <QDBusMessage>\n#include <QWidget>\n\nnamespac"
},
{
"path": "desktop-portal/portalhandle.cpp",
"chars": 1162,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/portalhandle.h",
"chars": 1293,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "desktop-portal/screenshot_resources.qrc",
"chars": 140,
"preview": "<RCC>\n <qresource prefix=\"/screenshot\">\n <file>icons/pen.svg</file>\n <file>icons/eraser.svg</file>\n "
},
{
"path": "desktop-portal/screenshotmanager.cpp",
"chars": 2528,
"preview": "#include \"screenshotmanager.h\"\n\n#include \"dialogs/screenshotwindow.h\"\n#include <tapplication.h>\n\nstruct ScreenshotManage"
},
{
"path": "desktop-portal/screenshotmanager.h",
"chars": 772,
"preview": "#ifndef SCREENSHOTMANAGER_H\n#define SCREENSHOTMANAGER_H\n\n#include \"dialogs/screenshotwindow.h\"\n#include <QObject>\n\nstruc"
},
{
"path": "desktop-portal/thedesk-portals.conf",
"chars": 28,
"preview": "[preferred]\ndefault=thedesk\n"
},
{
"path": "desktop-portal/thedesk.portal",
"chars": 315,
"preview": "[portal]\nDBusName=org.freedesktop.impl.portal.desktop.thedesk\nInterfaces=org.freedesktop.impl.portal.FileChooser;org.fre"
},
{
"path": "desktop-portal/translations/ar_SA.ts",
"chars": 7424,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"ar_SA\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop-portal/translations/au_AU.ts",
"chars": 7424,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"au_AU\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop-portal/translations/cy.ts",
"chars": 7421,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"cy\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/translations/da.ts",
"chars": 7421,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"da\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/translations/de.ts",
"chars": 7421,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"de\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/translations/en_US.qm",
"chars": 7,
"preview": "<d\u0018!\u001c`"
},
{
"path": "desktop-portal/translations/en_US.ts",
"chars": 7407,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" sourcelanguage=\"en_US\">\n<context>\n <name>Acces"
},
{
"path": "desktop-portal/translations/es.ts",
"chars": 7421,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"es\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/translations/es_VE.ts",
"chars": 7424,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"es_VE\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop-portal/translations/id.ts",
"chars": 7421,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"id\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/translations/nl.ts",
"chars": 7477,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"nl\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/translations/pt_BR.ts",
"chars": 7424,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"pt_BR\" sourcelanguage=\"en_US\">\n<context"
},
{
"path": "desktop-portal/translations/sv.ts",
"chars": 7421,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"sv\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/translations/vi.ts",
"chars": 7394,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE TS>\n<TS version=\"2.1\" language=\"vi\" sourcelanguage=\"en_US\">\n<context>\n "
},
{
"path": "desktop-portal/xdg-desktop-portal-thedesk.service.in",
"chars": 186,
"preview": "[Unit]\nDescription=XDG Portal (theDesk)\n\n[Service]\nType=dbus\nBusName=org.freedesktop.impl.portal.desktop.thedesk\nExecSta"
},
{
"path": "dist/thedesk-blueprint.spec",
"chars": 2608,
"preview": "Name: thedesk-blueprint\nVersion: beta5\nRelease: 2%{?dist}\nSummary: Desktop Environment bu"
},
{
"path": "dist/thedesk.spec",
"chars": 2295,
"preview": "Name: thedesk\nVersion: beta4\nRelease: 12%{?dist}\nSummary: Desktop Environment built on Qt"
},
{
"path": "libthedesk/CMakeLists.txt",
"chars": 4542,
"preview": "cmake_minimum_required(VERSION 3.24.0)\n\nproject(lib VERSION 1.0.0 LANGUAGES CXX)\n\nfind_package(Qt${QT_VERSION_MAJOR} REQ"
},
{
"path": "libthedesk/actionquickwidget.cpp",
"chars": 3905,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
},
{
"path": "libthedesk/actionquickwidget.h",
"chars": 1672,
"preview": "/****************************************\n *\n * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE\n * Copyright (C)"
}
]
// ... and 1228 more files (download for full content)
About this extraction
This page contains the full source code of the theCheeseboard/thedesk GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1428 files (16.4 MB), approximately 1.7M tokens, and a symbol index with 986 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.