Qtリファレンス Alt Key 新しいページはコチラ
提供: yonewiki
(→Example(例)) |
|||
1行: | 1行: | ||
+ | [[Qt#Qtリファレンス|Qtリファレンス]]へ戻る | ||
== '''概要''' == | == '''概要''' == | ||
<span style="color:#cccccc;">The Alt_Key library consists of four files</span>(Alt_Keyライブラリは4つのファイルを含んでいます。): | <span style="color:#cccccc;">The Alt_Key library consists of four files</span>(Alt_Keyライブラリは4つのファイルを含んでいます。): | ||
74行: | 75行: | ||
double AQP::quality(const QStringList &strings) | double AQP::quality(const QStringList &strings) | ||
This function returns a rough guide to accelerator quality. For each string the best quality is when the string has an accelerator for its first character, second best is an accelerator for the start of a word, third best is any accelerator at all, and worst is no accelerator. The quality computation accounts for the overall quality of all the strings in the list and returns a value that ranges from 0.0 (worst) to 1.0 (best). | This function returns a rough guide to accelerator quality. For each string the best quality is when the string has an accelerator for its first character, second best is an accelerator for the start of a word, third best is any accelerator at all, and worst is no accelerator. The quality computation accounts for the overall quality of all the strings in the list and returns a value that ranges from 0.0 (worst) to 1.0 (best). | ||
+ | |||
+ | |||
+ | |||
+ | [[Qt#Qtリファレンス|Qtリファレンス]]へ戻る |