diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/editor/components/dialogs/content/EdSelectProps.xhtml | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/suite/editor/components/dialogs/content/EdSelectProps.xhtml')
-rw-r--r-- | comm/suite/editor/components/dialogs/content/EdSelectProps.xhtml | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/comm/suite/editor/components/dialogs/content/EdSelectProps.xhtml b/comm/suite/editor/components/dialogs/content/EdSelectProps.xhtml new file mode 100644 index 0000000000..ff91b02e28 --- /dev/null +++ b/comm/suite/editor/components/dialogs/content/EdSelectProps.xhtml @@ -0,0 +1,143 @@ +<?xml version="1.0"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?> +<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?> + +<!DOCTYPE dialog [ +<!ENTITY % edSelectProperties SYSTEM "chrome://editor/locale/EditorSelectProperties.dtd"> +%edSelectProperties; +<!ENTITY % edDialogOverlay SYSTEM "chrome://editor/locale/EdDialogOverlay.dtd"> +%edDialogOverlay; +]> + +<dialog title="&windowTitle.label;" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" + onload="Startup();" + buttons="accept,cancel"> + + <!-- Methods common to all editor dialogs --> + <script src="chrome://editor/content/editorUtilities.js"/> + <script src="chrome://editor/content/EdDialogCommon.js"/> + <script src="chrome://editor/content/EdSelectProps.js"/> + + <spacer id="location" offsetY="50" persist="offsetX offsetY"/> + + <!-- Setting rows="7" on tree isn't working, equalsize vbox sets tree height. --> + <vbox equalsize="always"> + <tree id="SelectTree" onselect="treeBoxObject.view.selectionChanged();" onkeyup="onTreeKeyUp(event);"> + <treecols id="SelectCols"> + <treecol id="SelectTextCol" flex="3" label="&TextHeader.label;" primary="true"/> + <splitter class="tree-splitter"/> + <treecol id="SelectValCol" flex="2" label="&ValueHeader.label;"/> + <treecol id="SelectSelCol" label="&SelectedHeader.label;" cycler="true"/> + </treecols> + + <treechildren id="SelectTreeChildren"/> + </tree> + + <hbox flex="1"> + <deck flex="1" id="SelectDeck" index="0"> + <groupbox flex="1"> + <hbox class="groupbox-title"> + <label class="header">&Select.label;</label> + </hbox> + <grid flex="1"><columns><column flex="1"/><column/></columns> + <rows> + <row align="center"> + <label control="SelectName" value="&SelectName.label;" accesskey="&SelectName.accesskey;"/> + <textbox id="SelectName" flex="1" oninput="onNameInput();"/> + </row> + <row align="center"> + <label control="SelectSize" value="&SelectSize.label;" accesskey="&SelectSize.accesskey;"/> + <hbox> + <textbox id="SelectSize" class="narrow" oninput="forceInteger(this.id);"/> + </hbox> + </row> + <row> + <spacer/> + <checkbox id="SelectMultiple" flex="1" label="&SelectMultiple.label;" accesskey="&SelectMultiple.accesskey;" oncommand="onSelectMultipleClick();"/> + </row> + <row> + <spacer/> + <checkbox id="SelectDisabled" flex="1" label="&SelectDisabled.label;" accesskey="&SelectDisabled.accesskey;"/> + </row> + <row align="center"> + <label control="SelectTabIndex" value="&SelectTabIndex.label;" accesskey="&SelectTabIndex.accesskey;"/> + <hbox> + <textbox id="SelectTabIndex" class="narrow" oninput="forceInteger(this.id);"/> + </hbox> + </row> + </rows> + </grid> + </groupbox> + + <groupbox flex="1"> + <hbox class="groupbox-title"> + <label class="header">&OptGroup.label;</label> + </hbox> + <grid flex="1"><columns><column flex="1"/><column/></columns> + <rows> + <row align="center"> + <label control="OptGroupLabel" value="&OptGroupLabel.label;" accesskey="&OptGroupLabel.accesskey;"/> + <textbox id="OptGroupLabel" oninput="onLabelInput();"/> + </row> + <row> + <spacer/> + <checkbox id="OptGroupDisabled" label="&OptGroupDisabled.label;" accesskey="&OptGroupDisabled.accesskey;"/> + </row> + </rows> + </grid> + </groupbox> + + <groupbox flex="1"> + <hbox class="groupbox-title"> + <label class="header">&Option.label;</label> + </hbox> + <grid flex="1"><columns><column flex="1"/><column/></columns> + <rows> + <row align="center"> + <label control="OptionText" value="&OptionText.label;" accesskey="&OptionText.accesskey;"/> + <textbox id="OptionText" oninput="onTextInput();"/> + </row> + <row align="center"> + <checkbox id="OptionHasValue" label="&OptionValue.label;" accesskey="&OptionValue.accesskey;" oncommand="onHasValueClick();"/> + <textbox id="OptionValue" oninput="onValueInput();"/> + </row> + <row> + <spacer/> + <checkbox id="OptionSelected" label="&OptionSelected.label;" accesskey="&OptionSelected.accesskey;" oncommand="currentItem.cycleCell();"/> + </row> + <row> + <spacer/> + <checkbox id="OptionDisabled" label="&OptionDisabled.label;" accesskey="&OptionDisabled.accesskey;"/> + </row> + </rows> + </grid> + </groupbox> + </deck> + + <vbox> + <button label="&AddOption.label;" accesskey="&AddOption.accesskey;" oncommand="AddOption();"/> + <button label="&AddOptGroup.label;" accesskey="&AddOptGroup.accesskey;" oncommand="AddOptGroup();"/> + <button id="RemoveButton" label="&RemoveElement.label;" accesskey="&RemoveElement.accesskey;" + oncommand="RemoveElement();" disabled="true"/> + <button id="PreviousButton" label="&MoveElementUp.label;" accesskey="&MoveElementUp.accesskey;" + oncommand="currentItem.moveUp();" disabled="true" type="row"/> + <button id="NextButton" label="&MoveElementDown.label;" accesskey="&MoveElementDown.accesskey;" + oncommand="currentItem.moveDown();" disabled="true" type="row"/> + <spacer flex="1"/> + <button id="AdvancedEditButton" + oncommand="onAdvancedEdit();" + label="&AdvancedEditButton.label;" + accesskey="&AdvancedEditButton.accessKey;" + tooltiptext="&AdvancedEditButton.tooltip;"/> + </vbox> + </hbox> + </vbox> + + <separator class="groove"/> + +</dialog> |