File tree 4 files changed +25
-6
lines changed
4 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -2769,14 +2769,17 @@ void MainWindow::setupChatHistory()
2769
2769
if (listview)
2770
2770
{
2771
2771
auto chat = new ChatTextList (ui.chatTab );
2772
+ chat->setAccessibleName (tr (" History" ));
2772
2773
delete ui.chatTab ->layout ()->replaceWidget (ui.chatEdit , chat);
2773
2774
m_chathistory[TAB_CHAT] = chat;
2774
2775
2775
2776
auto video = new ChatTextList (ui.videoTab );
2777
+ video->setAccessibleName (tr (" History" ));
2776
2778
delete ui.videoTab ->layout ()->replaceWidget (ui.videochatEdit , video);
2777
2779
m_chathistory[TAB_VIDEO] = video;
2778
2780
2779
2781
auto desktop = new ChatTextList (ui.desktopTab );
2782
+ desktop->setAccessibleName (tr (" History" ));
2780
2783
delete ui.desktopTab ->layout ()->replaceWidget (ui.desktopchatEdit , desktop);
2781
2784
m_chathistory[TAB_DESKTOP] = desktop;
2782
2785
Original file line number Diff line number Diff line change 340
340
<item >
341
341
<widget class =" ChatTextEdit" name =" chatEdit" >
342
342
<property name =" accessibleName" >
343
- <string >History</string >
343
+ <string notr =" true" >History</string >
344
+ </property >
345
+ <property name =" accessibleDescription" >
346
+ <string notr =" true" />
344
347
</property >
345
348
<property name =" tabChangesFocus" >
346
349
<bool >true</bool >
973
976
<bool >false</bool >
974
977
</property >
975
978
<property name =" accessibleName" >
976
- <string >History</string >
979
+ <string notr =" true" >History</string >
980
+ </property >
981
+ <property name =" accessibleDescription" >
982
+ <string notr =" true" />
977
983
</property >
978
984
<property name =" tabChangesFocus" >
979
985
<bool >true</bool >
1259
1265
<bool >false</bool >
1260
1266
</property >
1261
1267
<property name =" accessibleName" >
1262
- <string >History</string >
1268
+ <string notr =" true" >History</string >
1269
+ </property >
1270
+ <property name =" accessibleDescription" >
1271
+ <string notr =" true" />
1263
1272
</property >
1264
1273
<property name =" tabChangesFocus" >
1265
1274
<bool >true</bool >
Original file line number Diff line number Diff line change 35
35
<item >
36
36
<widget class =" QSplitter" name =" splitter" >
37
37
<property name =" orientation" >
38
- <enum >Qt::Vertical</enum >
38
+ <enum >Qt::Orientation:: Vertical</enum >
39
39
</property >
40
40
<widget class =" QGroupBox" name =" groupBox" >
41
41
<property name =" title" >
59
59
</property >
60
60
<item >
61
61
<widget class =" ChatTextEdit" name =" historyTextEdit" >
62
+ <property name =" accessibleName" >
63
+ <string notr =" true" />
64
+ </property >
65
+ <property name =" accessibleDescription" >
66
+ <string notr =" true" />
67
+ </property >
62
68
<property name =" tabChangesFocus" >
63
69
<bool >true</bool >
64
70
</property >
65
71
<property name =" textInteractionFlags" >
66
- <set >Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set >
72
+ <set >Qt::TextInteractionFlag:: LinksAccessibleByKeyboard|Qt::TextInteractionFlag:: LinksAccessibleByMouse|Qt::TextInteractionFlag:: TextBrowserInteraction|Qt::TextInteractionFlag:: TextSelectableByKeyboard|Qt::TextInteractionFlag ::TextSelectableByMouse</set >
67
73
</property >
68
74
</widget >
69
75
</item >
137
143
<item >
138
144
<spacer name =" horizontalSpacer" >
139
145
<property name =" orientation" >
140
- <enum >Qt::Horizontal</enum >
146
+ <enum >Qt::Orientation:: Horizontal</enum >
141
147
</property >
142
148
<property name =" sizeHint" stdset =" 0" >
143
149
<size >
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ void TextMessageDlg::init(const User& user)
62
62
if (listview)
63
63
{
64
64
auto chat = new ChatTextList (ui.groupBox );
65
+ chat->setAccessibleName (tr (" History" ));
65
66
delete ui.groupBox ->layout ()->replaceWidget (ui.historyTextEdit , chat);
66
67
m_history = chat;
67
68
ui.historyTextEdit = nullptr ;
You can’t perform that action at this time.
0 commit comments