Kaydet (Commit) b78f6145 authored tarafından Caolán McNamara's avatar Caolán McNamara

little tweak to get the two hidden frames shown in draw/impress

Change-Id: Icd4b81749a369828c45101b1b82f4e3a5e8ebb9a
üst 3cb6587a
...@@ -122,18 +122,19 @@ private: ...@@ -122,18 +122,19 @@ private:
CheckBox* pCbxSynchronize; CheckBox* pCbxSynchronize;
protected: protected:
//these controls are used in draw and impress //these controls are used in draw and impress
CheckBox* pCbxSnapHelplines; VclContainer* pSnapFrames;
CheckBox* pCbxSnapBorder; CheckBox* pCbxSnapHelplines;
CheckBox* pCbxSnapFrame; CheckBox* pCbxSnapBorder;
CheckBox* pCbxSnapPoints; CheckBox* pCbxSnapFrame;
MetricField* pMtrFldSnapArea; CheckBox* pCbxSnapPoints;
MetricField* pMtrFldSnapArea;
CheckBox* pCbxOrtho;
CheckBox* pCbxBigOrtho; CheckBox* pCbxOrtho;
CheckBox* pCbxRotate; CheckBox* pCbxBigOrtho;
MetricField* pMtrFldAngle; CheckBox* pCbxRotate;
MetricField* pMtrFldBezAngle; MetricField* pMtrFldAngle;
MetricField* pMtrFldBezAngle;
private: private:
sal_Bool bAttrModified; sal_Bool bAttrModified;
......
...@@ -49,16 +49,7 @@ using namespace ::com::sun::star::uno; ...@@ -49,16 +49,7 @@ using namespace ::com::sun::star::uno;
SdTpOptionsSnap::SdTpOptionsSnap( Window* pParent, const SfxItemSet& rInAttrs ) : SdTpOptionsSnap::SdTpOptionsSnap( Window* pParent, const SfxItemSet& rInAttrs ) :
SvxGridTabPage(pParent, rInAttrs) SvxGridTabPage(pParent, rInAttrs)
{ {
pCbxSnapHelplines->Show(); pSnapFrames->Show();
pCbxSnapBorder->Show();
pCbxSnapFrame->Show();
pCbxSnapPoints->Show();
pMtrFldSnapArea->Show();
pCbxOrtho->Show();
pCbxBigOrtho->Show();
pCbxRotate->Show();
pMtrFldAngle->Show();
pMtrFldBezAngle->Show();
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
...@@ -143,7 +143,6 @@ ...@@ -143,7 +143,6 @@
#define HID_MNU_ZOOM_OPTIMAL "SVX_HID_MNU_ZOOM_OPTIMAL" #define HID_MNU_ZOOM_OPTIMAL "SVX_HID_MNU_ZOOM_OPTIMAL"
#define HID_MNU_ZOOM_PAGE_WIDTH "SVX_HID_MNU_ZOOM_PAGE_WIDTH" #define HID_MNU_ZOOM_PAGE_WIDTH "SVX_HID_MNU_ZOOM_PAGE_WIDTH"
#define HID_MNU_ZOOM_WHOLE_PAGE "SVX_HID_MNU_ZOOM_WHOLE_PAGE" #define HID_MNU_ZOOM_WHOLE_PAGE "SVX_HID_MNU_ZOOM_WHOLE_PAGE"
#define HID_OPTIONS_GRID "SVX_HID_OPTIONS_GRID"
#define HID_PASSWORD "SVX_HID_PASSWORD" #define HID_PASSWORD "SVX_HID_PASSWORD"
#define HID_POPUP_COLOR "SVX_HID_POPUP_COLOR" #define HID_POPUP_COLOR "SVX_HID_POPUP_COLOR"
#define HID_POPUP_COLOR_CTRL "SVX_HID_POPUP_COLOR_CTRL" #define HID_POPUP_COLOR_CTRL "SVX_HID_POPUP_COLOR_CTRL"
......
...@@ -139,6 +139,7 @@ SvxGridTabPage::SvxGridTabPage( Window* pParent, const SfxItemSet& rCoreSet) : ...@@ -139,6 +139,7 @@ SvxGridTabPage::SvxGridTabPage( Window* pParent, const SfxItemSet& rCoreSet) :
get(pNumFldDivisionY,"numflddivisiony"); get(pNumFldDivisionY,"numflddivisiony");
get(pCbxSynchronize,"synchronize"); get(pCbxSynchronize,"synchronize");
get(pSnapFrames,"snapframes");
get(pCbxSnapHelplines,"snaphelplines"); get(pCbxSnapHelplines,"snaphelplines");
get(pCbxSnapBorder,"snapborder"); get(pCbxSnapBorder,"snapborder");
get(pCbxSnapFrame,"snapframe"); get(pCbxSnapFrame,"snapframe");
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<object class="GtkBox" id="OptGridPage"> <object class="GtkBox" id="OptGridPage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">12</property> <property name="spacing">12</property>
<child> <child>
...@@ -404,14 +405,15 @@ ...@@ -404,14 +405,15 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkBox" id="box3"> <object class="GtkBox" id="snapframes">
<property name="sensitive">False</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="spacing">12</property> <property name="spacing">12</property>
<child> <child>
<object class="GtkFrame" id="frame4"> <object class="GtkFrame" id="frame4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="label_xalign">0</property> <property name="label_xalign">0</property>
<property name="shadow_type">none</property> <property name="shadow_type">none</property>
<child> <child>
...@@ -560,6 +562,7 @@ ...@@ -560,6 +562,7 @@
<object class="GtkFrame" id="frame5"> <object class="GtkFrame" id="frame5">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="label_xalign">0</property> <property name="label_xalign">0</property>
<property name="shadow_type">none</property> <property name="shadow_type">none</property>
<child> <child>
...@@ -621,6 +624,9 @@ ...@@ -621,6 +624,9 @@
<property name="invisible_char"></property> <property name="invisible_char"></property>
<property name="adjustment">adjustment4</property> <property name="adjustment">adjustment4</property>
<property name="digits">2</property> <property name="digits">2</property>
<accessibility>
<relation type="labelled-by" target="rotate"/>
</accessibility>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
...@@ -638,6 +644,9 @@ ...@@ -638,6 +644,9 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
<accessibility>
<relation type="label-for" target="mtrfldangle:0.00 degrees"/>
</accessibility>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
...@@ -714,4 +723,18 @@ ...@@ -714,4 +723,18 @@
</packing> </packing>
</child> </child>
</object> </object>
<object class="GtkSizeGroup" id="sizegroup1">
<property name="ignore_hidden">True</property>
<widgets>
<widget name="frame2"/>
<widget name="frame4"/>
</widgets>
</object>
<object class="GtkSizeGroup" id="sizegroup2">
<property name="ignore_hidden">True</property>
<widgets>
<widget name="frame3"/>
<widget name="frame5"/>
</widgets>
</object>
</interface> </interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment