Detailed Description

Classes

class  Pane
 
class  SplitButton
 
class  PaneHeader
 
class  PaneHeaderContainer
 
class  PaneHeaderFade
 
class  ViewPane
 
class  ViewPaneHeaderSubtypeWidget
 
class  ViewPaneHeader
 
class  WidgetPane
 
class  WidgetPaneHeader
 
class  SplitPaneContainer
 
class  SplitPaneWidget
 

Class Documentation

◆ Pane

class Pane

Public Slots

void splitButtonClicked (Qt::Orientation orientation)
 
void closeButtonClicked ()
 
void headerClicked ()
 
void headerResized (QSize size)
 
void movePaneRequested (Pane *target, Qt::Edge edge)
 
void newWindowForPaneRequested (QScreen *screen, QPoint pos)
 

Signals

void paneCloseRequested ()
 
void paneSplitRequested (Pane *newPane, Qt::Edge edge)
 
void movePane (Pane *target, Qt::Edge edge)
 
void newWindowForPane (QScreen *screen, QPoint pos)
 
void notifyViewChanged (ViewFrame *frame)
 

Public Member Functions

 Pane (QWidget *widget)
 
QWidget * widget () const
 
virtual bool canSplitPane () const
 
virtual PanecreateSplitPane ()
 
virtual void updateStatus ()
 
virtual void focus ()
 
virtual QString title ()=0
 
void closePane ()
 
PanesplitPane (Qt::Orientation orientation)
 
void splitPane (Pane *pane, Qt::Edge edge)
 
void moveToNewWindow ()
 
virtual void setIsSinglePane (bool isSinglePane)
 
virtual void setIsActivePane (bool active)
 
virtual Qt::Orientation defaultSplitDirection () const
 
virtual void setDefaultSplitDirection (Qt::Orientation orientation)
 
void setWidget (QWidget *widget)
 

Protected Member Functions

void init (PaneHeader *header)
 

Constructor & Destructor Documentation

◆ Pane()

Pane::Pane ( QWidget *  widget)

Member Function Documentation

◆ widget()

QWidget * Pane::widget ( ) const
inline

◆ canSplitPane()

virtual bool Pane::canSplitPane ( ) const
inlinevirtual

Reimplemented in ViewPane.

◆ createSplitPane()

virtual Pane * Pane::createSplitPane ( )
inlinevirtual

Reimplemented in ViewPane.

◆ updateStatus()

virtual void Pane::updateStatus ( )
virtual

Reimplemented in ViewPane, and WidgetPane.

◆ focus()

virtual void Pane::focus ( )
virtual

Reimplemented in ViewPane.

◆ title()

virtual QString Pane::title ( )
pure virtual

Implemented in ViewPane, and WidgetPane.

◆ closePane()

void Pane::closePane ( )

◆ splitPane() [1/2]

Pane * Pane::splitPane ( Qt::Orientation  orientation)

◆ splitPane() [2/2]

void Pane::splitPane ( Pane pane,
Qt::Edge  edge 
)

◆ moveToNewWindow()

void Pane::moveToNewWindow ( )

◆ setIsSinglePane()

virtual void Pane::setIsSinglePane ( bool  isSinglePane)
virtual

◆ setIsActivePane()

virtual void Pane::setIsActivePane ( bool  active)
virtual

◆ defaultSplitDirection()

virtual Qt::Orientation Pane::defaultSplitDirection ( ) const
inlinevirtual

Reimplemented in ViewPane.

◆ setDefaultSplitDirection()

virtual void Pane::setDefaultSplitDirection ( Qt::Orientation  orientation)
virtual

Reimplemented in ViewPane.

◆ setWidget()

void Pane::setWidget ( QWidget *  widget)

◆ init()

void Pane::init ( PaneHeader header)
protected

◆ paneCloseRequested

void Pane::paneCloseRequested ( )
signal

◆ paneSplitRequested

void Pane::paneSplitRequested ( Pane newPane,
Qt::Edge  edge 
)
signal

◆ movePane

void Pane::movePane ( Pane target,
Qt::Edge  edge 
)
signal

◆ newWindowForPane

void Pane::newWindowForPane ( QScreen *  screen,
QPoint  pos 
)
signal

◆ notifyViewChanged

void Pane::notifyViewChanged ( ViewFrame frame)
signal

◆ splitButtonClicked

void Pane::splitButtonClicked ( Qt::Orientation  orientation)
slot

◆ closeButtonClicked

void Pane::closeButtonClicked ( )
slot

◆ headerClicked

void Pane::headerClicked ( )
slot

◆ headerResized

void Pane::headerResized ( QSize  size)
slot

◆ movePaneRequested

void Pane::movePaneRequested ( Pane target,
Qt::Edge  edge 
)
slot

◆ newWindowForPaneRequested

void Pane::newWindowForPaneRequested ( QScreen *  screen,
QPoint  pos 
)
slot

◆ SplitButton

class SplitButton

Signals

void splitWithDirection (Qt::Orientation orientation)
 
- Signals inherited from ClickableIcon
void clicked ()
 
void toggle (bool newState)
 

Public Member Functions

 SplitButton ()
 
void setDefaultOrientation (Qt::Orientation orientation)
 
Qt::Orientation orientation () const
 
Qt::Orientation defaultOrientation () const
 
- Public Member Functions inherited from ClickableIcon
 ClickableIcon (const QImage &activeIcon, const QImage &inactiveIcon, const QSize &desiredPointSize)
 
 ClickableIcon (const QImage &icon, const QSize &desiredPointSize)
 
void setAllowToggle (bool canToggle)
 
void setActive (bool state)
 
bool active () const
 
void setImage (const QImage &icon)
 
void setImage (const QImage &activeIcon, const QImage &inactiveIcon)
 
QSize desiredPointSize () const
 
void setDesiredPointSize (const QSize &size)
 
double opacity () const
 
void setOpacity (double opacity)
 

Protected Member Functions

virtual void enterEvent (QEnterEvent *event) override
 
virtual void leaveEvent (QEvent *event) override
 
virtual bool eventFilter (QObject *obj, QEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
- Protected Member Functions inherited from ClickableIcon
void enterEvent (QEnterEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void mousePressEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 

Additional Inherited Members

- Properties inherited from ClickableIcon
QSize desiredPointSize
 
double opacity
 

Constructor & Destructor Documentation

◆ SplitButton()

SplitButton::SplitButton ( )

Member Function Documentation

◆ setDefaultOrientation()

void SplitButton::setDefaultOrientation ( Qt::Orientation  orientation)

◆ orientation()

Qt::Orientation SplitButton::orientation ( ) const

◆ defaultOrientation()

Qt::Orientation SplitButton::defaultOrientation ( ) const
inline

◆ enterEvent()

virtual void SplitButton::enterEvent ( QEnterEvent *  event)
overrideprotectedvirtual

◆ leaveEvent()

virtual void SplitButton::leaveEvent ( QEvent *  event)
overrideprotectedvirtual

◆ eventFilter()

virtual bool SplitButton::eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprotectedvirtual

◆ mousePressEvent()

virtual void SplitButton::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

◆ splitWithDirection

void SplitButton::splitWithDirection ( Qt::Orientation  orientation)
signal

◆ PaneHeader

class PaneHeader

Signals

void paneCloseRequested ()
 
void paneSplitRequested (Qt::Orientation orientation)
 
void movePane (Pane *target, Qt::Edge edge)
 
void newWindowForPane (QScreen *screen, QPoint pos)
 
void headerClicked ()
 

Public Member Functions

 PaneHeader ()
 
void setOwner (Pane *pane)
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mouseReleaseEvent (QMouseEvent *event) override
 

Constructor & Destructor Documentation

◆ PaneHeader()

PaneHeader::PaneHeader ( )

Member Function Documentation

◆ setOwner()

void PaneHeader::setOwner ( Pane pane)
inline

◆ mousePressEvent()

virtual void PaneHeader::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

◆ mouseMoveEvent()

virtual void PaneHeader::mouseMoveEvent ( QMouseEvent *  event)
overrideprotectedvirtual

◆ mouseReleaseEvent()

virtual void PaneHeader::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotectedvirtual

◆ paneCloseRequested

void PaneHeader::paneCloseRequested ( )
signal

◆ paneSplitRequested

void PaneHeader::paneSplitRequested ( Qt::Orientation  orientation)
signal

◆ movePane

void PaneHeader::movePane ( Pane target,
Qt::Edge  edge 
)
signal

◆ newWindowForPane

void PaneHeader::newWindowForPane ( QScreen *  screen,
QPoint  pos 
)
signal

◆ headerClicked

void PaneHeader::headerClicked ( )
signal

◆ PaneHeaderContainer

class PaneHeaderContainer

Signals

void resize (QSize size)
 

Public Member Functions

 PaneHeaderContainer ()
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event) override
 

Constructor & Destructor Documentation

◆ PaneHeaderContainer()

PaneHeaderContainer::PaneHeaderContainer ( )
inline

Member Function Documentation

◆ resizeEvent()

virtual void PaneHeaderContainer::resizeEvent ( QResizeEvent *  event)
overrideprotectedvirtual

◆ resize

void PaneHeaderContainer::resize ( QSize  size)
signal

◆ PaneHeaderFade

class PaneHeaderFade

Public Member Functions

 PaneHeaderFade (QWidget *parent)
 
void setActive (bool active)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

◆ PaneHeaderFade()

PaneHeaderFade::PaneHeaderFade ( QWidget *  parent)

Member Function Documentation

◆ setActive()

void PaneHeaderFade::setActive ( bool  active)

◆ paintEvent()

virtual void PaneHeaderFade::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual

◆ ViewPane

class ViewPane

Public Member Functions

 ViewPane (ViewFrame *frame)
 
ViewFrameviewFrame () const
 
virtual bool canSplitPane () const override
 
virtual PanecreateSplitPane () override
 
virtual void updateStatus () override
 
virtual Qt::Orientation defaultSplitDirection () const override
 
virtual void setDefaultSplitDirection (Qt::Orientation orientation) override
 
virtual void focus () override
 
virtual QString title () override
 
void recreateViewFrame (std::map< SyncGroup *, ViewLocation > &locations)
 
void sendViewChange ()
 
- Public Member Functions inherited from Pane
 Pane (QWidget *widget)
 
QWidget * widget () const
 
virtual bool canSplitPane () const
 
virtual PanecreateSplitPane ()
 
virtual void updateStatus ()
 
virtual void focus ()
 
virtual QString title ()=0
 
void closePane ()
 
PanesplitPane (Qt::Orientation orientation)
 
void splitPane (Pane *pane, Qt::Edge edge)
 
void moveToNewWindow ()
 
virtual void setIsSinglePane (bool isSinglePane)
 
virtual void setIsActivePane (bool active)
 
virtual Qt::Orientation defaultSplitDirection () const
 
virtual void setDefaultSplitDirection (Qt::Orientation orientation)
 
void setWidget (QWidget *widget)
 

Additional Inherited Members

- Public Slots inherited from Pane
void splitButtonClicked (Qt::Orientation orientation)
 
void closeButtonClicked ()
 
void headerClicked ()
 
void headerResized (QSize size)
 
void movePaneRequested (Pane *target, Qt::Edge edge)
 
void newWindowForPaneRequested (QScreen *screen, QPoint pos)
 
- Signals inherited from Pane
void paneCloseRequested ()
 
void paneSplitRequested (Pane *newPane, Qt::Edge edge)
 
void movePane (Pane *target, Qt::Edge edge)
 
void newWindowForPane (QScreen *screen, QPoint pos)
 
void notifyViewChanged (ViewFrame *frame)
 
- Protected Member Functions inherited from Pane
void init (PaneHeader *header)
 

Constructor & Destructor Documentation

◆ ViewPane()

ViewPane::ViewPane ( ViewFrame frame)

Member Function Documentation

◆ viewFrame()

ViewFrame * ViewPane::viewFrame ( ) const
inline

◆ canSplitPane()

virtual bool ViewPane::canSplitPane ( ) const
inlineoverridevirtual

Reimplemented from Pane.

◆ createSplitPane()

virtual Pane * ViewPane::createSplitPane ( )
overridevirtual

Reimplemented from Pane.

◆ updateStatus()

virtual void ViewPane::updateStatus ( )
overridevirtual

Reimplemented from Pane.

◆ defaultSplitDirection()

virtual Qt::Orientation ViewPane::defaultSplitDirection ( ) const
overridevirtual

Reimplemented from Pane.

◆ setDefaultSplitDirection()

virtual void ViewPane::setDefaultSplitDirection ( Qt::Orientation  orientation)
overridevirtual

Reimplemented from Pane.

◆ focus()

virtual void ViewPane::focus ( )
overridevirtual

Reimplemented from Pane.

◆ title()

virtual QString ViewPane::title ( )
overridevirtual

Implements Pane.

◆ recreateViewFrame()

void ViewPane::recreateViewFrame ( std::map< SyncGroup *, ViewLocation > &  locations)

◆ sendViewChange()

void ViewPane::sendViewChange ( )

◆ ViewPaneHeaderSubtypeWidget

class ViewPaneHeaderSubtypeWidget

Public Member Functions

 ViewPaneHeaderSubtypeWidget ()
 
virtual void updateStatus ()=0
 

Constructor & Destructor Documentation

◆ ViewPaneHeaderSubtypeWidget()

ViewPaneHeaderSubtypeWidget::ViewPaneHeaderSubtypeWidget ( )
inline

Member Function Documentation

◆ updateStatus()

virtual void ViewPaneHeaderSubtypeWidget::updateStatus ( )
pure virtual

◆ ViewPaneHeader

class ViewPaneHeader

Signals

void viewChanged (QString type)
 
- Signals inherited from PaneHeader
void paneCloseRequested ()
 
void paneSplitRequested (Qt::Orientation orientation)
 
void movePane (Pane *target, Qt::Edge edge)
 
void newWindowForPane (QScreen *screen, QPoint pos)
 
void headerClicked ()
 

Public Member Functions

 ViewPaneHeader (ViewPane *owner, UIActionHandler *handler)
 
void updateStatus ()
 
Qt::Orientation defaultSplitDirection () const
 
void setDefaultSplitDirection (Qt::Orientation orientation)
 
void setViewFrame (ViewFrame *frame)
 
- Public Member Functions inherited from PaneHeader
 PaneHeader ()
 
void setOwner (Pane *pane)
 

Additional Inherited Members

- Protected Member Functions inherited from PaneHeader
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mouseReleaseEvent (QMouseEvent *event) override
 

Constructor & Destructor Documentation

◆ ViewPaneHeader()

ViewPaneHeader::ViewPaneHeader ( ViewPane owner,
UIActionHandler handler 
)

Member Function Documentation

◆ updateStatus()

void ViewPaneHeader::updateStatus ( )

◆ defaultSplitDirection()

Qt::Orientation ViewPaneHeader::defaultSplitDirection ( ) const

◆ setDefaultSplitDirection()

void ViewPaneHeader::setDefaultSplitDirection ( Qt::Orientation  orientation)

◆ setViewFrame()

void ViewPaneHeader::setViewFrame ( ViewFrame frame)

◆ viewChanged

void ViewPaneHeader::viewChanged ( QString  type)
signal

◆ WidgetPane

class WidgetPane

Signals

void updateWidgetStatus ()
 
- Signals inherited from Pane
void paneCloseRequested ()
 
void paneSplitRequested (Pane *newPane, Qt::Edge edge)
 
void movePane (Pane *target, Qt::Edge edge)
 
void newWindowForPane (QScreen *screen, QPoint pos)
 
void notifyViewChanged (ViewFrame *frame)
 

Public Member Functions

 WidgetPane (QWidget *widget, QString title)
 
virtual QString title () override
 
virtual void updateStatus () override
 
- Public Member Functions inherited from Pane
 Pane (QWidget *widget)
 
QWidget * widget () const
 
virtual bool canSplitPane () const
 
virtual PanecreateSplitPane ()
 
virtual void updateStatus ()
 
virtual void focus ()
 
virtual QString title ()=0
 
void closePane ()
 
PanesplitPane (Qt::Orientation orientation)
 
void splitPane (Pane *pane, Qt::Edge edge)
 
void moveToNewWindow ()
 
virtual void setIsSinglePane (bool isSinglePane)
 
virtual void setIsActivePane (bool active)
 
virtual Qt::Orientation defaultSplitDirection () const
 
virtual void setDefaultSplitDirection (Qt::Orientation orientation)
 
void setWidget (QWidget *widget)
 

Additional Inherited Members

- Public Slots inherited from Pane
void splitButtonClicked (Qt::Orientation orientation)
 
void closeButtonClicked ()
 
void headerClicked ()
 
void headerResized (QSize size)
 
void movePaneRequested (Pane *target, Qt::Edge edge)
 
void newWindowForPaneRequested (QScreen *screen, QPoint pos)
 
- Protected Member Functions inherited from Pane
void init (PaneHeader *header)
 

Constructor & Destructor Documentation

◆ WidgetPane()

WidgetPane::WidgetPane ( QWidget *  widget,
QString  title 
)

Member Function Documentation

◆ title()

virtual QString WidgetPane::title ( )
inlineoverridevirtual

Implements Pane.

◆ updateStatus()

virtual void WidgetPane::updateStatus ( )
overridevirtual

Reimplemented from Pane.

◆ updateWidgetStatus

void WidgetPane::updateWidgetStatus ( )
signal

◆ WidgetPaneHeader

class WidgetPaneHeader

Public Member Functions

 WidgetPaneHeader (const QString &title)
 
- Public Member Functions inherited from PaneHeader
 PaneHeader ()
 
void setOwner (Pane *pane)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event) override
 
