Signals | Public Member Functions | Protected Member Functions | Friends | List of all members
pqHierarchicalGridWidget Class Reference

Widget that supports resizing of a pqHierarchicalGridLayout. More...

#include <pqHierarchicalGridWidget.h>

Inherits QWidget.

Signals

void splitterMoved (int location, double splitFraction)
 

Public Member Functions

 pqHierarchicalGridWidget (QWidget *parent=nullptr)
 
 ~pqHierarchicalGridWidget () override
 
bool eventFilter (QObject *caller, QEvent *evt) override
 handle cursor changes on mouse move More...
 
void setUserResizability (bool)
 Enable/disable interactive resizing of the layout. More...
 
bool userResizability () const
 Enable/disable interactive resizing of the layout. More...
 

Protected Member Functions

void mouseMoveEvent (QMouseEvent *evt) override
 
void mousePressEvent (QMouseEvent *evt) override
 
void mouseReleaseEvent (QMouseEvent *evt) override
 

Friends

class pqInternals
 
class pqHierarchicalGridLayout
 

Detailed Description

Widget that supports resizing of a pqHierarchicalGridLayout.

pqHierarchicalGridWidget is intended to be used together with pqHierarchicalGridLayout. It enables interactive resizing of individual widgets placed in the pqHierarchicalGridLayout.

When not using pqHierarchicalGridLayout, pqHierarchicalGridWidget will simply act as any other QWidget.

Definition at line 51 of file pqHierarchicalGridWidget.h.

Constructor & Destructor Documentation

◆ pqHierarchicalGridWidget()

pqHierarchicalGridWidget::pqHierarchicalGridWidget ( QWidget *  parent = nullptr)

◆ ~pqHierarchicalGridWidget()

pqHierarchicalGridWidget::~pqHierarchicalGridWidget ( )
override

Member Function Documentation

◆ setUserResizability()

void pqHierarchicalGridWidget::setUserResizability ( bool  )

Enable/disable interactive resizing of the layout.

Default is enabled.

◆ userResizability()

bool pqHierarchicalGridWidget::userResizability ( ) const

Enable/disable interactive resizing of the layout.

Default is enabled.

◆ eventFilter()

bool pqHierarchicalGridWidget::eventFilter ( QObject *  caller,
QEvent *  evt 
)
override

handle cursor changes on mouse move

◆ splitterMoved

void pqHierarchicalGridWidget::splitterMoved ( int  location,
double  splitFraction 
)
signal

◆ mouseMoveEvent()

void pqHierarchicalGridWidget::mouseMoveEvent ( QMouseEvent *  evt)
overrideprotected

◆ mousePressEvent()

void pqHierarchicalGridWidget::mousePressEvent ( QMouseEvent *  evt)
overrideprotected

◆ mouseReleaseEvent()

void pqHierarchicalGridWidget::mouseReleaseEvent ( QMouseEvent *  evt)
overrideprotected

Friends And Related Function Documentation

◆ pqInternals

friend class pqInternals
friend

Definition at line 87 of file pqHierarchicalGridWidget.h.

◆ pqHierarchicalGridLayout

friend class pqHierarchicalGridLayout
friend

Definition at line 90 of file pqHierarchicalGridWidget.h.


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