tdemdichildview.cpp
47 KMdiChildView::KMdiChildView( const TQString& caption, TQWidget* parentWidget, const char* name, WFlags f )
154 // newGeoQt.setHeight(newGeometry.height()+mdiParent()->captionHeight()+KMDI_MDI_CHILDFRM_DOUBLE_BORDER);
499 TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( TQWIDGET_OBJECT_NAME_STRING );
735 int h = maxh + KMDI_CHILDFRM_DOUBLE_BORDER + KMDI_CHILDFRM_SEPARATOR + mdiParent() ->captionHeight();
void attachWindow(KMdiChildView *, bool)
Internally used by KMdiChildView::attach to send it as command to the mainframe.
virtual void hide()
Calls TQWidget::hide() or it's parent widget hide() if attached.
Definition: tdemdichildview.cpp:756
virtual void slot_clickedInDockMenu()
Called if someone click on the "Dock/Undock..." menu item for this child frame window.
Definition: tdemdichildview.cpp:708
virtual void setTabCaption(const TQString &caption)
Sets the caption of the button referring to this window.
Definition: tdemdichildview.cpp:678
TQRect externalGeometry() const
Returns the frame geometry of this window or of the parent if there is any...
Definition: tdemdichildview.cpp:183
void focusInEventOccurs(KMdiChildView *)
Is sent when this MDI child view is going to receive focus (before actually changing the focus)...
virtual void setCaption(const TQString &szCaption)
Sets the window caption string...
Definition: tdemdichildview.cpp:373
virtual void setMinimumSize(int minw, int minh)
Sets the minimum size of the widget to w by h pixels.
Definition: tdemdichildfrm.cpp:1217
virtual void slot_clickedInWindowMenu()
Called if someone click on the "Window" menu item for this child frame window.
Definition: tdemdichildview.cpp:699
void setFirstFocusableChildWidget(TQWidget *)
Memorizes the first focusable child widget of this widget.
Definition: tdemdichildview.cpp:667
bool isAttached() const
Returns true if the MDI view is a child window within the MDI mainframe widget or false if the MDI vi...
Definition: tdemdichildview.h:227
void childWindowCloseRequest(KMdiChildView *)
Internally used to send information to the mainframe that this MDI child view wants to be closed...
virtual bool eventFilter(TQObject *obj, TQEvent *e)
It only catches TQEvent::KeyPress events there.
Definition: tdemdichildview.cpp:522
bool isMaximized() const
Tells if the window is minimized when attached to the Mdi manager, otherwise returns false...
Definition: tdemdichildview.cpp:318
virtual void youAreAttached(KMdiChildFrm *lpC)
Internally called, if KMdiMainFrm::attach is called.
Definition: tdemdichildview.cpp:350
TQWidget * m_focusedChildWidget
See KMdiChildView::focusedChildWidget.
Definition: tdemdichildview.h:129
virtual void focusOutEvent(TQFocusEvent *e)
Send the lostFocus signal.
Definition: tdemdichildview.cpp:460
virtual void closeEvent(TQCloseEvent *e)
Ignores the event and calls KMdiMainFrm::childWindowCloseRequest instead.
Definition: tdemdichildview.cpp:387
virtual void showMinimized()
Overridden from its base class method.
Definition: tdemdichildview.cpp:234
KMdiChildView(const TQString &caption, TQWidget *parentWidget=0L, const char *name=0L, WFlags f=0)
Constructor.
Definition: tdemdichildview.cpp:47
virtual void resizeEvent(TQResizeEvent *e)
Internally used for the minimize/maximize/restore mechanism when in attach mode.
Definition: tdemdichildview.cpp:468
TQRect restoreGeometry()
Returns the geometry that will be restored by calling restore().
Definition: tdemdichildview.cpp:276
virtual void youAreDetached()
Internally called, if KMdiMainFrm::detach is called.
Definition: tdemdichildview.cpp:358
void setExternalGeometry(const TQRect &newGeomety)
Sets the geometry of the frame of this MDI child window.
Definition: tdemdichildview.cpp:190
void tabCaptionChanged(const TQString &)
Emitted when the window caption is changed via KMdiChildView::setTabCaption or KMdiChildView::setMDIC...
void clickedInWindowMenu(int)
Is automatically emitted when slot_clickedInWindowMenu is called.
TQRect internalGeometry() const
Returns the geometry of this MDI child window as TQWidget::geometry() does.
Definition: tdemdichildview.cpp:113
TQRect restoreGeometry() const
Returns the geometry that will be restored by calling restore().
Definition: tdemdichildfrm.cpp:673
void setRestoreGeometry(const TQRect &newRestGeo)
Sets the geometry that will be restored by calling restore().
Definition: tdemdichildfrm.cpp:680
bool m_stateChanged
Holds a temporary information about if the MDI view state has changed but is not processed yet (pendi...
Definition: tdemdichildview.h:150
void removeEventFilterForAllChildren()
Switches interposing in event loop of all current child widgets off.
Definition: tdemdichildview.cpp:648
virtual void setMaximumSize(int maxw, int maxh)
Sets the maximum size of the widget to w by h pixels.
Definition: tdemdichildview.cpp:727
virtual void setMDICaption(const TQString &caption)
Sets the caption of both the window and the button on the taskbar.
Definition: tdemdichildview.cpp:684
virtual TQPixmap * myIconPtr()
You should override this function in the derived class.
Definition: tdemdichildview.cpp:395
virtual void focusInEvent(TQFocusEvent *e)
If attached, the childframe will be activated and the MDI taskbar button will be pressed.
Definition: tdemdichildview.cpp:402
virtual void showMaximized()
Overridden from its base class method.
Definition: tdemdichildview.cpp:262
TQWidget * focusedChildWidget()
Returns the current focused child widget of this widget.
Definition: tdemdichildview.cpp:662
void windowCaptionChanged(const TQString &)
Emitted when the window caption is changed via KMdiChildView::setCaption or KMdiChildView::setMDICapt...
void setRestoreGeometry(const TQRect &newRestGeo)
Sets the geometry that will be restored by calling restore().
Definition: tdemdichildview.cpp:286
virtual void show()
Calls TQWidget::show but also for it's parent widget if attached.
Definition: tdemdichildview.cpp:746
virtual void raise()
Calls TQWidget::raise() or it's parent widget raise() if attached.
Definition: tdemdichildview.cpp:766
void detachWindow(KMdiChildView *, bool)
Internally used by KMdiChildView::detach to send it as command to the mainframe.
KMdiChildFrm * mdiParent() const
Returns the KMdiChildFrm parent widget (or 0 if the window is not attached)
Definition: tdemdichildview.h:604
void setState(MdiWindowState state, bool bAnimate=true)
Minimizes, Maximizes, or restores the window.
Definition: tdemdichildfrm.cpp:511
void setLastFocusableChildWidget(TQWidget *)
Memorizes the last focusable child widget of this widget.
Definition: tdemdichildview.cpp:672
void gotFocus(KMdiChildView *)
Is sent when this MDI child has received the focus (after actually changing the focus).
void setCaption(const TQString &text)
Sets the caption of this window.
Definition: tdemdichildfrm.cpp:687
void lostFocus(KMdiChildView *)
Is sent when this MDI child view has lost the focus (after actually changing the focus).
void setInternalGeometry(const TQRect &newGeomety)
Sets the geometry of the client area of this MDI child window.
Definition: tdemdichildview.cpp:136
void mdiParentNowMaximized(bool)
Internally used to send information to the mainframe that this MDI view is maximized now...
virtual void setMinimumSize(int minw, int minh)
Sets the minimum size of the widget to w by h pixels.
Definition: tdemdichildview.cpp:715
void activated(KMdiChildView *)
Is sent when this MDI child was set to the activate view of all MDI views (after actually changing th...
void setWindowMenuID(int id)
Internally used for setting an ID for the 'Window' menu entry.
Definition: tdemdichildview.cpp:691
void clickedInDockMenu(int)
Is automatically emitted when slot_clickedInDockMenu is called.
const TQString & caption() const
Returns the caption of the child window (different from the caption on the button in the taskbar) ...
Definition: tdemdichildview.h:232
int m_windowMenuID
Every child view window has an temporary ID in the Window menu of the main frame. ...
Definition: tdemdichildview.h:144
TQWidget * m_firstFocusableChildWidget
See KMdiChildView::setFirstFocusableChildWidget.
Definition: tdemdichildview.h:134
TQWidget * m_lastFocusableChildWidget
See KMdiChildView::setLastFocusableChildWidget.
Definition: tdemdichildview.h:139
bool isMinimized() const
Tells if the window is minimized when attached to the Mdi manager, or if it is VISIBLE when 'floating...
Definition: tdemdichildview.cpp:308