mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
Removed the policy TabFocus from some gui elements.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6058 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e099389528
commit
451c7f5eda
@ -84,6 +84,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="feedAddButton">
|
<widget class="QToolButton" name="feedAddButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Add new feed</string>
|
<string>Add new feed</string>
|
||||||
</property>
|
</property>
|
||||||
@ -98,6 +101,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="feedProcessButton">
|
<widget class="QToolButton" name="feedProcessButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Update feed</string>
|
<string>Update feed</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -41,6 +41,9 @@
|
|||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="msgReadButton">
|
<widget class="QToolButton" name="msgReadButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Mark messages as read</string>
|
<string>Mark messages as read</string>
|
||||||
</property>
|
</property>
|
||||||
@ -58,6 +61,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="msgUnreadButton">
|
<widget class="QToolButton" name="msgUnreadButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Mark messages as unread</string>
|
<string>Mark messages as unread</string>
|
||||||
</property>
|
</property>
|
||||||
@ -72,6 +78,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="msgReadAllButton">
|
<widget class="QToolButton" name="msgReadAllButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Mark all messages as read</string>
|
<string>Mark all messages as read</string>
|
||||||
</property>
|
</property>
|
||||||
@ -86,6 +95,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="msgRemoveButton">
|
<widget class="QToolButton" name="msgRemoveButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Remove messages</string>
|
<string>Remove messages</string>
|
||||||
</property>
|
</property>
|
||||||
@ -100,6 +112,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="feedProcessButton">
|
<widget class="QToolButton" name="feedProcessButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Update feed</string>
|
<string>Update feed</string>
|
||||||
</property>
|
</property>
|
||||||
@ -187,6 +202,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="linkButton">
|
<widget class="QToolButton" name="linkButton">
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::ClickFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="FeedReader_images.qrc">
|
<iconset resource="FeedReader_images.qrc">
|
||||||
<normaloff>:/images/Link.png</normaloff>:/images/Link.png</iconset>
|
<normaloff>:/images/Link.png</normaloff>:/images/Link.png</iconset>
|
||||||
@ -241,6 +259,9 @@
|
|||||||
<pointsize>9</pointsize>
|
<pointsize>9</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="textInteractionFlags">
|
||||||
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -46,6 +46,7 @@ LineEditClear::LineEditClear(QWidget *parent)
|
|||||||
"QToolButton:hover { border-image: url(:/images/closehover.png) }"
|
"QToolButton:hover { border-image: url(:/images/closehover.png) }"
|
||||||
"QToolButton:pressed { border-image: url(:/images/closepressed.png) }");
|
"QToolButton:pressed { border-image: url(:/images/closepressed.png) }");
|
||||||
mClearButton->hide();
|
mClearButton->hide();
|
||||||
|
mClearButton->setFocusPolicy(Qt::NoFocus);
|
||||||
|
|
||||||
connect(mClearButton, SIGNAL(clicked()), this, SLOT(clear()));
|
connect(mClearButton, SIGNAL(clicked()), this, SLOT(clear()));
|
||||||
connect(this, SIGNAL(textChanged(const QString&)), this, SLOT(updateClearButton(const QString&)));
|
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[popupMode=\"2\"] { padding-right: 10px; }"
|
||||||
"QToolButton::menu-indicator[popupMode=\"2\"] { subcontrol-origin: padding; subcontrol-position: bottom right; top: 5px; left: -3px; width: 7px; }");
|
"QToolButton::menu-indicator[popupMode=\"2\"] { subcontrol-origin: padding; subcontrol-position: bottom right; top: 5px; left: -3px; width: 7px; }");
|
||||||
mFilterButton->move(2, 2);
|
mFilterButton->move(2, 2);
|
||||||
|
mFilterButton->setFocusPolicy(Qt::NoFocus);
|
||||||
|
|
||||||
reposButtons();
|
reposButtons();
|
||||||
}
|
}
|
||||||
|
@ -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"));
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ SoundStatus::SoundStatus(QWidget *parent)
|
|||||||
imageButton->setFlat(true);
|
imageButton->setFlat(true);
|
||||||
imageButton->setCheckable(true);
|
imageButton->setCheckable(true);
|
||||||
imageButton->setMaximumSize(24, 24);
|
imageButton->setMaximumSize(24, 24);
|
||||||
|
imageButton->setFocusPolicy(Qt::ClickFocus);
|
||||||
hbox->addWidget(imageButton);
|
hbox->addWidget(imageButton);
|
||||||
|
|
||||||
setLayout(hbox);
|
setLayout(hbox);
|
||||||
|
Loading…
Reference in New Issue
Block a user