diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2017-07-30 15:03:56 +0530 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@googlemail.com> | 2017-08-10 10:28:19 +0200 |
commit | e74be9ad773c7769c5d8765bb2ac234967e420ec (patch) | |
tree | 09699787837732c4103e7666ce21f4c6824fe10c /cui/uiconfig | |
parent | 86bc72072ece83c3560dbf874d6469f771c95289 (diff) |
Search feature for Special Characters
1. Name data stored in map
2. Retrive the data to compare with search string
3. create search control
4. populate search results
5. Read-only subset listbox meanwhile
Change-Id: I689bbee0dd9a226261c37a5824af7f83a510167d
Reviewed-on: https://gerrit.libreoffice.org/40563
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
Diffstat (limited to 'cui/uiconfig')
-rw-r--r-- | cui/uiconfig/ui/specialcharacters.ui | 104 |
1 files changed, 77 insertions, 27 deletions
diff --git a/cui/uiconfig/ui/specialcharacters.ui b/cui/uiconfig/ui/specialcharacters.ui index b321dfc21185..f210b8a25551 100644 --- a/cui/uiconfig/ui/specialcharacters.ui +++ b/cui/uiconfig/ui/specialcharacters.ui @@ -86,36 +86,36 @@ <property name="hexpand">True</property> <property name="column_spacing">12</property> <child> - <object class="GtkLabel" id="fontft"> + <object class="GtkLabel" id="subsetft"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes" context="specialcharacters|fontft">Font:</property> + <property name="halign">start</property> + <property name="label" translatable="yes" context="specialcharacters|subsetft">Subset:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">fontlb</property> </object> <packing> - <property name="left_attach">0</property> + <property name="left_attach">2</property> <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkLabel" id="subsetft"> + <object class="GtkComboBox" id="fontlb"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes" context="specialcharacters|subsetft">Subset:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">subsetlb</property> + <property name="hexpand">True</property> </object> <packing> - <property name="left_attach">2</property> - <property name="top_attach">0</property> + <property name="left_attach">1</property> + <property name="top_attach">1</property> </packing> </child> <child> - <object class="GtkComboBox" id="fontlb"> + <object class="GtkLabel" id="fontft"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes" context="specialcharacters|fontft">Font:</property> + <property name="use_underline">True</property> </object> <packing> <property name="left_attach">1</property> @@ -129,10 +129,33 @@ <property name="hexpand">True</property> </object> <packing> - <property name="left_attach">3</property> + <property name="left_attach">2</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="srchft"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Search:</property> + </object> + <packing> + <property name="left_attach">0</property> <property name="top_attach">0</property> </packing> </child> + <child> + <object class="GtkEntry" id="search"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> </object> <packing> <property name="left_attach">0</property> @@ -141,20 +164,6 @@ </packing> </child> <child> - <object class="svxlo-SvxShowCharSet" id="showcharset"> - <property name="width_request">580</property> - <property name="height_request">250</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - </packing> - </child> - <child> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -745,6 +754,47 @@ <property name="width">2</property> </packing> </child> + <child> + <object class="GtkBox" id="box6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="svxlo-SvxShowCharSet" id="showcharset"> + <property name="width_request">580</property> + <property name="height_request">250</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="svxlo-SvxSearchCharSet" id="searchcharset"> + <property name="width_request">580</property> + <property name="height_request">250</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> |