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:
Caolán McNamara
2023-02-15 12:49:15 +00:00
parent 0c9f93e907
commit 53b06ea4c1
2 changed files with 1 additions and 3 deletions

View File

@@ -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));

View File

@@ -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>