Changeset View
Changeset View
Standalone View
Standalone View
shell/panelview.h
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Line(s) | 103 | public: | |||
---|---|---|---|---|---|
162 | void setScreenToFollow(QScreen* screen); | 162 | void setScreenToFollow(QScreen* screen); | ||
163 | QScreen* screenToFollow() const; | 163 | QScreen* screenToFollow() const; | ||
164 | 164 | | |||
165 | protected: | 165 | protected: | ||
166 | void resizeEvent(QResizeEvent *ev) override; | 166 | void resizeEvent(QResizeEvent *ev) override; | ||
167 | void showEvent(QShowEvent *event) override; | 167 | void showEvent(QShowEvent *event) override; | ||
168 | void moveEvent(QMoveEvent *ev) override; | 168 | void moveEvent(QMoveEvent *ev) override; | ||
169 | bool event(QEvent *e) override; | 169 | bool event(QEvent *e) override; | ||
170 | void updateMask(); | | |||
171 | 170 | | |||
172 | Q_SIGNALS: | 171 | Q_SIGNALS: | ||
173 | void alignmentChanged(); | 172 | void alignmentChanged(); | ||
174 | void offsetChanged(); | 173 | void offsetChanged(); | ||
175 | void screenGeometryChanged(); | 174 | void screenGeometryChanged(); | ||
176 | void thicknessChanged(); | 175 | void thicknessChanged(); | ||
177 | void lengthChanged(); | 176 | void lengthChanged(); | ||
178 | void maximumLengthChanged(); | 177 | void maximumLengthChanged(); | ||
Show All 18 Lines | 193 | private Q_SLOTS: | |||
197 | void restore(); | 196 | void restore(); | ||
198 | void setAutoHideEnabled(bool autoHideEnabled); | 197 | void setAutoHideEnabled(bool autoHideEnabled); | ||
199 | void showTemporarily(); | 198 | void showTemporarily(); | ||
200 | void containmentChanged(); | 199 | void containmentChanged(); | ||
201 | void statusChanged(Plasma::Types::ItemStatus); | 200 | void statusChanged(Plasma::Types::ItemStatus); | ||
202 | void restoreAutoHide(); | 201 | void restoreAutoHide(); | ||
203 | void screenDestroyed(QObject* screen); | 202 | void screenDestroyed(QObject* screen); | ||
204 | void adaptToScreen(); | 203 | void adaptToScreen(); | ||
204 | void handleQmlStatusChange(QQmlComponent::Status status); | ||||
205 | void updateMask(); | ||||
205 | 206 | | |||
206 | private: | 207 | private: | ||
207 | void resizePanel(); | 208 | void resizePanel(); | ||
208 | void integrateScreen(); | 209 | void integrateScreen(); | ||
209 | bool containmentContainsPosition(const QPointF &point) const; | 210 | bool containmentContainsPosition(const QPointF &point) const; | ||
210 | QPointF positionAdjustedForContainment(const QPointF &point) const; | 211 | QPointF positionAdjustedForContainment(const QPointF &point) const; | ||
211 | void setupWaylandIntegration(); | 212 | void setupWaylandIntegration(); | ||
212 | void visibilityModeToWayland(); | 213 | void visibilityModeToWayland(); | ||
Show All 31 Lines |