33 , m_pTabWin( pParent )
34 ,
m_xLabel(m_xBuilder->weld_label(
"label"))
35 , m_xImage(m_xBuilder->weld_image(
"image"))
57 if( rEvt.GetClicks() == 2)
59 Size aSize(GetTextWidth(GetText()) + 20,
60 m_pTabWin->GetSizePixel().Height() - m_pTabWin->GetListBox()->GetSizePixel().Height());
64 if (m_pTabWin->GetSizePixel() != aSize)
66 m_pTabWin->SetSizePixel(aSize);
69 OSL_ENSURE(pView,
"No OJoinTableView!");
75 pView->
Invalidate(InvalidateFlags::NoChildren);
80 Point aPos = rEvt.GetPosPixel();
81 aPos = OutputToScreenPixel( aPos );
83 OSL_ENSURE(pView,
"No OJoinTableView!");
87 else if (rEvt.IsRight())
89 CommandEvent aCEvt(rEvt.GetPosPixel(), CommandEventId::ContextMenu,
true);
92 xTabWin->Command(aCEvt);
virtual void dispose() override
tools::Long AdjustHeight(tools::Long n)
OJoinController & getController() const
void InvalidateConnections()
void NotifyTitleClicked(OTableWindow *pTabWin, const Point &rMousePos)
const std::vector< VclPtr< OTableConnection > > & getTableConnections() const
gives a read only access to the connection vector
OJoinDesignView * getDesignView() const
std::unique_ptr< weld::Label > m_xLabel
std::unique_ptr< weld::Image > m_xImage
virtual void dispose() override
VclPtr< OTableWindow > m_pTabWin
virtual ~OTableWindowTitle() override
std::unique_ptr< weld::Label > m_xLabel
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
virtual int n_children() const=0
virtual int get_height_rows(int nRows) const=0
#define LINK(Instance, Class, Member)
IMPL_LINK(OApplicationController, OnSelectContainer, void *, _pType, void)