- Protected Member Functions inherited from PaneHeader
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mouseReleaseEvent (QMouseEvent *event) override
 

Additional Inherited Members

- Signals inherited from PaneHeader
void paneCloseRequested ()
 
void paneSplitRequested (Qt::Orientation orientation)
 
void movePane (Pane *target, Qt::Edge edge)
 
void newWindowForPane (QScreen *screen, QPoint pos)
 
void headerClicked ()
 

Constructor & Destructor Documentation

◆ WidgetPaneHeader()

WidgetPaneHeader::WidgetPaneHeader ( const QString &  title)

Member Function Documentation

◆ paintEvent()

virtual void WidgetPaneHeader::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual

◆ SplitPaneContainer

class SplitPaneContainer

Signals

void paneClosed (Pane *pane)
 
void currentChanged (Pane *pane)
 
void layoutChanged ()
 
void notifyViewChanged (ViewFrame *frame)
 
void lastPaneClosed ()
 
void newWindowForPane (SplitPaneWidget *paneWidget, QRect rect)
 

Public Member Functions

 SplitPaneContainer (Pane *initial)
 
PanecurrentPane () const
 
ViewPanecurrentViewPane () const
 
void notifyFocused ()
 
void updateStatus ()
 
void enumeratePanes (const std::function< void(Pane *)> &func)
 
