Changeset View
Changeset View
Standalone View
Standalone View
src/ViewManager.h
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 68 | public: | |||
---|---|---|---|---|---|
81 | void createView(TabbedViewContainer *tabWidget, Session *session); | 81 | void createView(TabbedViewContainer *tabWidget, Session *session); | ||
82 | 82 | | |||
83 | /* | 83 | /* | ||
84 | * Applies the view-specific settings associated with specified @p profile | 84 | * Applies the view-specific settings associated with specified @p profile | ||
85 | * to the terminal display @p view. | 85 | * to the terminal display @p view. | ||
86 | */ | 86 | */ | ||
87 | void applyProfileToView(TerminalDisplay *view, const Profile::Ptr &profile); | 87 | void applyProfileToView(TerminalDisplay *view, const Profile::Ptr &profile); | ||
88 | 88 | | |||
89 | void toggleActionsBasedOnState(); | ||||
89 | /** | 90 | /** | ||
90 | * Return the main widget for the view manager which | 91 | * Return the main widget for the view manager which | ||
91 | * holds all of the views managed by this ViewManager instance. | 92 | * holds all of the views managed by this ViewManager instance. | ||
92 | */ | 93 | */ | ||
93 | QWidget *widget() const; | 94 | QWidget *widget() const; | ||
94 | 95 | | |||
95 | /** | 96 | /** | ||
96 | * Returns the view manager's active view. | 97 | * Returns the view manager's active view. | ||
▲ Show 20 Lines • Show All 207 Lines • ▼ Show 20 Line(s) | 303 | private Q_SLOTS: | |||
304 | void splitLeftRight(); | 305 | void splitLeftRight(); | ||
305 | void splitTopBottom(); | 306 | void splitTopBottom(); | ||
306 | void expandActiveContainer(); | 307 | void expandActiveContainer(); | ||
307 | void shrinkActiveContainer(); | 308 | void shrinkActiveContainer(); | ||
308 | 309 | | |||
309 | // called when the "Detach View" menu item is selected | 310 | // called when the "Detach View" menu item is selected | ||
310 | void detachActiveView(); | 311 | void detachActiveView(); | ||
311 | void detachActiveTab(); | 312 | void detachActiveTab(); | ||
312 | void updateDetachViewState(); | | |||
313 | 313 | | |||
314 | // called when a session terminates - the view manager will delete any | 314 | // called when a session terminates - the view manager will delete any | ||
315 | // views associated with the session | 315 | // views associated with the session | ||
316 | void sessionFinished(); | 316 | void sessionFinished(); | ||
317 | // called when one view has been destroyed | 317 | // called when one view has been destroyed | ||
318 | void viewDestroyed(QWidget *view); | 318 | void viewDestroyed(QWidget *view); | ||
319 | 319 | | |||
320 | // controller detects when an associated view is given the focus | 320 | // controller detects when an associated view is given the focus | ||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |