mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 20:34:25 -04:00
Added new option for GxsForums and FeedReader - Open all forums/feeds in new tab.
Option=on (standard) - no standard tab - new tab by single click - no menu entry "Open in new tab" Option=off: - standard tab (not closeable) - open in standard tab by single click - menu entry "Open in new tab" - open new tab with middle mouse button git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6060 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9cfe660e11
commit
f488dbd15a
30 changed files with 425 additions and 185 deletions
|
@ -1765,7 +1765,7 @@ ForumsFillThread::ForumsFillThread(ForumsDialog *parent)
|
|||
stopped = false;
|
||||
compareRole = NULL;
|
||||
|
||||
expandNewMessages = Settings->getExpandNewMessages();
|
||||
expandNewMessages = Settings->getForumExpandNewMessages();
|
||||
fillComplete = false;
|
||||
|
||||
filterColumn = 0;
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "settings/rsharesettings.h"
|
||||
#include "RetroShareLink.h"
|
||||
#include "channels/ShareKey.h"
|
||||
#include "common/RSTreeWidget.h"
|
||||
#include "notifyqt.h"
|
||||
|
||||
// These should be in retroshare/ folder.
|
||||
|
@ -69,13 +70,16 @@ GxsForumsDialog::GxsForumsDialog(QWidget *parent)
|
|||
|
||||
/* Setup Queue */
|
||||
mForumQueue = new TokenQueue(rsGxsForums->getTokenService(), this);
|
||||
mThreadWidget = NULL;
|
||||
|
||||
connect(ui.forumTreeWidget, SIGNAL(treeCustomContextMenuRequested(QPoint)), this, SLOT(forumListCustomPopupMenu(QPoint)));
|
||||
connect(ui.newForumButton, SIGNAL(clicked()), this, SLOT(newforum()));
|
||||
connect(ui.forumTreeWidget, SIGNAL(treeItemActivated(QString)), this, SLOT(changedForum(QString)));
|
||||
connect(ui.forumTreeWidget->treeWidget(), SIGNAL(signalMouseMiddleButtonClicked(QTreeWidgetItem*)), this, SLOT(forumTreeMiddleButtonClicked(QTreeWidgetItem*)));
|
||||
connect(ui.threadTabWidget, SIGNAL(tabCloseRequested(int)), this, SLOT(threadTabCloseRequested(int)));
|
||||
connect(ui.threadTabWidget, SIGNAL(currentChanged(int)), this, SLOT(threadTabChanged(int)));
|
||||
connect(NotifyQt::getInstance(), SIGNAL(forumMsgReadSatusChanged(QString,QString,int)), this, SLOT(forumMsgReadSatusChanged(QString,QString,int)));
|
||||
connect(NotifyQt::getInstance(), SIGNAL(settingsChanged()), this, SLOT(settingsChanged()));
|
||||
|
||||
// HACK - TEMPORARY HIJACKING THIS BUTTON FOR REFRESH.
|
||||
connect(ui.refreshButton, SIGNAL(clicked()), this, SLOT(forceUpdateDisplay()));
|
||||
|
@ -97,9 +101,7 @@ GxsForumsDialog::GxsForumsDialog(QWidget *parent)
|
|||
// load settings
|
||||
processSettings(true);
|
||||
|
||||
mThreadWidget = createThreadWidget("");
|
||||
// remove close button of the the first tab
|
||||
ui.threadTabWidget->hideCloseButton(ui.threadTabWidget->indexOf(mThreadWidget));
|
||||
settingsChanged();
|
||||
|
||||
/* Hide platform specific features */
|
||||
#ifdef Q_WS_WIN
|
||||
|
@ -120,11 +122,11 @@ GxsForumsDialog::~GxsForumsDialog()
|
|||
// return new GxsForumUserNotify(parent);
|
||||
//}
|
||||
|
||||
void GxsForumsDialog::processSettings(bool bLoad)
|
||||
void GxsForumsDialog::processSettings(bool load)
|
||||
{
|
||||
Settings->beginGroup(QString("GxsForumsDialog"));
|
||||
|
||||
if (bLoad) {
|
||||
if (load) {
|
||||
// load settings
|
||||
|
||||
// state of splitter
|
||||
|
@ -136,11 +138,27 @@ void GxsForumsDialog::processSettings(bool bLoad)
|
|||
Settings->setValue("Splitter", ui.splitter->saveState());
|
||||
}
|
||||
|
||||
ui.forumTreeWidget->processSettings(Settings, bLoad);
|
||||
ui.forumTreeWidget->processSettings(Settings, load);
|
||||
|
||||
Settings->endGroup();
|
||||
}
|
||||
|
||||
void GxsForumsDialog::settingsChanged()
|
||||
{
|
||||
if (Settings->getForumOpenAllInNewTab()) {
|
||||
if (mThreadWidget) {
|
||||
delete(mThreadWidget);
|
||||
mThreadWidget = NULL;
|
||||
}
|
||||
} else {
|
||||
if (!mThreadWidget) {
|
||||
mThreadWidget = createThreadWidget("");
|
||||
// remove close button of the the first tab
|
||||
ui.threadTabWidget->hideCloseButton(ui.threadTabWidget->indexOf(mThreadWidget));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void GxsForumsDialog::forumListCustomPopupMenu(QPoint /*point*/)
|
||||
{
|
||||
int subscribeFlags = ui.forumTreeWidget->subscribeFlags(QString::fromStdString(mForumId));
|
||||
|
@ -153,9 +171,11 @@ void GxsForumsDialog::forumListCustomPopupMenu(QPoint /*point*/)
|
|||
action = contextMnu.addAction(QIcon(IMAGE_UNSUBSCRIBE), tr("Unsubscribe to Forum"), this, SLOT(unsubscribeToForum()));
|
||||
action->setEnabled (!mForumId.empty() && IS_GROUP_SUBSCRIBED(subscribeFlags));
|
||||
|
||||
action = contextMnu.addAction(QIcon(""), tr("Open in new tab"), this, SLOT(openInNewTab()));
|
||||
if (mForumId.empty() || forumThreadWidget(mForumId)) {
|
||||
action->setEnabled(false);
|
||||
if (!Settings->getForumOpenAllInNewTab()) {
|
||||
action = contextMnu.addAction(QIcon(""), tr("Open in new tab"), this, SLOT(openInNewTab()));
|
||||
if (mForumId.empty() || forumThreadWidget(mForumId)) {
|
||||
action->setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
contextMnu.addSeparator();
|
||||
|
@ -335,7 +355,7 @@ GxsForumThreadWidget *GxsForumsDialog::forumThreadWidget(const std::string &foru
|
|||
int tabCount = ui.threadTabWidget->count();
|
||||
for (int index = 0; index < tabCount; ++index) {
|
||||
GxsForumThreadWidget *childWidget = dynamic_cast<GxsForumThreadWidget*>(ui.threadTabWidget->widget(index));
|
||||
if (childWidget == mThreadWidget) {
|
||||
if (mThreadWidget && childWidget == mThreadWidget) {
|
||||
continue;
|
||||
}
|
||||
if (childWidget && childWidget->forumId() == forumId) {
|
||||
|
@ -370,25 +390,40 @@ void GxsForumsDialog::changedForum(const QString &forumId)
|
|||
GxsForumThreadWidget *threadWidget = forumThreadWidget(mForumId);
|
||||
|
||||
if (!threadWidget) {
|
||||
/* not found, use standard tab */
|
||||
threadWidget = mThreadWidget;
|
||||
threadWidget->setForumId(mForumId);
|
||||
if (mThreadWidget) {
|
||||
/* not found, use standard tab */
|
||||
threadWidget = mThreadWidget;
|
||||
threadWidget->setForumId(mForumId);
|
||||
} else {
|
||||
/* create new tab */
|
||||
threadWidget = createThreadWidget(mForumId);
|
||||
}
|
||||
}
|
||||
|
||||
ui.threadTabWidget->setCurrentWidget(threadWidget);
|
||||
}
|
||||
|
||||
void GxsForumsDialog::forumTreeMiddleButtonClicked(QTreeWidgetItem *item)
|
||||
{
|
||||
openForumInNewTab(ui.forumTreeWidget->itemId(item).toStdString());
|
||||
}
|
||||
|
||||
void GxsForumsDialog::openInNewTab()
|
||||
{
|
||||
if (mForumId.empty()) {
|
||||
openForumInNewTab(mForumId);
|
||||
}
|
||||
|
||||
void GxsForumsDialog::openForumInNewTab(const std::string &forumId)
|
||||
{
|
||||
if (forumId.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* search exisiting tab */
|
||||
GxsForumThreadWidget *threadWidget = forumThreadWidget(mForumId);
|
||||
GxsForumThreadWidget *threadWidget = forumThreadWidget(forumId);
|
||||
if (!threadWidget) {
|
||||
/* not found, create new tab */
|
||||
threadWidget = createThreadWidget(mForumId);
|
||||
threadWidget = createThreadWidget(forumId);
|
||||
}
|
||||
|
||||
ui.threadTabWidget->setCurrentWidget(threadWidget);
|
||||
|
|
|
@ -57,6 +57,7 @@ public:
|
|||
virtual void loadRequest(const TokenQueue *queue, const TokenRequest &req);
|
||||
|
||||
private slots:
|
||||
void settingsChanged();
|
||||
void forceUpdateDisplay(); // TEMP HACK FN.
|
||||
|
||||
/** Create the context popup menu and it's submenus */
|
||||
|
@ -66,6 +67,7 @@ private slots:
|
|||
void newforum();
|
||||
|
||||
void changedForum(const QString &forumId);
|
||||
void forumTreeMiddleButtonClicked(QTreeWidgetItem *item);
|
||||
void openInNewTab();
|
||||
void threadTabCloseRequested(int index);
|
||||
void threadTabChanged(int index);
|
||||
|
@ -93,6 +95,7 @@ private:
|
|||
// void forumInfoToGroupItemInfo(const ForumInfo &forumInfo, GroupItemInfo &groupItemInfo);
|
||||
void forumInfoToGroupItemInfo(const RsGroupMetaData &forumInfo, GroupItemInfo &groupItemInfo);
|
||||
|
||||
void openForumInNewTab(const std::string &forumId);
|
||||
void forumSubscribe(bool subscribe);
|
||||
|
||||
void processSettings(bool load);
|
||||
|
|
|
@ -434,6 +434,11 @@ QTreeWidgetItem *GroupTreeWidget::activateId(const QString &id, bool focus)
|
|||
return item;
|
||||
}
|
||||
|
||||
RSTreeWidget *GroupTreeWidget::treeWidget()
|
||||
{
|
||||
return ui->treeWidget;
|
||||
}
|
||||
|
||||
int GroupTreeWidget::subscribeFlags(const QString &id)
|
||||
{
|
||||
QTreeWidgetItem *item = getItemFromId(id);
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
class QToolButton;
|
||||
class RshareSettings;
|
||||
class RSTreeWidgetItemCompareRole;
|
||||
class RSTreeWidget;
|
||||
|
||||
#define GROUPTREEWIDGET_COLOR_STANDARD -1
|
||||
#define GROUPTREEWIDGET_COLOR_CATEGORY 0
|
||||
|
@ -89,6 +90,8 @@ public:
|
|||
QTreeWidgetItem *getItemFromId(const QString &id);
|
||||
QTreeWidgetItem *activateId(const QString &id, bool focus);
|
||||
|
||||
RSTreeWidget *treeWidget();
|
||||
|
||||
QColor textColorCategory() const { return mTextColor[GROUPTREEWIDGET_COLOR_CATEGORY]; }
|
||||
QColor textColorPrivateKey() const { return mTextColor[GROUPTREEWIDGET_COLOR_PRIVATEKEY]; }
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<widget class="LineEditClear" name="filterLineEdit"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTreeWidget" name="treeWidget">
|
||||
<widget class="RSTreeWidget" name="treeWidget">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
@ -72,6 +72,11 @@
|
|||
<extends>QLineEdit</extends>
|
||||
<header location="global">gui/common/LineEditClear.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>RSTreeWidget</class>
|
||||
<extends>QTreeWidget</extends>
|
||||
<header>gui/common/RSTreeWidget.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
****************************************************************/
|
||||
|
||||
#include <QPainter>
|
||||
#include <QMouseEvent>
|
||||
|
||||
#include "RSTreeWidget.h"
|
||||
|
||||
|
@ -29,7 +30,7 @@ RSTreeWidget::RSTreeWidget(QWidget *parent) : QTreeWidget(parent)
|
|||
|
||||
void RSTreeWidget::setPlaceholderText(const QString &text)
|
||||
{
|
||||
placeholderText = text;
|
||||
mPlaceholderText = text;
|
||||
viewport()->repaint();
|
||||
}
|
||||
|
||||
|
@ -37,7 +38,7 @@ void RSTreeWidget::paintEvent(QPaintEvent *event)
|
|||
{
|
||||
QTreeWidget::paintEvent(event);
|
||||
|
||||
if (placeholderText.isEmpty() == false && model() && model()->rowCount() == 0) {
|
||||
if (mPlaceholderText.isEmpty() == false && model() && model()->rowCount() == 0) {
|
||||
QWidget *vieportWidget = viewport();
|
||||
QPainter painter(vieportWidget);
|
||||
|
||||
|
@ -47,6 +48,22 @@ void RSTreeWidget::paintEvent(QPaintEvent *event)
|
|||
pen.setColor(color);
|
||||
painter.setPen(pen);
|
||||
|
||||
painter.drawText(QRect(QPoint(), vieportWidget->size()), Qt::AlignHCenter | Qt::AlignVCenter | Qt::TextWordWrap, placeholderText);
|
||||
painter.drawText(QRect(QPoint(), vieportWidget->size()), Qt::AlignHCenter | Qt::AlignVCenter | Qt::TextWordWrap, mPlaceholderText);
|
||||
}
|
||||
}
|
||||
|
||||
void RSTreeWidget::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
if (event->buttons() & Qt::MiddleButton) {
|
||||
if (receivers(SIGNAL(signalMouseMiddleButtonClicked(QTreeWidgetItem*))) > 0) {
|
||||
QTreeWidgetItem *item = itemAt(event->pos());
|
||||
if (item) {
|
||||
setCurrentItem(item);
|
||||
emit signalMouseMiddleButtonClicked(item);
|
||||
}
|
||||
return; // eat event
|
||||
}
|
||||
}
|
||||
|
||||
QTreeWidget::mousePressEvent(event);
|
||||
}
|
||||
|
|
|
@ -34,10 +34,14 @@ public:
|
|||
|
||||
void setPlaceholderText(const QString &text);
|
||||
|
||||
signals:
|
||||
void signalMouseMiddleButtonClicked(QTreeWidgetItem *item);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
virtual void mousePressEvent(QMouseEvent *event);
|
||||
|
||||
QString placeholderText;
|
||||
QString mPlaceholderText;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -958,7 +958,7 @@ void GxsForumThreadWidget::insertForumThreads(const RsGroupMetaData &fi)
|
|||
mFillThread->mFilterColumn = ui->filterLineEdit->currentFilter();
|
||||
mFillThread->mFilterColumn = COLUMN_THREAD_TITLE;
|
||||
mFillThread->mSubscribeFlags = mSubscribeFlags;
|
||||
mFillThread->mExpandNewMessages = Settings->getExpandNewMessages();
|
||||
mFillThread->mExpandNewMessages = Settings->getForumExpandNewMessages();
|
||||
mFillThread->mViewType = ui->viewBox->currentIndex();
|
||||
if (mLastViewType != mFillThread->mViewType || mLastForumID != mForumId) {
|
||||
mFillThread->mFillComplete = true;
|
||||
|
|
|
@ -837,6 +837,11 @@ void NotifyQt::notifyChatStyleChanged(int /*ChatStyle::enumStyleType*/ styleType
|
|||
emit chatStyleChanged(styleType);
|
||||
}
|
||||
|
||||
void NotifyQt::notifySettingsChanged()
|
||||
{
|
||||
emit settingsChanged();
|
||||
}
|
||||
|
||||
void NotifyQt::startWaitingToasters()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -66,6 +66,8 @@ class NotifyQt: public QObject, public NotifyBase
|
|||
|
||||
void testToaster(uint notifyFlags, /*RshareSettings::enumToasterPosition*/ int position, QPoint margin);
|
||||
|
||||
void notifySettingsChanged();
|
||||
|
||||
signals:
|
||||
// It's beneficial to send info to the GUI using signals, because signals are thread-safe
|
||||
// as they get queued by Qt.
|
||||
|
@ -107,6 +109,7 @@ class NotifyQt: public QObject, public NotifyBase
|
|||
|
||||
/* Notify from GUI */
|
||||
void chatStyleChanged(int /*ChatStyle::enumStyleType*/ styleType);
|
||||
void settingsChanged();
|
||||
|
||||
public slots:
|
||||
void UpdateGUI(); /* called by timer */
|
||||
|
|
|
@ -42,7 +42,8 @@ bool
|
|||
ForumPage::save(QString &/*errmsg*/)
|
||||
{
|
||||
Settings->setForumMsgSetToReadOnActivate(ui.setMsgToReadOnActivate->isChecked());
|
||||
Settings->setExpandNewMessages(ui.expandNewMessages->isChecked());
|
||||
Settings->setForumExpandNewMessages(ui.expandNewMessages->isChecked());
|
||||
Settings->setForumOpenAllInNewTab(ui.openAllInNewTabCheckBox->isChecked());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -52,5 +53,6 @@ void
|
|||
ForumPage::load()
|
||||
{
|
||||
ui.setMsgToReadOnActivate->setChecked(Settings->getForumMsgSetToReadOnActivate());
|
||||
ui.expandNewMessages->setChecked(Settings->getExpandNewMessages());
|
||||
ui.expandNewMessages->setChecked(Settings->getForumExpandNewMessages());
|
||||
ui.openAllInNewTabCheckBox->setChecked(Settings->getForumOpenAllInNewTab());
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<item row="2" column="0">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
|
@ -47,6 +47,22 @@
|
|||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="gxsGroupBox">
|
||||
<property name="title">
|
||||
<string>New forum</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="openAllInNewTabCheckBox">
|
||||
<property name="text">
|
||||
<string>Open all forums in new tab</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "ForumPage.h"
|
||||
#include "PluginsPage.h"
|
||||
#include "rsharesettings.h"
|
||||
#include "gui/notifyqt.h"
|
||||
|
||||
#define IMAGE_GENERAL ":/images/kcmsystem24.png"
|
||||
|
||||
|
@ -202,5 +203,9 @@ RSettingsWin::saveChanges()
|
|||
/* call to RsIface save function.... */
|
||||
//rsicontrol -> ConfigSave();
|
||||
|
||||
if (NotifyQt::getInstance()) {
|
||||
NotifyQt::getInstance()->notifySettingsChanged();
|
||||
}
|
||||
|
||||
close();
|
||||
}
|
||||
|
|
|
@ -698,9 +698,9 @@ bool RshareSettings::getMsgSetToReadOnActivate ()
|
|||
return valueFromGroup("MessageDialog", "SetMsgToReadOnActivate", true).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setMsgSetToReadOnActivate (bool bValue)
|
||||
void RshareSettings::setMsgSetToReadOnActivate (bool value)
|
||||
{
|
||||
setValueToGroup("MessageDialog", "SetMsgToReadOnActivate", bValue);
|
||||
setValueToGroup("MessageDialog", "SetMsgToReadOnActivate", value);
|
||||
}
|
||||
|
||||
RshareSettings::enumMsgOpen RshareSettings::getMsgOpen()
|
||||
|
@ -735,19 +735,29 @@ bool RshareSettings::getForumMsgSetToReadOnActivate ()
|
|||
return valueFromGroup("ForumDialog", "SetMsgToReadOnActivate", true).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setForumMsgSetToReadOnActivate (bool bValue)
|
||||
void RshareSettings::setForumMsgSetToReadOnActivate(bool value)
|
||||
{
|
||||
setValueToGroup("ForumDialog", "SetMsgToReadOnActivate", bValue);
|
||||
setValueToGroup("ForumDialog", "SetMsgToReadOnActivate", value);
|
||||
}
|
||||
|
||||
bool RshareSettings::getExpandNewMessages()
|
||||
bool RshareSettings::getForumExpandNewMessages()
|
||||
{
|
||||
return valueFromGroup("ForumDialog", "ExpandNewMessages", true).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setExpandNewMessages (bool bValue)
|
||||
void RshareSettings::setForumExpandNewMessages(bool value)
|
||||
{
|
||||
setValueToGroup("ForumDialog", "ExpandNewMessages", bValue);
|
||||
setValueToGroup("ForumDialog", "ExpandNewMessages", value);
|
||||
}
|
||||
|
||||
bool RshareSettings::getForumOpenAllInNewTab()
|
||||
{
|
||||
return valueFromGroup("ForumDialog", "OpenAllInNewTab", true).toBool();
|
||||
}
|
||||
|
||||
bool RshareSettings::setForumOpenAllInNewTab(bool value)
|
||||
{
|
||||
setValueToGroup("ForumDialog", "OpenAllInNewTab", value);
|
||||
}
|
||||
|
||||
/* time before idle */
|
||||
|
|
|
@ -236,21 +236,23 @@ public:
|
|||
void setStatusBarFlag(uint flag, bool enable);
|
||||
|
||||
/* Messages */
|
||||
bool getMsgSetToReadOnActivate ();
|
||||
void setMsgSetToReadOnActivate (bool bValue);
|
||||
bool getMsgSetToReadOnActivate();
|
||||
void setMsgSetToReadOnActivate(bool value);
|
||||
|
||||
enumMsgOpen getMsgOpen();
|
||||
void setMsgOpen(enumMsgOpen value);
|
||||
|
||||
/* Forums */
|
||||
bool getForumMsgSetToReadOnActivate ();
|
||||
void setForumMsgSetToReadOnActivate (bool bValue);
|
||||
bool getExpandNewMessages ();
|
||||
void setExpandNewMessages (bool bValue);
|
||||
bool getForumMsgSetToReadOnActivate();
|
||||
void setForumMsgSetToReadOnActivate(bool value);
|
||||
bool getForumExpandNewMessages();
|
||||
void setForumExpandNewMessages(bool value);
|
||||
bool getForumOpenAllInNewTab();
|
||||
bool setForumOpenAllInNewTab(bool value);
|
||||
|
||||
/* time before idle */
|
||||
uint getMaxTimeBeforeIdle();
|
||||
void setMaxTimeBeforeIdle(uint nValue);
|
||||
void setMaxTimeBeforeIdle(uint value);
|
||||
|
||||
protected:
|
||||
/** Default constructor. */
|
||||
|
|
|
@ -4172,6 +4172,14 @@ p, li { white-space: pre-wrap; }
|
|||
<source>Forum</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>New forum</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open all forums in new tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ForumUserNotify</name>
|
||||
|
@ -5885,6 +5893,10 @@ p, li { white-space: pre-wrap; }
|
|||
<source>Search Content</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GxsForumsDialog</name>
|
||||
|
@ -5988,6 +6000,10 @@ p, li { white-space: pre-wrap; }
|
|||
<source>On %1, %2 wrote:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in new tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GxsForumsFillThread</name>
|
||||
|
@ -6315,6 +6331,14 @@ p, li { white-space: pre-wrap; }
|
|||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-size:8pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; font-weight:600;">About RetroShare</span></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">RetroShare is an Open Source cross-platform, </span></p>
|
||||
<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">private and secure decentralized commmunication platform. </span></p>
|
||||
|
@ -6323,11 +6347,12 @@ p, li { white-space: pre-wrap; }
|
|||
<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">RetroShare provides file sharing, chat, messages and channels</span></p>
|
||||
<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Useful external links to more information:</span></p>
|
||||
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" font-size:8pt;" align="justify" style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net"><span style=" text-decoration: underline; color:#0000ff;">Retroshare Webpage</span></a></li>
|
||||
<li style=" font-size:8pt;" align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net/wiki/index.php/Main_Page"><span style=" text-decoration: underline; color:#0000ff;">Retroshare Wiki</span></a></li>
|
||||
<li style=" font-size:8pt; text-decoration: underline; color:#0000ff;" align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net/forum/">RetroShare's Forum</a></li>
|
||||
<li style=" font-size:8pt;" align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://sourceforge.net/projects/retroshare/"><span style=" text-decoration: underline; color:#0000ff;">Retroshare Project Page</span></a></li>
|
||||
<li style=" font-size:8pt;" align="justify" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://www.lunamutt.com"><span style=" text-decoration: underline; color:#0000ff;">Lunamutt Homepage.</span></a></li></ul></body></html></source>
|
||||
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" font-size:8pt;" align="justify" style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net"><span style=" font-size:12pt; text-decoration: underline; color:#0000ff;">Retroshare Webpage</span></a></li>
|
||||
<li style=" font-size:12pt; text-decoration: underline; color:#0000ff;" align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net">Retroshare Wiki</a></li>
|
||||
<li style=" font-size:12pt; text-decoration: underline; color:#0000ff;" align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net">RetroShare's Forum</a></li>
|
||||
<li style=" font-size:12pt; text-decoration: underline; color:#0000ff;" align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net">Retroshare Project Page</a></li>
|
||||
<li style=" font-size:12pt; text-decoration: underline; color:#0000ff;" align="justify" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net">RetroShare Team Blog</a></li>
|
||||
<li style=" font-size:12pt; text-decoration: underline; color:#0000ff;" align="justify" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://retroshare.sourceforge.net">RetroShare Dev Twiter</a></li></ul></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -6340,21 +6365,15 @@ p, li { white-space: pre-wrap; }
|
|||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">French</span><span style=" font-size:8pt;">:Temet</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Polish: </span><span style=" font-size:8pt;">Jarek</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Serbian</span><span style=" font-size:8pt;">: Kunalagon Umuhanik &lt;kunalagon@gmail.com&gt;</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Spanish: </span><span style=" font-family:'Courier New,courier';">Manuel Montero &lt;Senpai&gt; </span><a href="http://pagina.de/senpai&amp;gt"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0000ff;">http://pagina.de/senpai</span></a></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Swedish:</span><span style=" font-size:8pt;"> dnylander</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">RetroShare Website Translators:</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; font-weight:600;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Swedish: </span><span style=" font-size:8pt;"> Daniel Wester</span><span style=" font-size:8pt; font-weight:600;"> &lt;</span><span style=" font-size:8pt;">wester@speedmail.se</span><span style=" font-size:8pt; font-weight:600;">&gt;</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">German: </span><span style=" font-size:8pt;">Jan</span><span style=" font-size:8pt; font-weight:600;"> </span><span style=" font-size:8pt;">Keller</span><span style=""> &lt;</span><span style=" font-size:8pt;">trilarion@users.sourceforge.net</span><span style="">&gt;</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Polish: </span><span style="">Maciej Mrug</span></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-size:8pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; font-weight:600;">About RetroShare</span></p></body></html></source>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">German: </span><span style=" font-size:8pt;">Jan</span><span style=" font-size:8pt; font-weight:600;"> </span><span style=" font-size:8pt;">Keller</span> &lt;<span style=" font-size:8pt;">trilarion@users.sourceforge.net</span>&gt;</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Polish: </span>Maciej Mrug</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue