MIRA
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Friends | List of all members
EditorPartWindow Class Reference

#include <rcp/EditorPartWindow.h>

Inheritance diagram for EditorPartWindow:
Inheritance graph
[legend]

Signals

void windowTitleChanged (EditorPartWindow *editor)
 

Public Member Functions

 EditorPartWindow (EditorPartArea *area=NULL, Qt::WindowFlags flags=Qt::WindowFlags())
 
virtual ~EditorPartWindow ()
 
void setWidget (QWidget *widget)
 
QWidget * widget () const
 
EditorPartTitleBargetTitleBar ()
 
void undock ()
 Undocks the window from the EditorPartArea and makes it floating. More...
 
void dock ()
 Docks the window back to the EditorPartArea. More...
 
bool isDocked () const
 Returns true, if the window is docked in the EditorPartArea. More...
 
void setOnTop (bool onTop)
 Makes the window stay on top of other windows. More...
 
bool isOnTop () const
 Returns true, if the window stays on top of other windows. More...
 
void showDecorations (bool show)
 
void setAutoHideDecorations (bool on)
 

Protected Slots

void onMinimized ()
 
void onMaximized ()
 
void onRestored ()
 
void onUndock ()
 
void onDock ()
 
void onOnTop (bool onTop)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *paintEvent)
 
virtual void changeEvent (QEvent *event)
 
void setActive (bool activate)
 
virtual void windowStateChanged (Qt::WindowStates oldState, Qt::WindowStates newState)
 
void updateDecorations ()
 
void updateStateButtons ()
 

Friends

class EditorPartArea
 

Constructor & Destructor Documentation

◆ EditorPartWindow()

EditorPartWindow ( EditorPartArea area = NULL,
Qt::WindowFlags  flags = Qt::WindowFlags() 
)

◆ ~EditorPartWindow()

virtual ~EditorPartWindow ( )
virtual

Member Function Documentation

◆ setWidget()

void setWidget ( QWidget *  widget)

◆ widget()

QWidget* widget ( ) const

◆ getTitleBar()

EditorPartTitleBar* getTitleBar ( )

◆ undock()

void undock ( )
inline

Undocks the window from the EditorPartArea and makes it floating.

◆ dock()

void dock ( )
inline

Docks the window back to the EditorPartArea.

◆ isDocked()

bool isDocked ( ) const
inline

Returns true, if the window is docked in the EditorPartArea.

◆ setOnTop()

void setOnTop ( bool  onTop)
inline

Makes the window stay on top of other windows.

◆ isOnTop()

bool isOnTop ( ) const
inline

Returns true, if the window stays on top of other windows.

◆ showDecorations()

void showDecorations ( bool  show)

◆ setAutoHideDecorations()

void setAutoHideDecorations ( bool  on)

◆ paintEvent()

virtual void paintEvent ( QPaintEvent *  paintEvent)
protectedvirtual

◆ changeEvent()

virtual void changeEvent ( QEvent *  event)
protectedvirtual

◆ setActive()

void setActive ( bool  activate)
protected

◆ windowStateChanged()

virtual void windowStateChanged ( Qt::WindowStates  oldState,
Qt::WindowStates  newState 
)
protectedvirtual

◆ updateDecorations()

void updateDecorations ( )
protected

◆ updateStateButtons()

void updateStateButtons ( )
protected

◆ onMinimized

void onMinimized ( )
protectedslot

◆ onMaximized

void onMaximized ( )
protectedslot

◆ onRestored

void onRestored ( )
protectedslot

◆ onUndock

void onUndock ( )
protectedslot

◆ onDock

void onDock ( )
protectedslot

◆ onOnTop

void onOnTop ( bool  onTop)
protectedslot

◆ windowTitleChanged

void windowTitleChanged ( EditorPartWindow editor)
signal

Friends And Related Function Documentation

◆ EditorPartArea

friend class EditorPartArea
friend

The documentation for this class was generated from the following file: