move image into the .ui file
Change-Id: I5dad1bd0bcdbedf20d27109ca08109a1a2a6234b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147085 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -57,9 +57,6 @@ OpenLockedQueryBox::OpenLockedQueryBox(weld::Window* pParent, const OUString& rH
|
||||
, mxNotifyBtn(m_xBuilder->weld_check_button("notify"))
|
||||
, mxHiddenText(m_xBuilder->weld_label("hiddentext"))
|
||||
{
|
||||
//set up the image
|
||||
mxQuestionMarkImage->set_from_icon_name(u"vcl/res/help.png");
|
||||
|
||||
//setup click hdl
|
||||
mxOpenReadOnlyBtn->connect_clicked(LINK(this, OpenLockedQueryBox, ClickHdl));
|
||||
mxOpenCopyBtn->connect_clicked(LINK(this, OpenLockedQueryBox, ClickHdl));
|
||||
|
@@ -68,6 +68,7 @@
|
||||
<property name="valign">start</property>
|
||||
<property name="margin-start">24</property>
|
||||
<property name="margin-top">70</property>
|
||||
<property name="icon-name">vcl/res/help.png</property>
|
||||
<child internal-child="accessible">
|
||||
<object class="AtkObject" id="questionmark-atkobject">
|
||||
<property name="AtkObject::accessible-name" translatable="yes" context="openlockedquerybox|questionmark">Question mark image</property>
|
||||
|
Reference in New Issue
Block a user