4#include <qtmir/screen.h>
5#include <QScopedPointer>
9class Screen : public qtmir::Screen
12 Q_PROPERTY(WorkspaceModel* workspaces READ workspaces CONSTANT)
15 explicit Screen(qtmir::Screen*const wrapped);
17 qtmir::OutputId outputId() const override;
18 bool used() const override;
19 QString name() const override;
20 float scale() const override;
21 QSizeF physicalSize() const override;
22 qtmir::FormFactor formFactor() const override;
23 qtmir::OutputTypes outputType() const override;
24 MirPowerMode powerMode() const override;
25 Qt::ScreenOrientation orientation() const override;
26 QPoint position() const override;
27 QQmlListProperty<qtmir::ScreenMode> availableModes() override;
28 uint currentModeIndex() const override;
29 bool isActive() const override;
30 void setActive(bool active) override;
32 QScreen* qscreen() const override;
34 qtmir::ScreenConfiguration *beginConfiguration() const override;
35 bool applyConfiguration(qtmir::ScreenConfiguration *configuration) override;
37 qtmir::Screen* wrapped() const { return m_wrapped; }
39 WorkspaceModel* workspaces() const { return m_workspaces.data(); }
42 qtmir::Screen*const m_wrapped;
43 const QScopedPointer<WorkspaceModel> m_workspaces;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list