diff --git a/plugins/FeedReader/gui/FeedReaderDialog.ui b/plugins/FeedReader/gui/FeedReaderDialog.ui index 6a4f0c696..1c8628db3 100644 --- a/plugins/FeedReader/gui/FeedReaderDialog.ui +++ b/plugins/FeedReader/gui/FeedReaderDialog.ui @@ -84,6 +84,9 @@ + + Qt::ClickFocus + Add new feed @@ -98,6 +101,9 @@ + + Qt::ClickFocus + Update feed diff --git a/plugins/FeedReader/gui/FeedReaderMessageWidget.ui b/plugins/FeedReader/gui/FeedReaderMessageWidget.ui index d1868a5a2..82a5ea7d0 100644 --- a/plugins/FeedReader/gui/FeedReaderMessageWidget.ui +++ b/plugins/FeedReader/gui/FeedReaderMessageWidget.ui @@ -41,6 +41,9 @@ + + Qt::ClickFocus + Mark messages as read @@ -58,6 +61,9 @@ + + Qt::ClickFocus + Mark messages as unread @@ -72,6 +78,9 @@ + + Qt::ClickFocus + Mark all messages as read @@ -86,6 +95,9 @@ + + Qt::ClickFocus + Remove messages @@ -100,6 +112,9 @@ + + Qt::ClickFocus + Update feed @@ -187,6 +202,9 @@ + + Qt::ClickFocus + :/images/Link.png:/images/Link.png @@ -241,6 +259,9 @@ 9 + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + diff --git a/retroshare-gui/src/gui/common/LineEditClear.cpp b/retroshare-gui/src/gui/common/LineEditClear.cpp index cbb4400a1..a2ec48c34 100644 --- a/retroshare-gui/src/gui/common/LineEditClear.cpp +++ b/retroshare-gui/src/gui/common/LineEditClear.cpp @@ -46,6 +46,7 @@ LineEditClear::LineEditClear(QWidget *parent) "QToolButton:hover { border-image: url(:/images/closehover.png) }" "QToolButton:pressed { border-image: url(:/images/closepressed.png) }"); mClearButton->hide(); + mClearButton->setFocusPolicy(Qt::NoFocus); connect(mClearButton, SIGNAL(clicked()), this, SLOT(clear())); connect(this, SIGNAL(textChanged(const QString&)), this, SLOT(updateClearButton(const QString&))); @@ -127,6 +128,7 @@ void LineEditClear::showFilterIcon() "QToolButton[popupMode=\"2\"] { padding-right: 10px; }" "QToolButton::menu-indicator[popupMode=\"2\"] { subcontrol-origin: padding; subcontrol-position: bottom right; top: 5px; left: -3px; width: 7px; }"); mFilterButton->move(2, 2); + mFilterButton->setFocusPolicy(Qt::NoFocus); reposButtons(); } diff --git a/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp b/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp index cbfd77a58..96934c5bf 100644 --- a/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp +++ b/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp @@ -39,6 +39,7 @@ OpModeStatus::OpModeStatus(QWidget *parent) setToolTip(tr("Use this DropList to quickly change Retroshare's behaviour\n No Anon D/L: switches off file forwarding\n Gaming Mode: 25% standard traffic and TODO: reduced popups\n Low Traffic: 10% standard traffic and TODO: pauses all file-transfers")); + setFocusPolicy(Qt::ClickFocus); } diff --git a/retroshare-gui/src/gui/statusbar/SoundStatus.cpp b/retroshare-gui/src/gui/statusbar/SoundStatus.cpp index 148f51de8..753084c35 100644 --- a/retroshare-gui/src/gui/statusbar/SoundStatus.cpp +++ b/retroshare-gui/src/gui/statusbar/SoundStatus.cpp @@ -39,6 +39,7 @@ SoundStatus::SoundStatus(QWidget *parent) imageButton->setFlat(true); imageButton->setCheckable(true); imageButton->setMaximumSize(24, 24); + imageButton->setFocusPolicy(Qt::ClickFocus); hbox->addWidget(imageButton); setLayout(hbox);