19 : m_xBuilder(
Application::CreateBuilder(pParent,
"modules/scalc/ui/sortkey.ui"))
20 ,
m_xFrame(m_xBuilder->weld_frame(
"SortKeyFrame"))
21 , m_xLbSort(m_xBuilder->weld_combo_box(
"sortlb"))
22 , m_xBtnUp(m_xBuilder->weld_radio_button(
"up"))
23 , m_xBtnDown(m_xBuilder->weld_radio_button(
"down"))
24 ,
m_xLabel(m_xBuilder->weld_label(
"lbColRow"))
32 m_xLabel->set_size_request(
m_xLabel->get_approximate_digit_width() * nChars, -1);
64 OUString aLine = pSortKeyItem->
m_xFrame->get_label() +
65 OUString::number( nItemNumber );
66 pSortKeyItem->
m_xFrame->set_label(aLine);
73 pSortKeyItem->
m_xLbSort->set_buildable_name(
78 m_aSortKeyItems.push_back(std::unique_ptr<ScSortKeyItem>(pSortKeyItem));
css::uno::Reference< css::lang::XComponent > m_xFrame
void AddSortKey(sal_uInt16 nItem)
ScSortKeyWindow(weld::Container *pBox)
ScSortKeyItems m_aSortKeyItems
std::unique_ptr< weld::Label > m_xLabel
virtual void move(weld::Widget *pWidget, weld::Container *pNewParent)=0
double getLength(const B2DPolygon &rCandidate)
OUString ScResId(TranslateId aId)
std::unique_ptr< weld::Label > m_xLabel
weld::Container * m_pParent
std::unique_ptr< weld::ComboBox > m_xLbSort
std::unique_ptr< weld::Frame > m_xFrame
ScSortKeyItem(weld::Container *pParent)