void enumerateViewPanes (const std::function< void(ViewPane *)> &func)
 
bool isSinglePane ()
 
bool canSplitCurrentPane ()
 
void closeCurrentPane ()
 
PanesplitCurrentPane (Qt::Orientation orientation)
 
Qt::Orientation defaultSplitDirection () const
 
void nextPane ()
 
void prevPane ()
 
void focusPaneForEdge (Qt::Edge edge)
 
void newWindowForCurrentPane ()
 
bool canMoveCurrentPaneToNewWindow ()
 
SplitPaneContainerroot ()
 
FileContextfileContext () const
 
void setFileContext (FileContext *fileContext)
 
void open (Pane *pane, Qt::Orientation primaryDirection=Qt::Vertical)
 
QVariantMap layoutPersistenceInfo () const
 
void applyPersistedLayout (const QVariantMap &)
 
QVariantMap serializeLayout ()
 
void deserializeLayout (const QVariantMap &layout, std::map< ViewFrame *, ViewLocation > &locations)
 
void aboutToCloseViewFrames ()
 
void recreateViewFrames (std::map< SyncGroup *, ViewLocation > &locations)
 

Static Public Member Functions

static SplitPaneContainercontainerForWidget (QWidget *widget)
 

Constructor & Destructor Documentation

◆ SplitPaneContainer()

SplitPaneContainer::SplitPaneContainer ( Pane initial)

Member Function Documentation

◆ currentPane()

Pane * SplitPaneContainer::currentPane ( ) const
inline

◆ currentViewPane()

ViewPane * SplitPaneContainer::currentViewPane ( ) const
inline

◆ notifyFocused()

void SplitPaneContainer::notifyFocused ( )

◆ updateStatus()

void SplitPaneContainer::updateStatus ( )

◆ enumeratePanes()

void SplitPaneContainer::enumeratePanes ( const std::function< void(Pane *)> &  func)

◆ enumerateViewPanes()

void SplitPaneContainer::enumerateViewPanes ( const std::function< void(ViewPane *)> &  func)

◆ isSinglePane()

bool SplitPaneContainer::isSinglePane ( )

◆ canSplitCurrentPane()

bool SplitPaneContainer::canSplitCurrentPane ( )

◆ closeCurrentPane()

void SplitPaneContainer::closeCurrentPane ( )

◆ splitCurrentPane()

Pane * SplitPaneContainer::splitCurrentPane ( Qt::Orientation  orientation)

◆ defaultSplitDirection()

