Changeset View
Changeset View
Standalone View
Standalone View
src/ViewContainer.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
73 | /** | 73 | /** | ||
74 | * Called when the ViewContainer is destroyed. When reimplementing this in | 74 | * Called when the ViewContainer is destroyed. When reimplementing this in | ||
75 | * subclasses, use object->deleteLater() to delete any widgets or other objects | 75 | * subclasses, use object->deleteLater() to delete any widgets or other objects | ||
76 | * instead of 'delete object'. | 76 | * instead of 'delete object'. | ||
77 | */ | 77 | */ | ||
78 | ~TabbedViewContainer() Q_DECL_OVERRIDE; | 78 | ~TabbedViewContainer() Q_DECL_OVERRIDE; | ||
79 | 79 | | |||
80 | /** Adds a new view to the container widget */ | 80 | /** Adds a new view to the container widget */ | ||
81 | void addView(TerminalDisplay *view, ViewProperties *item, int index = -1); | 81 | void addView(TerminalDisplay *view, int index = -1); | ||
82 | 82 | | |||
83 | /** Removes a view from the container */ | 83 | /** Removes a view from the container */ | ||
84 | void removeView(TerminalDisplay *view); | 84 | void removeView(TerminalDisplay *view); | ||
85 | 85 | | |||
86 | void setTabActivity(int index, bool activity); | 86 | void setTabActivity(int index, bool activity); | ||
87 | 87 | | |||
88 | void updateTitle(ViewProperties *item); | 88 | void updateTitle(ViewProperties *item); | ||
89 | void updateIcon(ViewProperties *item); | 89 | void updateIcon(ViewProperties *item); | ||
▲ Show 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 149 | Q_SIGNALS: | |||
167 | * @param id The identifier of the view. | 167 | * @param id The identifier of the view. | ||
168 | */ | 168 | */ | ||
169 | void moveViewRequest(int index, int sessionControllerId); | 169 | void moveViewRequest(int index, int sessionControllerId); | ||
170 | 170 | | |||
171 | /** Emitted when the active view changes */ | 171 | /** Emitted when the active view changes */ | ||
172 | void activeViewChanged(TerminalDisplay *view); | 172 | void activeViewChanged(TerminalDisplay *view); | ||
173 | 173 | | |||
174 | /** Emitted when a view is added to the container. */ | 174 | /** Emitted when a view is added to the container. */ | ||
175 | void viewAdded(TerminalDisplay *view, ViewProperties *properties); | 175 | void viewAdded(TerminalDisplay *view); | ||
176 | 176 | | |||
177 | /** Emitted when a view is removed from the container. */ | 177 | /** Emitted when a view is removed from the container. */ | ||
178 | void viewRemoved(TerminalDisplay *view); | 178 | void viewRemoved(TerminalDisplay *view); | ||
179 | 179 | | |||
180 | /** detach the specific tab */ | 180 | /** detach the specific tab */ | ||
181 | void detachTab(TabbedViewContainer *self, TerminalDisplay *activeView); | 181 | void detachTab(TabbedViewContainer *self, TerminalDisplay *activeView); | ||
182 | 182 | | |||
183 | protected: | 183 | protected: | ||
Show All 33 Lines |