DTEPEditDlgS /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; version 2 of the License. * * * ***************************************************************************/ (C) 2005 Andras Mantia <amantia@kde.org> DTEPEditDlgS 0 0 655 598 Configure DTEP unnamed tabWidget tab &General unnamed textLabel1 1 5 0 0 Name: kLineEdit1 DTD definition string The real name of the DTEP. In case of XML DTEPs this should be the DTD definition string, like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>. textLabel2 1 5 0 0 Short name: kLineEdit2 Beautified, user visible name The user visible, beautified name. If not defined, the real name is used. spacer2 Horizontal Expanding 40 20 nameEdit 7 0 0 0 DTD definition string The real name of the DTEP. In case of XML DTEPs this should be the DTD definition string, like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>. nickNameEdit 7 0 0 0 Beautified, user visible name The user visible, beautified name. If not defined, the real name is used. spacer3 Vertical Expanding 20 50 groupBox1 Type Specific Settings unnamed generalWidgetStack WStackPage 0 unnamed textLabel3 URL: urlEdit URL pointing to the DTD definiton file URL pointing to the DTD definiton file, like <i>http://www.w3.org/TR/html4/loose.dtd</i>. textLabel4 DOCT&YPE string: doctypeEdit The string that should appear in the !DOCTYPE tag The string that should appear in the !DOCTYPE tag, like<br> <i>HTML&nbsp;PUBLIC&nbsp;"-//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN"&nbsp;&nbsp;&nbsp;<br>"http://www.w3.org/TR/html4/loose.dtd"</i> urlEdit URL pointing to the DTD definiton file URL pointing to the DTD definiton file, like <i>http://www.w3.org/TR/html4/loose.dtd</i>. doctypeEdit The string that should appear in the !DOCTYPE tag The string that should appear in the !DOCTYPE tag, like<br> <i>HTML&nbsp;PUBLIC&nbsp;"-//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN"&nbsp;&nbsp;&nbsp;<br>"http://www.w3.org/TR/html4/loose.dtd"</i> WStackPage 1 topLevel 10 10 107 27 Top level Check if the DTEP can act as a top level DTEP. Check if the DTEP can act as a top level DTEP. This means that the document can be of this type. Some pseudo DTEPs cannot act as a top level DTEP, like <i>PHP</i> as they are always included as part of another DTEP, while some others can be included and act as standalone as well, like the case of <i>CSS</i>. textLabel9 Toolbar folder: toolbarFolderEdit The name of the folder where the toolbars are stored The name of the folder where the toolbars are stored. This is a relative name to <br><i>$TDEDIR(&nbsp;or&nbsp;$TDEHOME)/share/apps/quanta/toolbars</i> . toolbarFolderEdit The name of the folder where the toolbars are stored The name of the folder where the toolbars are stored. This is a relative name to <br><i>$TDEDIR(&nbsp;or&nbsp;$TDEHOME)/share/apps/quanta/toolbars</i> . textLabel10 &Autoloaded toolbars: toolbarsEdit Comma separated list of toolbars Comma separated list of toolbars from the toolbar folder that will be loaded when a document with this DTEP is loaded. toolbarsEdit Comma separated list of toolbars Comma separated list of toolbars from the toolbar folder that will be loaded when a document with this DTEP is loaded. caseSensitive 7 0 0 0 Case sensitive true Check if the DTEP has case sensitive tags Indicates whether the DTEP has case sensitive tags. In case of XML this should be checked, but for example HTML variants are not case sensitive. textLabel7 1 5 0 0 Type: The family to where this DTEP belongs. The family to where this DTEP belong. There are two families:<br><p><b>XML style</b>:DTEP describing an XML like language</p> <p><b>Pseudo type</b>:DTEP describing some other language, where the notion of a tag is not the same as in XML. Examples are <i>PHP, JavaScript, CSS</i>.</p> textLabel8 Inherits: The DTEP name from where this DTEP inherits the tags. The real name of the DTEP (like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>) from where the current DTEP inherits the tags. XML Style Pseudo Type typeCombo 5 0 0 0 The family to where this DTEP belongs. The family to where this DTEP belong. There are two families:<br><p><b>XML style</b>:DTEP describing an XML like language</p> <p><b>Pseudo type</b>:DTEP describing some other language, where the notion of a tag is not the same as in XML. Examples are <i>PHP, JavaScript, CSS</i>.</p> textLabel1_2 Mimet&ypes: mimeTypeEdit inheritsCombo 7 0 0 0 true The DTEP name from where this DTEP inherits the tags. The real name of the DTEP (like -<i>//W3C//DTD&nbsp;HTML&nbsp;4.01&nbsp;Transitional//EN</i>) from where the current DTEP inherits the tags. mimeTypeEdit Comma separated list of mimetypes Comma separated list of mimetypes. Files of these types are treated as belonging to this DTEP, unless the !DOCTYPE entry says something else. extensionEdit The default extension of files belonging to this DTEP textLabel2_2 E&xtension: extensionEdit spacer6 Horizontal Expanding 40 20 tab P&ages unnamed spacer4 Vertical Expanding 20 50 enablePage1 Enable the first extra page Every tab edit dialog will have one more extra page aside of the main page Every tab edit dialog will have one more extra page aside of the main page. You can configure what will be on this page in the below fields. textLabel11 false Title: The title of the page The title of the page, like <b>Core && i18n</b>. As you see, the ampersand must be doubled. textLabel12 false Groups: Comma separated list of the common attribute groups Comma separated list of the common attribute groups. The attributes from the listed groups will appear on this page.<br>The common attributes are specified in each DTEP's <i>common.tag</i> file, where the <i>common="yes"</i> attribute must be set.<br>The following example defined the common I18n attribute group:<br><p><b> &lt;tag name="I18n" common="yes"><br> &nbsp;&nbsp;&lt;attr name="lang" type="input" /><br> &nbsp;&nbsp;&lt;attr name="dir" type="input" /><br> &lt;/tag> </b></p> enablePage2 false Enable the second extra page See the tooltip and "What's This?" information for the first checkbox enablePage3 false Enable the third extra page See the tooltip and "What's This?" information for the first checkbox enablePage4 false Enable the fourth extra page See the tooltip and "What's This?" information for the first checkbox enablePage5 false Enable the fifth extra page See the tooltip and "What's This?" information for the first checkbox pageTitleEdit1 false The title of the page The title of the page, like <b>Core && i18n</b>. As you see, the ampersand must be doubled. groupsEdit1 false Comma separated list of the common attribute groups Comma separated list of the common attribute groups. The attributes from the listed groups will appear on this page.<br>The common attributes are specified in each DTEP's <i>common.tag</i> file, where the <i>common="yes"</i> attribute must be set.<br>The following example defined the common I18n attribute group:<br><p><b> &lt;tag name="I18n" common="yes"><br> &nbsp;&nbsp;&lt;attr name="lang" type="input" /><br> &nbsp;&nbsp;&lt;attr name="dir" type="input" /><br> &lt;/tag> </b></p> pageTitleEdit4 false See the tooltip and "What's This?" information for the first page fields textLabel12_3 false Groups: See the tooltip and "What's This?" information for the first page fields pageTitleEdit2 false See the tooltip and "What's This?" information for the first page fields textLabel11_3_2 false Title: See the tooltip and "What's This?" information for the first page fields textLabel11_2 false Title: See the tooltip and "What's This?" information for the first page fields textLabel12_2 false Groups: See the tooltip and "What's This?" information for the first page fields textLabel11_3 false Title: See the tooltip and "What's This?" information for the first page fields textLabel12_3_2 false Groups: See the tooltip and "What's This?" information for the first page fields groupsEdit2 false See the tooltip and "What's This?" information for the first page fields textLabel11_5 false Title: See the tooltip and "What's This?" information for the first page fields groupsEdit4 false See the tooltip and "What's This?" information for the first page fields textLabel12_5 false Groups: See the tooltip and "What's This?" information for the first page fields pageTitleEdit3 false See the tooltip and "What's This?" information for the first page fields groupsEdit3 false See the tooltip and "What's This?" information for the first page fields groupsEdit5 false See the tooltip and "What's This?" information for the first page fields pageTitleEdit5 false See the tooltip and "What's This?" information for the first page fields TabPage Parsing &Rules unnamed enableMinusInWords Enable minus in words Treat the minus sign as part of a word If enabled <b>this-is-a-word</b> is treated like a word. Otherwise it is treated like 4 words. textLabel13 Comments: kLineEdit10 Comma separated list of area borders for comments Comma separated list of area borders for comments. <i>EOL</i> means end of line, used for single line comments.<br> Example: <b>//&nbsp;EOL,&nbsp;/*&nbsp;*/</b> groupBox7 1 5 0 0 Type Specific Rules unnamed rulesWidgetStack WStackPage 0 unnamed xmlStyleTags XML style single tags true Check to use XML style single tags Check to use XML style single tags (<b>&lt;single_tag /&gt;</b>), otherwise HTML style single tags (<b>&lt;single_tag&gt;</b>) are used. useCommonRules Use common rules true Append common parsing rules Check it to append common parsing rules. These are: <p><b> &nbsp;&nbsp;SpecialAreas=&lt;?xml ?&gt;, &lt;!-- --&gt;, &lt;! &gt; &nbsp;&nbsp;SpecialAreaNames = XML PI, comment, DTD &nbsp;&nbsp;Comments = &lt;!-- --&gt; </b></p> extendedBooleans Extended booleans Check if the booleans are stored in extended form Check if you want extended booleans in the language.<br> Examples:<br> <i>Simple boolean</i>: <b>&lt;tag&nbsp;booleanAttr&gt;</b><br> <i>Extended boolean</i>: <b>&lt;tag&nbsp;booleanAttr="1"&gt;</b> or <b>&lt;tag&nbsp;booleanAttr="true"&gt;</b>. <br> See the <b>True</b> and <b>False</b> boxes to define the values for true and false. falseEdit false 2 0 0 0 The value of "true" in case of extended booleans trueEdit false 2 0 0 0 The value of "true" in case of extended booleans textLabel39 false False: AlignVCenter|AlignRight textLabel38 false True: AlignVCenter|AlignRight spacer12 Horizontal Expanding 40 20 specialAreasEdit Comma separated list of the beginning and closing string for special areas The beginning and closing string of special areas, separated by a comma.<br> Special areas are not parsed according to this DTD's rules, but according to their own rules.<br> A special area can be a pseudo DTD, a comment or something like that, for example <i>&lt;!--&nbsp;--&gt;</i>. textLabel27 Special areas: kLineEdit11 Comma separated list of the beginning and closing string for special areas The beginning and closing string of special areas, separated by a comma.<br> Special areas are not parsed according to this DTD's rules, but according to their own rules.<br> A special area can be a pseudo DTD, a comment or something like that, for example <i>&lt;!--&nbsp;--&gt;</i>. specialAreaNamesEdit Comma-separated list of the names for the above-defined special areas textLabel28 Special area names: kLineEdit12 Comma-separated list of the names for the above-defined special areas textLabel40 Special tags: Specifies a tag that defines the start of a special area Specifies a tag which defines the start of a special area in the form of <i>tagname(attributename)</i>.<br> Example:<b>script(language)</b> means that any <b>&lt;script&gt;</b> tag having a <b>language</b> attribute indicates a special area. specialTagsEdit Specifies a tag that defines the start of a special area Specifies a tag which defines the start of a special area in the form of <i>tagname(attributename)</i>.<br> Example:<b>script(language)</b> means that any <b>&lt;script&gt;</b> tag having a <b>language</b> attribute indicates a special area. WStackPage 1 unnamed textLabel21 Definition tags: kLineEdit14 Tags and attributes defining this DTEP Comma separated list of tags that define this DTEP. The format used is <i>tagname(attribute[defaultvalue])</i>. If the parent (a real) DTEP has a tag with <i>tagname</i> and the <i>attribute value</i> of this tag is equal with the name of this DTEP, the tag area is parsed according to the rules of this DTEP.<br> If <i>[defaultvalue]</i> is present, it means that if the attribute is not present in the tag it is taken as present with <i>value = defaultvalue</i>.<br> Example: <b>Tags=style(type[text/css])</b> means that both <b>&lt;style&gt;</b> and <b>&lt;style&nbsp;type="text/css"&gt;</b> are treated the same way and the DTEP defined by this tag is named <b>text/css</b>. textLabel20 Area borders: kLineEdit13 Comma separated list of the area borders Comma separated list of the area borders encapsulating this pseudo DTEP. In the case of PHP it is:<br> <b>&lt;?&nbsp;?&gt;,&nbsp;&lt;*&nbsp;*&gt;,&nbsp;&lt;%&nbsp;%&gt;</b> textLabel22 Structure keywords: kLineEdit15 Comma separated list of structure keywords Comma separated list of structure keywords. The keywords used here are used to create new node (nodes for structures) in the structure tree, like for a function, class or if block. textLabel26 Structure delimiting: kLineEdit19 Regular expression that finds the beginning or end of a structure Regular expression that finds the beginning or end of a structure. This is usually the combination of <b>Structure beginning</b> and <b>Structure end</b>, like <b>\{&nbsp;|&nbsp;\}</b> textLabel24 Structure beginning: kLineEdit17 A string specifying the beginning of a structure A string specifying the beginning of a structure, like <b>{</b> in many cases. textLabel23 Local scope keywords: kLineEdit16 Comma separated list of the local scope defining keywords Comma separated list of the local scope defining keywords. Other structure group elements found under a structure node that was created based on a keyword from this list are treated as local elements. For example if this list contains <b>function</b>, it means that elements, like variables found under a <b>function</b> are local, relative to the node that holds the <b>function</b>. localStructKeywordsEdit Comma separated list of the local scope defining keywords Comma separated list of the local scope defining keywords. Other structure group elements found under a structure node that was created based on a keyword from this list are treated as local elements. For example if this list contains <b>function</b>, it means that elements, like variables found under a <b>function</b> are local, relative to the node that holds the <b>function</b>. structKeywordsEdit Comma separated list of structure keywords Comma separated list of structure keywords. The keywords used here are used to create new node (nodes for structures) in the structure tree, like for a function, class or if block. definitionTagsEdit Tags and attributes defining this DTEP Comma separated list of tags that define this DTEP. The format used is <i>tagname(attribute[defaultvalue])</i>. If the parent (a real) DTEP has a tag with <i>tagname</i> and the <i>attribute value</i> of this tag is equal with the name of this DTEP, the tag area is parsed according to the rules of this DTEP.<br> If <i>[defaultvalue]</i> is present, it means that if the attribute is not present in the tag it is taken as present with <i>value = defaultvalue</i>.<br> Example: <b>Tags=style(type[text/css])</b> means that both <b>&lt;style&gt;</b> and <b>&lt;style&nbsp;type="text/css"&gt;</b> are treated the same way and the DTEP defined by this tag is named <b>text/css</b>. areaBordersEdit Comma separated list of the area borders Comma separated list of the area borders encapsulating this pseudo DTEP. In the case of PHP it is:<br> <b>&lt;?&nbsp;?&gt;,&nbsp;&lt;*&nbsp;*&gt;,&nbsp;&lt;%&nbsp;%&gt;</b> structEndEdit A string specifying the end of a structure A string specifying the end of a structure, like <b>}</b> in many cases. textLabel25 Structure end: kLineEdit18 A string specifying the end of a structure A string specifying the end of a structure, like <b>}</b> in many cases. structBeginEdit A string specifying the beginning of a structure A string specifying the beginning of a structure, like <b>{</b> in many cases. textLabel19 1 5 0 0 Complete class members after: kLineEdit21 Regular expression to find out when to invoke member autocompletion Regular expression to find out when to invoke member autocompletion. <br> Example:<br> - we have a class called <b>foo</b> with some member variables<br> - the object of type <b>foo</b> is used in the document as $<b>objFoo</b><br> - the members can appear as <b>$objFoo->member</b> or <b>$objFoo.member</b> - in the above case this entry should look like <b>(?:-&gt;|\.)$</b> (autocomplete if the object is followed by <b>-&gt;</b> or <b>.</b>)<br> The regular expression must be terminated with <b>$</b> (match end of line). textLabel18 1 5 0 0 Complete attributes after: kLineEdit20 Autocomplete attributes after this character. See the information for the same entry valid for tags. attributesAfterEdit Autocomplete attributes after this character. See the information for the same entry valid for tags. membersAfterEdit Regular expression to find out when to invoke member autocompletion Regular expression to find out when to invoke member autocompletion. <br> Example:<br> - we have a class called <b>foo</b> with some member variables<br> - the object of type <b>foo</b> is used in the document as $<b>objFoo</b><br> - the members can appear as <b>$objFoo->member</b> or <b>$objFoo.member</b> - in the above case this entry shoul look like <b>(?:-&gt;|\.)$</b> (autocomplete if the object is followed by <b>-&gt;</b> or <b>.</b>)<br> The regular expression must be terminated with <b>$</b> (match end of line). structRxEdit Regular expression that finds the beginning or end of a structure Regular expression that finds the beginning or end of a structure. This is usually the combination of <b>Structure beginning</b> and <b>Structure end</b>, like <b>\{&nbsp;|&nbsp;\}</b> textLabel15 Attribute separator: kLineEdit22 The character specifying the end of an attribute The character specifying the end of an attribute. By default it is <b>"</b> for XML DTEPs and <b>,</b> for pseudo DTEPs. commentsEdit Comma separated list of area borders for comments Comma separated list of area borders for comments. <i>EOL</i> means end of line, used for single line comments.<br> Example: <b>//&nbsp;EOL,&nbsp;/*&nbsp;*/</b> textLabel17 Included DTEPs: kLineEdit25 Comma-separated list of DTEPs that can be present inside this DTEP Comma-separated list of DTEPs that can be present inside this DTEP. The list consist usually of pseudo DTEPs. textLabel16 Autocomplete tags after: kLineEdit24 The character after which the list of tags should be shown The autocompletion box is brought up automatically once this character is entered or space is pressed after this character.<br> For real DTEPs it's usually <b>&lt;</b>, but for example for the CSS pseudo DTEP it is <b>{</b>. The text <b>none</b> instead of a character specifies that the tag completion box should not be brought up automatically, only if the user requests it. tagAfterEdit The character after which the list of tags should be shown The autocompletion box is brought up automatically once this character is entered or space is pressed after this character<br>. For real DTEPs it's usually <b>&lt;</b>, but for example for the CSS pseudo DTEP it is <b>{</b>. The text <b>none</b> instead of a character specifies that the tag completion box should not be brought up automatically, only if the user requests it. tagSeparatorEdit 1 0 0 0 The character specifying the end of a tag. See the information for the attribute separator for details. textLabel14 Tag separator: kLineEdit23 The character specifying the end of a tag. See the information for the attribute separator for details. attributeSeparatorEdit The character specifying the end of an attribute The character specifying the end of an attribute. By default it is <b>"</b> for XML DTEPs and <b>,</b> for pseudo DTEPs. mayContainEdit Comma-separated list of DTEPs that can be present inside this DTEP Comma-separated list of DTEPs that can be present inside this DTEP. The list consist usually of pseudo DTEPs. TabPage Structures unnamed textLabel29 Available groups: listBox1 spacer5 Vertical Expanding 20 270 addStructButton &Add... editStructButton &Edit... deleteStructButton &Delete structuresList enablePage1 toggled(bool) textLabel11 setEnabled(bool) enablePage1 toggled(bool) pageTitleEdit1 setEnabled(bool) enablePage1 toggled(bool) groupsEdit1 setEnabled(bool) enablePage1 toggled(bool) textLabel12 setEnabled(bool) enablePage1 toggled(bool) enablePage2 setEnabled(bool) enablePage2 toggled(bool) pageTitleEdit2 setEnabled(bool) enablePage2 toggled(bool) groupsEdit2 setEnabled(bool) enablePage2 toggled(bool) textLabel11_2 setEnabled(bool) enablePage2 toggled(bool) textLabel12_2 setEnabled(bool) enablePage2 toggled(bool) enablePage3 setEnabled(bool) enablePage3 toggled(bool) pageTitleEdit3 setEnabled(bool) enablePage3 toggled(bool) groupsEdit3 setEnabled(bool) enablePage3 toggled(bool) textLabel11_3 setEnabled(bool) enablePage3 toggled(bool) textLabel12_3 setEnabled(bool) enablePage3 toggled(bool) enablePage4 setEnabled(bool) enablePage4 toggled(bool) pageTitleEdit4 setEnabled(bool) enablePage4 toggled(bool) groupsEdit4 setEnabled(bool) enablePage4 toggled(bool) textLabel11_3_2 setEnabled(bool) enablePage4 toggled(bool) textLabel12_3_2 setEnabled(bool) enablePage4 toggled(bool) enablePage5 setEnabled(bool) enablePage5 toggled(bool) pageTitleEdit5 setEnabled(bool) enablePage5 toggled(bool) groupsEdit5 setEnabled(bool) enablePage5 toggled(bool) textLabel11_5 setEnabled(bool) enablePage5 toggled(bool) textLabel12_5 setEnabled(bool) typeCombo activated(int) rulesWidgetStack raiseWidget(int) addStructButton clicked() DTEPEditDlgS slotAddStructGroup() deleteStructButton clicked() DTEPEditDlgS slotDeleteStructGroup() editStructButton clicked() DTEPEditDlgS slotEditStructGroup() typeCombo activated(int) generalWidgetStack raiseWidget(int) typeCombo activated(int) DTEPEditDlgS slotFamilyChanged(int) extendedBooleans toggled(bool) textLabel38 setEnabled(bool) extendedBooleans toggled(bool) trueEdit setEnabled(bool) extendedBooleans toggled(bool) textLabel39 setEnabled(bool) extendedBooleans toggled(bool) falseEdit setEnabled(bool) structuresList doubleClicked(TQListBoxItem*) editStructButton animateClick() tabWidget nameEdit nickNameEdit inheritsCombo typeCombo mimeTypeEdit extensionEdit toolbarFolderEdit toolbarsEdit caseSensitive topLevel urlEdit doctypeEdit enablePage1 pageTitleEdit1 groupsEdit1 enablePage2 pageTitleEdit2 groupsEdit2 enablePage3 pageTitleEdit3 groupsEdit3 enablePage4 pageTitleEdit4 groupsEdit4 enablePage5 pageTitleEdit5 groupsEdit5 areaBordersEdit definitionTagsEdit structKeywordsEdit localStructKeywordsEdit structBeginEdit structEndEdit structRxEdit attributesAfterEdit membersAfterEdit specialAreasEdit specialAreaNamesEdit specialTagsEdit extendedBooleans trueEdit falseEdit xmlStyleTags useCommonRules enableMinusInWords commentsEdit attributeSeparatorEdit tagSeparatorEdit tagAfterEdit mayContainEdit structuresList addStructButton editStructButton deleteStructButton slotEditStructGroup() slotAddStructGroup() slotDeleteStructGroup() slotFamilyChanged(int)