![]() |
![]() |
#include <FWGeometryTableManagerBase.h>
Public Member Functions | |
ColorBoxRenderer () | |
void | draw (Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override |
UInt_t | height () const override |
returns the minimum height of the cell to which the renderer is representing More... | |
void | setData (Color_t c, bool) |
UInt_t | width () const override |
returns the minimum width of the cell to which the renderer is representing More... | |
~ColorBoxRenderer () override | |
![]() | |
virtual void | buttonEvent (Event_t *iClickEvent, int iRelClickX, int iRelClickY) |
FWTableCellRendererBase () | |
virtual | ~FWTableCellRendererBase () |
Public Attributes | |
Pixel_t | m_color |
TGGC * | m_colorContext |
UInt_t | m_height |
bool | m_isSelected |
UInt_t | m_width |
Definition at line 99 of file FWGeometryTableManagerBase.h.
FWGeometryTableManagerBase::ColorBoxRenderer::ColorBoxRenderer | ( | ) |
Definition at line 46 of file FWGeometryTableManagerBase.cc.
References m_colorContext.
|
override |
Definition at line 62 of file FWGeometryTableManagerBase.cc.
References m_colorContext.
|
overridevirtual |
Called to draw a particular cell: arguments iID: the id for the drawable in the window. Needed in order to do calls to gVirtualX or to TGFont iX: screen x position that the cell drawing area starts iY: screen y position that the cell drawing area starts iWidth: width (x dimension) of cell drawing area. May be larger than value returned from width() iHeight: height (x dimension) of cell drawing area. May be larger than value returned from height()
Implements FWTableCellRendererBase.
Definition at line 74 of file FWGeometryTableManagerBase.cc.
References FWTabularWidget::kTextBuffer, m_color, m_colorContext, and m_isSelected.
Referenced by Vispa.Gui.PortConnection.PointToPointConnection::paintEvent().
|
inlineoverridevirtual |
returns the minimum height of the cell to which the renderer is representing
Implements FWTableCellRendererBase.
Definition at line 106 of file FWGeometryTableManagerBase.h.
References EnergyCorrector::c, and ntuplePlotting::draw().
Referenced by Vispa.Main.MainWindow.MainWindow::_saveIni(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), Vispa.Gui.ConnectableWidget.ConnectableWidget::centerSinglePortVertically(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), Vispa.Gui.VispaWidget.VispaWidget::defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineCircleBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineRoundRectBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.VispaWidget.VispaWidget::paint(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), and Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry().
void FWGeometryTableManagerBase::ColorBoxRenderer::setData | ( | Color_t | c, |
bool | s | ||
) |
Definition at line 67 of file FWGeometryTableManagerBase.cc.
References m_color, m_isSelected, and alignCSCRings::s.
Referenced by FWOverlapTableManager::cellRenderer(), and FWGeometryTableManager::cellRenderer().
|
inlineoverridevirtual |
returns the minimum width of the cell to which the renderer is representing
Implements FWTableCellRendererBase.
Definition at line 105 of file FWGeometryTableManagerBase.h.
Referenced by Vispa.Main.MainWindow.MainWindow::_saveIni(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), Vispa.Gui.VispaWidget.VispaWidget::defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineCircleBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineRoundRectBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.PropertyView.PropertyView::resizeEvent(), Vispa.Views.PropertyView.PropertyView::sectionResized(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), and Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry().
Pixel_t FWGeometryTableManagerBase::ColorBoxRenderer::m_color |
Definition at line 112 of file FWGeometryTableManagerBase.h.
TGGC* FWGeometryTableManagerBase::ColorBoxRenderer::m_colorContext |
Definition at line 114 of file FWGeometryTableManagerBase.h.
Referenced by ColorBoxRenderer(), draw(), and ~ColorBoxRenderer().
UInt_t FWGeometryTableManagerBase::ColorBoxRenderer::m_height |
Definition at line 111 of file FWGeometryTableManagerBase.h.
Referenced by FWGeometryTableManagerBase::FWGeometryTableManagerBase().
bool FWGeometryTableManagerBase::ColorBoxRenderer::m_isSelected |
Definition at line 113 of file FWGeometryTableManagerBase.h.
UInt_t FWGeometryTableManagerBase::ColorBoxRenderer::m_width |
Definition at line 110 of file FWGeometryTableManagerBase.h.
Referenced by FWGeometryTableManagerBase::FWGeometryTableManagerBase().