#include <xap_QtFrameImpl.h>
Public Member Functions | |
XAP_QtFrameImpl (XAP_Frame *pFrame) | |
virtual | ~XAP_QtFrameImpl () |
QMainWindow * | getTopLevel () const |
virtual void | _createTopLevelWindow () |
Protected Member Functions | |
virtual bool | _close () |
virtual bool | _raise () |
virtual bool | _show () |
virtual void | _nullUpdate () const |
virtual void | _initialize () |
virtual QTextEdit * | _createDocumentWindow ()=0 |
virtual QStatusBar * | _createStatusBarWindow ()=0 |
virtual void | _setCursor (GR_Graphics::Cursor cursor) |
virtual XAP_DialogFactory * | _getDialogFactory () |
virtual EV_Menu * | _getMainMenu () |
virtual EV_Toolbar * | _newToolbar (XAP_Frame *pFrame, const char *szLayout, const char *szLanguage) |
virtual bool | _runModalContextMenu (AV_View *pView, const char *szMenuName, UT_sint32 x, UT_sint32 y) |
virtual void | _queue_resize () |
virtual void | _rebuildMenus (void) |
virtual void | _rebuildToolbar (UT_uint32 ibar) |
virtual void | _setFullScreen (bool changeToFullScreen) |
Protected Attributes | |
EV_QtMenuBar * | m_pQtMenuBar |
QTextEdit * | m_wSunkenBox |
QStatusBar * | m_wStatusBar |
Private Attributes | |
XAP_QtDialogFactory | m_dialogFactory |
QMainWindow * | m_topLevel |
Friends | |
class | XAP_Frame |
XAP_QtFrameImpl::XAP_QtFrameImpl | ( | XAP_Frame * | pFrame | ) |
XAP_QtFrameImpl::~XAP_QtFrameImpl | ( | ) | [virtual] |
References m_pQtMenuBar, and m_topLevel.
bool XAP_QtFrameImpl::_close | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
virtual QTextEdit* XAP_QtFrameImpl::_createDocumentWindow | ( | ) | [protected, pure virtual] |
Implemented in AP_QtFrameImpl.
Referenced by _createTopLevelWindow().
virtual QStatusBar* XAP_QtFrameImpl::_createStatusBarWindow | ( | ) | [protected, pure virtual] |
Implemented in AP_QtFrameImpl.
Referenced by _createTopLevelWindow().
void XAP_QtFrameImpl::_createTopLevelWindow | ( | void | ) | [virtual] |
Implements XAP_FrameImpl.
References _createDocumentWindow(), _createStatusBarWindow(), XAP_FrameImpl::_createToolbars(), XAP_App::getApp(), XAP_FrameImpl::getFrame(), XAP_FrameImpl::m_iFrameMode, m_pQtMenuBar, XAP_FrameImpl::m_szMenuLabelSetName, XAP_FrameImpl::m_szMenuLayoutName, m_topLevel, m_wStatusBar, m_wSunkenBox, EV_QtMenuBar::synthesizeMenuBar(), UT_ASSERT, UT_return_if_fail, XAP_NoMenusWindowLess, and XAP_NormalFrame.
Referenced by AP_QtFrameImpl::_createWindow().
XAP_DialogFactory * XAP_QtFrameImpl::_getDialogFactory | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References m_dialogFactory.
EV_Menu * XAP_QtFrameImpl::_getMainMenu | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
void XAP_QtFrameImpl::_initialize | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References XAP_App::getApp(), XAP_App::getEditEventMapper(), XAP_FrameImpl::m_pKeyboard, XAP_FrameImpl::m_pMouse, and UT_ASSERT.
EV_Toolbar * XAP_QtFrameImpl::_newToolbar | ( | XAP_Frame * | pFrame, | |
const char * | szLayout, | |||
const char * | szLanguage | |||
) | [protected, virtual] |
Implements XAP_FrameImpl.
References XAP_App::getApp().
void XAP_QtFrameImpl::_nullUpdate | ( | void | ) | const [protected, virtual] |
Implements XAP_FrameImpl.
void XAP_QtFrameImpl::_queue_resize | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
bool XAP_QtFrameImpl::_raise | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
void XAP_QtFrameImpl::_rebuildMenus | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
void XAP_QtFrameImpl::_rebuildToolbar | ( | UT_uint32 | ibar | ) | [protected, virtual] |
Implements XAP_FrameImpl.
bool XAP_QtFrameImpl::_runModalContextMenu | ( | AV_View * | pView, | |
const char * | szMenuName, | |||
UT_sint32 | x, | |||
UT_sint32 | y | |||
) | [protected, virtual] |
Implements XAP_FrameImpl.
void XAP_QtFrameImpl::_setCursor | ( | GR_Graphics::Cursor | cursor | ) | [protected, virtual] |
Implements XAP_FrameImpl.
void XAP_QtFrameImpl::_setFullScreen | ( | bool | changeToFullScreen | ) | [protected, virtual] |
Implements XAP_FrameImpl.
bool XAP_QtFrameImpl::_show | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
QMainWindow* XAP_QtFrameImpl::getTopLevel | ( | ) | const [inline] |
References m_topLevel.
Referenced by AP_QtFrameImpl::_hideMenuScroll(), and XAP_QtDialog_FileOpenSaveAs::runModal().
friend class XAP_Frame [friend] |
Reimplemented from XAP_FrameImpl.
Referenced by _getDialogFactory().
EV_QtMenuBar* XAP_QtFrameImpl::m_pQtMenuBar [protected] |
Referenced by _createTopLevelWindow(), and ~XAP_QtFrameImpl().
QMainWindow* XAP_QtFrameImpl::m_topLevel [private] |
Referenced by _createTopLevelWindow(), getTopLevel(), and ~XAP_QtFrameImpl().
QStatusBar* XAP_QtFrameImpl::m_wStatusBar [protected] |
Referenced by _createTopLevelWindow().
QTextEdit* XAP_QtFrameImpl::m_wSunkenBox [protected] |
Referenced by AP_QtFrameImpl::_createDocumentWindow(), and _createTopLevelWindow().