@@ -6824,13 +6824,13 @@ Just test yourself if you get sync conflicts and set a higher value if so.</stri
68246824 <property name =" title" >
68256825 <string >Bookmark suggestion API</string >
68266826 </property >
6827- <layout class =" QGridLayout" name =" gridLayout_96" >
6828- <item row =" 0" column =" 0" colspan =" 3 " >
6829- <widget class =" QCheckBox" name =" bookmarkSuggestionApiEnabledCheckBox" >
6830- <property name =" text" >
6831- <string >Enable Homepage-compatible bookmark suggestions API</string >
6832- </property >
6833- </widget >
6827+ <layout class =" QGridLayout" name =" gridLayout_96" >
6828+ <item row =" 0" column =" 0" colspan =" 6 " >
6829+ <widget class =" QCheckBox" name =" bookmarkSuggestionApiEnabledCheckBox" >
6830+ <property name =" text" >
6831+ <string >Enable Homepage-compatible bookmark suggestions API</string >
6832+ </property >
6833+ </widget >
68346834 </item >
68356835 <item row =" 1" column =" 0" >
68366836 <widget class =" QLabel" name =" bookmarkSuggestionApiPortLabel" >
@@ -6852,23 +6852,88 @@ Just test yourself if you get sync conflicts and set a higher value if so.</stri
68526852 </property >
68536853 </widget >
68546854 </item >
6855- <item row =" 1" column =" 2" >
6856- <widget class =" QToolButton" name =" bookmarkSuggestionApiPortResetButton" >
6857- <property name =" toolTip" >
6858- <string >Reset the suggestion API port</string >
6855+ <item row =" 1" column =" 2" >
6856+ <widget class =" QToolButton" name =" bookmarkSuggestionApiPortResetButton" >
6857+ <property name =" toolTip" >
6858+ <string >Reset the suggestion API port</string >
68596859 </property >
68606860 <property name =" text" >
68616861 <string notr =" true" >…</string >
68626862 </property >
68636863 <property name =" icon" >
68646864 <iconset theme =" edit-clear" resource =" ../breeze-qownnotes.qrc" >
68656865 <normaloff >:/icons/breeze-qownnotes/16x16/edit-clear.svg</normaloff >:/icons/breeze-qownnotes/16x16/edit-clear.svg</iconset >
6866- </property >
6867- </widget >
6868- </item >
6869- </layout >
6870- </widget >
6871- </item >
6866+ </property >
6867+ </widget >
6868+ </item >
6869+ <item row =" 2" column =" 0" >
6870+ <widget class =" QLabel" name =" bookmarkSuggestionApiTokenLabel" >
6871+ <property name =" text" >
6872+ <string >Security token:</string >
6873+ </property >
6874+ </widget >
6875+ </item >
6876+ <item row =" 2" column =" 1" colspan =" 2" >
6877+ <widget class =" QLineEdit" name =" bookmarkSuggestionApiTokenLineEdit" >
6878+ <property name =" toolTip" >
6879+ <string >If this is empty when saved, a new security token will be generated automatically.</string >
6880+ </property >
6881+ <property name =" maxLength" >
6882+ <number >32</number >
6883+ </property >
6884+ <property name =" readOnly" >
6885+ <bool >false</bool >
6886+ </property >
6887+ <property name =" echoMode" >
6888+ <enum >QLineEdit::EchoMode::Password</enum >
6889+ </property >
6890+ </widget >
6891+ </item >
6892+ <item row =" 2" column =" 3" >
6893+ <widget class =" QToolButton" name =" bookmarkSuggestionApiShowTokenButton" >
6894+ <property name =" toolTip" >
6895+ <string >Show security token</string >
6896+ </property >
6897+ <property name =" text" >
6898+ <string notr =" true" >…</string >
6899+ </property >
6900+ <property name =" icon" >
6901+ <iconset theme =" document-decrypt" resource =" ../breeze-qownnotes.qrc" >
6902+ <normaloff >:/icons/breeze-qownnotes/16x16/document-decrypt.svg</normaloff >:/icons/breeze-qownnotes/16x16/document-decrypt.svg</iconset >
6903+ </property >
6904+ </widget >
6905+ </item >
6906+ <item row =" 2" column =" 4" >
6907+ <widget class =" QToolButton" name =" bookmarkSuggestionApiCopyTokenButton" >
6908+ <property name =" toolTip" >
6909+ <string >Copy security token to clipboard</string >
6910+ </property >
6911+ <property name =" text" >
6912+ <string notr =" true" >…</string >
6913+ </property >
6914+ <property name =" icon" >
6915+ <iconset theme =" edit-copy" resource =" ../breeze-qownnotes.qrc" >
6916+ <normaloff >:/icons/breeze-qownnotes/16x16/edit-copy.svg</normaloff >:/icons/breeze-qownnotes/16x16/edit-copy.svg</iconset >
6917+ </property >
6918+ </widget >
6919+ </item >
6920+ <item row =" 2" column =" 5" >
6921+ <widget class =" QToolButton" name =" bookmarkSuggestionApiGenerateTokenButton" >
6922+ <property name =" toolTip" >
6923+ <string >Generate new security token</string >
6924+ </property >
6925+ <property name =" text" >
6926+ <string notr =" true" >…</string >
6927+ </property >
6928+ <property name =" icon" >
6929+ <iconset theme =" view-refresh" resource =" ../breeze-qownnotes.qrc" >
6930+ <normaloff >:/icons/breeze-qownnotes/16x16/view-refresh.svg</normaloff >:/icons/breeze-qownnotes/16x16/view-refresh.svg</iconset >
6931+ </property >
6932+ </widget >
6933+ </item >
6934+ </layout >
6935+ </widget >
6936+ </item >
68726937 </layout >
68736938 </widget >
68746939 </item >
@@ -7818,6 +7883,10 @@ Just test yourself if you get sync conflicts and set a higher value if so.</stri
78187883 <tabstop >bookmarkSuggestionApiEnabledCheckBox</tabstop >
78197884 <tabstop >bookmarkSuggestionApiPortSpinBox</tabstop >
78207885 <tabstop >bookmarkSuggestionApiPortResetButton</tabstop >
7886+ <tabstop >bookmarkSuggestionApiTokenLineEdit</tabstop >
7887+ <tabstop >bookmarkSuggestionApiShowTokenButton</tabstop >
7888+ <tabstop >bookmarkSuggestionApiCopyTokenButton</tabstop >
7889+ <tabstop >bookmarkSuggestionApiGenerateTokenButton</tabstop >
78217890 <tabstop >webSocketServerServicePortSpinBox</tabstop >
78227891 <tabstop >webSocketServerServicePortResetButton</tabstop >
78237892 <tabstop >webSocketTokenButton</tabstop >
0 commit comments