Qt::Orientation SplitPaneContainer::defaultSplitDirection ( ) const

◆ nextPane()

void SplitPaneContainer::nextPane ( )

◆ prevPane()

void SplitPaneContainer::prevPane ( )

◆ focusPaneForEdge()

void SplitPaneContainer::focusPaneForEdge ( Qt::Edge  edge)

◆ newWindowForCurrentPane()

void SplitPaneContainer::newWindowForCurrentPane ( )

◆ canMoveCurrentPaneToNewWindow()

bool SplitPaneContainer::canMoveCurrentPaneToNewWindow ( )

◆ root()

SplitPaneContainer * SplitPaneContainer::root ( )

◆ containerForWidget()

static SplitPaneContainer * SplitPaneContainer::containerForWidget ( QWidget *  widget)
static

◆ fileContext()

FileContext * SplitPaneContainer::fileContext ( ) const
inline

◆ setFileContext()

void SplitPaneContainer::setFileContext ( FileContext fileContext)
inline

◆ open()

void SplitPaneContainer::open ( Pane pane,
Qt::Orientation  primaryDirection = Qt::Vertical 
)

◆ layoutPersistenceInfo()

QVariantMap SplitPaneContainer::layoutPersistenceInfo ( ) const

◆ applyPersistedLayout()

void SplitPaneContainer::applyPersistedLayout ( const QVariantMap &  )

◆ serializeLayout()

QVariantMap SplitPaneContainer::serializeLayout ( )

◆ deserializeLayout()

void SplitPaneContainer::deserializeLayout ( const QVariantMap &  layout,
std::map< ViewFrame *, ViewLocation > &  locations 
)

◆ aboutToCloseViewFrames()

void SplitPaneContainer::aboutToCloseViewFrames ( )

◆ recreateViewFrames()

void SplitPaneContainer::recreateViewFrames ( std::map< SyncGroup *, ViewLocation > &  locations)

◆ paneClosed

void SplitPaneContainer::paneClosed ( Pane pane)
signal

◆ currentChanged

void SplitPaneContainer::currentChanged ( Pane pane)
signal

◆ layoutChanged

void SplitPaneContainer::layoutChanged ( )
signal

◆ notifyViewChanged

void SplitPaneContainer::notifyViewChanged ( ViewFrame frame)
signal

◆ lastPaneClosed

void SplitPaneContainer::lastPaneClosed ( )
signal

◆ newWindowForPane

void SplitPaneContainer::newWindowForPane ( SplitPaneWidget paneWidget,
QRect  rect 
)
signal

◆ SplitPaneWidget

class SplitPaneWidget

Signals

void paneClosed (Pane *pane)
 
void currentChanged (Pane *pane)
 
void layoutChanged ()
 
void notifyViewChanged (ViewFrame *frame)
 
void newWindowForPane (SplitPaneWidget *paneWidget, QRect rect)
 

Public Member Functions

 SplitPaneWidget (Pane *initial, FileContext *fileContext)
 
PanecurrentPane () const
 
ViewPanecurrentViewPane () const
 
ViewFramecurrentViewFrame () const
 
SplitPaneContainercontainer () const
 
FileContextfileContext () const
 
void enumeratePanes (const std::function< void(Pane *)> &func)
 
void enumerateViewPanes (const std::function< void(ViewPane *)> &func)
 
PanepaneAt (const QPoint &pos)
 
void createFeatureMap ()
 
void recreateFeatureMaps ()
 
void refreshFeatureMap ()
 
void updateFeatureMapLocation (const ViewLocation &location)
 
BinaryViewRef getCurrentBinaryView ()
 
void updateStatus ()
 
bool isSinglePane ()
 
bool canSplitCurrentPane ()
 
void closeCurrentPane ()
 
PanesplitCurrentPane (Qt::Orientation orientation)
 
Qt::Orientation defaultSplitDirection () const
 
void nextPane ()
 
void prevPane ()
 
void focusPaneForEdge (Qt::Edge edge)
 
void newWindowForCurrentPane ()
 
bool canMoveCurrentPaneToNewWindow ()
 
QString getTabName ()
 
void open (Pane *pane, Qt::Orientation primaryDirection=Qt::Vertical)
 
bool closeRequest ()
 
void closing ()
 
bool hasInitialLocationState ()
 
void applyInitialLocationState ()
 
QVariantMap serializeLayout ()
 
void deserializeLayout (const QVariantMap &layout)
 
void recreateViewFrames (std::map< SyncGroup *, ViewLocation > &locations)
 

Static Public Member Functions

static void registerActions ()
 

Constructor & Destructor Documentation

◆ SplitPaneWidget()

SplitPaneWidget::SplitPaneWidget ( Pane initial,
FileContext fileContext 
)

Member Function Documentation

◆ currentPane()

Pane * SplitPaneWidget::currentPane ( ) const

◆ currentViewPane()

ViewPane * SplitPaneWidget::currentViewPane ( ) const

◆ currentViewFrame()

ViewFrame * SplitPaneWidget::currentViewFrame ( ) const

◆ container()

SplitPaneContainer * SplitPaneWidget::container ( ) const
inline

◆ fileContext()

FileContext * SplitPaneWidget::fileContext ( ) const
inline

◆ enumeratePanes()

void SplitPaneWidget::enumeratePanes ( const std::function< void(Pane *)> &  func)

◆ enumerateViewPanes()

void SplitPaneWidget::enumerateViewPanes ( const std::function< void(ViewPane *)> &  func)

◆ paneAt()

Pane * SplitPaneWidget::paneAt ( const QPoint &  pos)

◆ createFeatureMap()

void SplitPaneWidget::createFeatureMap ( )

◆ recreateFeatureMaps()

void SplitPaneWidget::recreateFeatureMaps ( )

◆ refreshFeatureMap()

void SplitPaneWidget::refreshFeatureMap ( )

◆ updateFeatureMapLocation()

void SplitPaneWidget::updateFeatureMapLocation ( const ViewLocation location)

◆ getCurrentBinaryView()

BinaryViewRef SplitPaneWidget::getCurrentBinaryView ( )

◆ updateStatus()

void SplitPaneWidget::updateStatus ( )

◆ isSinglePane()

bool SplitPaneWidget::isSinglePane ( )

◆ canSplitCurrentPane()

bool SplitPaneWidget::canSplitCurrentPane ( )

◆ closeCurrentPane()

void SplitPaneWidget::closeCurrentPane ( )

◆ splitCurrentPane()

Pane * SplitPaneWidget::splitCurrentPane ( Qt::Orientation  orientation)

◆ defaultSplitDirection()

Qt::Orientation SplitPaneWidget::defaultSplitDirection ( ) const

◆ nextPane()

void SplitPaneWidget::nextPane ( )

◆ prevPane()

void SplitPaneWidget::prevPane ( )

◆ focusPaneForEdge()

void SplitPaneWidget::focusPaneForEdge ( Qt::Edge  edge)

◆ newWindowForCurrentPane()

void SplitPaneWidget::newWindowForCurrentPane ( )

◆ canMoveCurrentPaneToNewWindow()

bool SplitPaneWidget::canMoveCurrentPaneToNewWindow ( )

◆ getTabName()

QString SplitPaneWidget::getTabName ( )

◆ open()

void SplitPaneWidget::open ( Pane pane,
Qt::Orientation  primaryDirection = Qt::Vertical 
)

◆ closeRequest()

bool SplitPaneWidget::closeRequest ( )

◆ closing()

void SplitPaneWidget::closing ( )

◆ hasInitialLocationState()

bool SplitPaneWidget::hasInitialLocationState ( )
inline

◆ applyInitialLocationState()

void SplitPaneWidget::applyInitialLocationState ( )

◆ serializeLayout()

QVariantMap SplitPaneWidget::serializeLayout ( )

◆ deserializeLayout()

void SplitPaneWidget::deserializeLayout ( const QVariantMap &  layout)

◆ recreateViewFrames()

void SplitPaneWidget::recreateViewFrames ( std::map< SyncGroup *, ViewLocation > &  locations)

◆ registerActions()

static void SplitPaneWidget::registerActions ( )
static

◆ paneClosed

void SplitPaneWidget::paneClosed ( Pane pane)
signal

◆ currentChanged

void SplitPaneWidget::currentChanged ( Pane pane)
signal

◆ layoutChanged

void SplitPaneWidget::layoutChanged ( )
signal

◆ notifyViewChanged

void SplitPaneWidget::notifyViewChanged ( ViewFrame frame)
signal

◆ newWindowForPane

void SplitPaneWidget::newWindowForPane ( SplitPaneWidget paneWidget,
QRect  rect 
)
signal