mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 15:09:33 -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>
|
||||
<widget class="QToolButton" name="feedAddButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Add new feed</string>
|
||||
</property>
|
||||
@ -98,6 +101,9 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="feedProcessButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Update feed</string>
|
||||
</property>
|
||||
|
@ -41,6 +41,9 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QToolButton" name="msgReadButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Mark messages as read</string>
|
||||
</property>
|
||||
@ -58,6 +61,9 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="msgUnreadButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Mark messages as unread</string>
|
||||
</property>
|
||||
@ -72,6 +78,9 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="msgReadAllButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Mark all messages as read</string>
|
||||
</property>
|
||||
@ -86,6 +95,9 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="msgRemoveButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Remove messages</string>
|
||||
</property>
|
||||
@ -100,6 +112,9 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="feedProcessButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Update feed</string>
|
||||
</property>
|
||||
@ -187,6 +202,9 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="linkButton">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="FeedReader_images.qrc">
|
||||
<normaloff>:/images/Link.png</normaloff>:/images/Link.png</iconset>
|
||||
@ -241,6 +259,9 @@
|
||||
<pointsize>9</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user