You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/lib/kotext/KoCompletionBase.ui

371 lines
18 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KoCompletionBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>KoCompletionBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>462</width>
<height>346</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>cbAllowCompletion</cstring>
</property>
<property name="text">
<string>Enable word completion</string>
</property>
<property name="whatsThis" stdset="0">
<string>Toggle autocompletion on and off: if this is checked then autocompletion will be enabled.</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQListBox">
<property name="name">
<cstring>m_lbListCompletion</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Suggestion list for autocompletion: contains all the words that will be autocompleted.</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>pbAddCompletionEntry</cstring>
</property>
<property name="text">
<string>Add...</string>
</property>
<property name="whatsThis" stdset="0">
<string>By clicking this button you can add manually an individual word to the completion list.</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>pbRemoveCompletionEntry</cstring>
</property>
<property name="text">
<string>Remove</string>
</property>
<property name="whatsThis" stdset="0">
<string>To remove words from the completion list, select the word with the left mouse button from the list, then click this button.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer10</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</hbox>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>cbAddCompletionWord</cstring>
</property>
<property name="text">
<string>Automatically add new words to suggestion list</string>
</property>
<property name="whatsThis" stdset="0">
<string>If this option is enabled, any word equal to or longer than the "Characters needed" typed in this document will automatically be added to the list of words used by the completion.</string>
</property>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>completionBox</cstring>
</property>
<property name="title">
<string>Completion Options</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>cbShowToolTip</cstring>
</property>
<property name="text">
<string>Show words in tooltip</string>
</property>
<property name="whatsThis" stdset="0">
<string>If this option is enabled, a tool tip box will appear when you type the beginning of a word that exists in the completion list. To complete the word, press the key you set to accept suggestions in the "Key to accept suggestion" drop-down list.</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout11</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQSlider" row="1" column="1">
<property name="name">
<cstring>slider2</cstring>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>500</number>
</property>
<property name="pageStep">
<number>20</number>
</property>
<property name="value">
<number>100</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="tickmarks">
<enum>Below</enum>
</property>
<property name="tickInterval">
<number>50</number>
</property>
<property name="whatsThis" stdset="0">
<string>This sets the maximum number of words in the completion list. All additional words will not be included in the list. You can select any value from 1 to 500. This option keeps the list from becoming too cumbersome.
This option is most important when Automatically add words to completion list is enabled.</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Characters needed:</string>
</property>
<property name="buddy" stdset="0">
<cstring>slider1</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Suggest words:</string>
</property>
<property name="buddy" stdset="0">
<cstring>slider2</cstring>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="2">
<property name="name">
<cstring>m_maxNbWordCompletion</cstring>
</property>
<property name="maxValue">
<number>500</number>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="value">
<number>100</number>
</property>
<property name="whatsThis" stdset="0">
<string>This sets the maximum number of words in the completion list. All additional words will not be included in the list. You can select any value from 1 to 500. This option keeps the list from becoming too cumbersome.
This option is most important when Automatically add words to completion list is enabled.</string>
</property>
</widget>
<widget class="TQSlider" row="0" column="1">
<property name="name">
<cstring>slider1</cstring>
</property>
<property name="minValue">
<number>5</number>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="tickmarks">
<enum>Below</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Use this spinbox/slider combination to prevent automatically adding short words to the completion list. You can select any value from 5-100 and the words will need to be at least the number of characters set here to be added to the list.</string>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="2">
<property name="name">
<cstring>m_minWordLength</cstring>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="minValue">
<number>5</number>
</property>
<property name="whatsThis" stdset="0">
<string>Use this spinbox/slider combination to prevent automatically adding short words to the completion list. You can select any value from 5-100 and the words will need to be at least the number of characters set here to be added to the list.</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>cbAppendSpace</cstring>
</property>
<property name="text">
<string>Append space</string>
</property>
<property name="whatsThis" stdset="0">
<string>If checked, it adds a single space to the end of a word after autocompletion, this means it is not necessary to add the space manually for the next word.</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Key to accept suggestion:</string>
</property>
<property name="buddy" stdset="0">
<cstring>m_completionKeyAction</cstring>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>m_completionKeyAction</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Set the key you want to use when an autocompleted word is suggested to you and you want to accept it. You can choose Enter, Tab, Space, End or Right.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>101</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>pbSaveCompletionEntry</cstring>
</property>
<property name="text">
<string>Make Default</string>
</property>
<property name="whatsThis" stdset="0">
<string>Completion is configured per document. Making this list the default will allow you to use it for new documents automatically. A dialog will appear to inform you that the list will be used for all documents from now on.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>101</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>slider1</sender>
<signal>valueChanged(int)</signal>
<receiver>m_minWordLength</receiver>
<slot>setValue(int)</slot>
</connection>
<connection>
<sender>m_minWordLength</sender>
<signal>valueChanged(int)</signal>
<receiver>slider1</receiver>
<slot>setValue(int)</slot>
</connection>
<connection>
<sender>slider2</sender>
<signal>valueChanged(int)</signal>
<receiver>m_maxNbWordCompletion</receiver>
<slot>setValue(int)</slot>
</connection>
<connection>
<sender>m_maxNbWordCompletion</sender>
<signal>valueChanged(int)</signal>
<receiver>slider2</receiver>
<slot>setValue(int)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>