mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-01-05 02:25:56 -05:00
Merge pull request #3074 from Passw/patch-2
Some checks failed
macOS Build / build (push) Has been cancelled
MINGW64 Qt6 Build / build (push) Has been cancelled
MINGW64 Qt5 Build / build (push) Has been cancelled
UCRT64 Qt5 Build / build (push) Has been cancelled
Ubuntu Qt 5 C/C++ CI / build (push) Has been cancelled
Ubuntu Qt 6 C/C++ CI / build (push) Has been cancelled
Some checks failed
macOS Build / build (push) Has been cancelled
MINGW64 Qt6 Build / build (push) Has been cancelled
MINGW64 Qt5 Build / build (push) Has been cancelled
UCRT64 Qt5 Build / build (push) Has been cancelled
Ubuntu Qt 5 C/C++ CI / build (push) Has been cancelled
Ubuntu Qt 6 C/C++ CI / build (push) Has been cancelled
fix comments retroshare-gui/src/
This commit is contained in:
commit
ed449abb5e
136 changed files with 165 additions and 165 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* control/bandwidthevent.h *
|
||||
* retroshare-gui/src/control/bandwidthevent.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
@ -39,7 +39,7 @@ public:
|
|||
quint64 bytesRead() { return _bytesRead; }
|
||||
/** Returns the number of bytes written in the last second */
|
||||
quint64 bytesWritten() { return _bytesWritten; }
|
||||
|
||||
|
||||
private:
|
||||
quint64 _bytesWritten;
|
||||
quint64 _bytesRead;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* control/eventtype.h *
|
||||
* retroshare-gui/src/control/eventtype.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/Circles/CirclesDialog.cpp *
|
||||
* retroshare-gui/src/gui/Circles/CirclesDialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/Circles/CirclesDialog.h *
|
||||
* retroshare-gui/src/gui/Circles/CirclesDialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/Circles/CreateCirclesDialog.cpp *
|
||||
* retroshare-gui/src/gui/Circles/CreateCirclesDialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/Circles/CreateCirclesDialog.h *
|
||||
* retroshare-gui/src/gui/Circles/CreateCirclesDialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/advsearch/advancedsearchdialog.cpp *
|
||||
* retroshare-gui/src/gui/advsearch/advancedsearchdialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <QGridLayout>
|
||||
|
||||
AdvancedSearchDialog::AdvancedSearchDialog(QWidget * parent) : QDialog (parent)
|
||||
AdvancedSearchDialog::AdvancedSearchDialog(QWidget * parent) : QDialog (parent)
|
||||
{
|
||||
setupUi(this);
|
||||
|
||||
|
|
@ -94,7 +94,7 @@ void AdvancedSearchDialog::reset()
|
|||
{
|
||||
while (!expressions->isEmpty())
|
||||
deleteExpression(expressions->takeLast());
|
||||
|
||||
|
||||
// now add a new default expressions
|
||||
addNewExpression();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/advsearch/advancedsearchdialog.h *
|
||||
* retroshare-gui/src/gui/advsearch/advancedsearchdialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
@ -28,23 +28,23 @@
|
|||
|
||||
#include <retroshare/rsexpr.h>
|
||||
|
||||
class AdvancedSearchDialog : public QDialog, public Ui::AdvancedSearchDialog
|
||||
class AdvancedSearchDialog : public QDialog, public Ui::AdvancedSearchDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
AdvancedSearchDialog(QWidget * parent = 0 );
|
||||
RsRegularExpression::Expression * getRsExpr();
|
||||
QString getSearchAsString();
|
||||
signals:
|
||||
void search(RsRegularExpression::Expression*);
|
||||
|
||||
|
||||
private slots:
|
||||
void deleteExpression(ExpressionWidget*);
|
||||
void addNewExpression();
|
||||
void reset();
|
||||
void prepareSearch();
|
||||
|
||||
|
||||
private:
|
||||
QList<ExpressionWidget*> * expressions;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/advsearch/expressionwidget.cpp *
|
||||
* retroshare-gui/src/gui/advsearch/expressionwidget.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/advsearch/expressionwidget.h *
|
||||
* retroshare-gui/src/gui/advsearch/expressionwidget.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/advsearch/guiexprelement.cpp *
|
||||
* retroshare-gui/src/gui/advsearch/guiexprelement.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/advsearch/guiexprelement.h *
|
||||
* retroshare-gui/src/gui/advsearch/guiexprelement.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatDialog.cpp *
|
||||
* retroshare-gui/src/gui/chat/ChatDialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatDialog.h *
|
||||
* retroshare-gui/src/gui/chat/ChatDialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatLobbyDialog.cpp *
|
||||
* retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatLobbyDialog.h *
|
||||
* retroshare-gui/src/gui/chat/ChatLobbyDialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
@ -31,13 +31,13 @@
|
|||
// Q_DECLARE_METATYPE(RsGxsId)
|
||||
// Q_DECLARE_METATYPE(QList<RsGxsId>)
|
||||
|
||||
class GxsIdChooser ;
|
||||
class GxsIdChooser;
|
||||
class QToolButton;
|
||||
class QWidgetAction;
|
||||
|
||||
class ChatLobbyDialog: public ChatDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
friend class ChatDialog;
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ protected slots:
|
|||
private:
|
||||
void updateParticipantsList();
|
||||
void initParticipantsContextMenu(QMenu* contextMnu, QList<RsGxsId> idList);
|
||||
|
||||
|
||||
void filterIds();
|
||||
|
||||
QString getParticipantName(const RsGxsId& id) const;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatLobbyUserNotify.cpp *
|
||||
* retroshare-gui/src/gui/chat/ChatLobbyUserNotify.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatLobbyUserNotify.h *
|
||||
* retroshare-gui/src/gui/chat/ChatLobbyUserNotify.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatStyle.cpp *
|
||||
* retroshare-gui/src/gui/chat/ChatStyle.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatStyle.h *
|
||||
* retroshare-gui/src/gui/chat/ChatStyle.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatTabWidget.h *
|
||||
* retroshare-gui/src/gui/chat/ChatTabWidget.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatUserNotify.cpp *
|
||||
* retroshare-gui/src/gui/chat/ChatUserNotify.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatUserNotify.h *
|
||||
* retroshare-gui/src/gui/chat/ChatUserNotify.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatWidget.cpp *
|
||||
* retroshare-gui/src/gui/chat/ChatWidget.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/ChatWidget.h *
|
||||
* retroshare-gui/src/gui/chat/ChatWidget.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/CreateLobbyDialog.cpp *
|
||||
* retroshare-gui/src/gui/chat/CreateLobbyDialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/CreateLobbyDialog.h *
|
||||
* retroshare-gui/src/gui/chat/CreateLobbyDialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/PopupChatDialog.cpp *
|
||||
* retroshare-gui/src/gui/chat/PopupChatDialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/PopupChatDialog.h *
|
||||
* retroshare-gui/src/gui/chat/PopupChatDialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/PopupChatWindow.cpp *
|
||||
* retroshare-gui/src/gui/chat/PopupChatWindow.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/PopupDistantChatDialog.cpp *
|
||||
* retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/chat/PopupDistantChatDialog.h *
|
||||
* retroshare-gui/src/gui/chat/PopupDistantChatDialog.h *
|
||||
* *
|
||||
* LibResAPI: API for local socket server *
|
||||
* *
|
||||
|
|
@ -20,14 +20,14 @@
|
|||
* *
|
||||
*******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include <retroshare/rsgxstunnel.h>
|
||||
#include "PopupChatDialog.h"
|
||||
|
||||
class QCloseEvent ;
|
||||
|
||||
class PopupDistantChatDialog: public PopupChatDialog
|
||||
class PopupDistantChatDialog: public PopupChatDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
|
@ -36,10 +36,10 @@ class PopupDistantChatDialog: public PopupChatDialog
|
|||
PopupDistantChatDialog(const DistantChatPeerId &tunnel_id, QWidget *parent = 0, Qt::WindowFlags flags = Qt::WindowFlags());
|
||||
/** Default destructor */
|
||||
virtual ~PopupDistantChatDialog();
|
||||
|
||||
|
||||
virtual void init(const ChatId& chat_id, const QString &title);
|
||||
virtual void closeEvent(QCloseEvent *e) ;
|
||||
|
||||
|
||||
virtual QString getPeerName(const ChatId &id, QString& additional_info) const ;
|
||||
virtual QString getOwnName() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/AvatarDefs.cpp *
|
||||
* retroshare-gui/src/gui/common/AvatarDefs.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/AvatarDefs.h *
|
||||
* retroshare-gui/src/gui/common/AvatarDefs.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/AvatarDialog.cpp *
|
||||
* retroshare-gui/src/gui/common/AvatarDialog.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/AvatarDialog.h *
|
||||
* retroshare-gui/src/gui/common/AvatarDialog.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/AvatarWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/AvatarWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/AvatarWidget.h *
|
||||
* retroshare-gui/src/gui/common/AvatarWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/DropLineEdit.cpp *
|
||||
* retroshare-gui/src/gui/common/DropLineEdit.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/DropLineEdit.h *
|
||||
* retroshare-gui/src/gui/common/DropLineEdit.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/ElidedLabel.cpp *
|
||||
* retroshare-gui/src/gui/common/ElidedLabel.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/ElidedLabel.h *
|
||||
* retroshare-gui/src/gui/common/ElidedLabel.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/Emoticons.cpp *
|
||||
* retroshare-gui/src/gui/common/Emoticons.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/Emoticons.h *
|
||||
* retroshare-gui/src/gui/common/Emoticons.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FeedNotify.cpp *
|
||||
* retroshare-gui/src/gui/common/FeedNotify.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FeedNotify.h *
|
||||
* retroshare-gui/src/gui/common/FeedNotify.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FilesDefs.cpp *
|
||||
* retroshare-gui/src/gui/common/FilesDefs.cpp *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FilesDefs.h *
|
||||
* retroshare-gui/src/gui/common/FilesDefs.h *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FloatingHelpBrowser.cpp *
|
||||
* retroshare-gui/src/gui/common/FloatingHelpBrowser.cpp *
|
||||
* *
|
||||
* Copyright (C) 2013, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FloatingHelpBrowser.h *
|
||||
* retroshare-gui/src/gui/common/FloatingHelpBrowser.h *
|
||||
* *
|
||||
* Copyright (C) 2013, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
#ifndef FLOATINGHELPBROWSER_H
|
||||
#define FLOATINGHELPBROWSER_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FlowLayout.cpp *
|
||||
* retroshare-gui/src/gui/common/FlowLayout.cpp *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FlowLayout.h *
|
||||
* retroshare-gui/src/gui/common/FlowLayout.h *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FriendList.cpp *
|
||||
* retroshare-gui/src/gui/common/FriendList.cpp *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FriendList.h *
|
||||
* retroshare-gui/src/gui/common/FriendList.h *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FriendSelectionDialog.cpp *
|
||||
* retroshare-gui/src/gui/common/FriendSelectionDialog.cpp *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FriendSelectionDialog.h *
|
||||
* retroshare-gui/src/gui/common/FriendSelectionDialog.h *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FriendSelectionWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/FriendSelectionWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/FriendSelectionWidget.h *
|
||||
* retroshare-gui/src/gui/common/FriendSelectionWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupChooser.cpp *
|
||||
* retroshare-gui/src/gui/common/GroupChooser.cpp *
|
||||
* *
|
||||
* Copyright (C) 2013, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupChooser.h *
|
||||
* retroshare-gui/src/gui/common/GroupChooser.h *
|
||||
* *
|
||||
* Copyright (C) 2013, Robert Fernie <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupDefs.cpp *
|
||||
* retroshare-gui/src/gui/common/GroupDefs.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupDefs.h *
|
||||
* retroshare-gui/src/gui/common/GroupDefs.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupFlagsWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/GroupFlagsWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupFlagsWidget.h *
|
||||
* retroshare-gui/src/gui/common/GroupFlagsWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupSelectionBox.cpp *
|
||||
* retroshare-gui/src/gui/common/GroupSelectionBox.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupSelectionBox.h *
|
||||
* retroshare-gui/src/gui/common/GroupSelectionBox.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupTreeWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/GroupTreeWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/GroupTreeWidget.h *
|
||||
* retroshare-gui/src/gui/common/GroupTreeWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/HashBox.cpp *
|
||||
* retroshare-gui/src/gui/common/HashBox.cpp *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/HashBox.h *
|
||||
* retroshare-gui/src/gui/common/HashBox.h *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/HeaderFrame.cpp *
|
||||
* retroshare-gui/src/gui/common/HeaderFrame.cpp *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/HeaderFrame.h *
|
||||
* retroshare-gui/src/gui/common/HeaderFrame.h *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
@ -30,7 +30,7 @@ class HeaderFrame;
|
|||
class HeaderFrame : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
HeaderFrame(QWidget *parent = 0);
|
||||
~HeaderFrame();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/LineEditClear.cpp *
|
||||
* retroshare-gui/src/gui/common/LineEditClear.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/LineEditClear.h *
|
||||
* retroshare-gui/src/gui/common/LineEditClear.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/MimeTextEdit.cpp *
|
||||
* retroshare-gui/src/gui/common/MimeTextEdit.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/MimeTextEdit.h *
|
||||
* retroshare-gui/src/gui/common/MimeTextEdit.h *
|
||||
* *
|
||||
* Copyright (C) 2012, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/NewFriendList.cpp *
|
||||
* retroshare-gui/src/gui/common/NewFriendList.cpp *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/NewFriendList.h *
|
||||
* retroshare-gui/src/gui/common/NewFriendList.h *
|
||||
* *
|
||||
* Copyright (C) 2011, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/PeerDefs.cpp *
|
||||
* retroshare-gui/src/gui/common/PeerDefs.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/PeerDefs.h *
|
||||
* retroshare-gui/src/gui/common/PeerDefs.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/PopularityDefs.cpp *
|
||||
* retroshare-gui/src/gui/common/PopularityDefs.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSComboBox.cpp *
|
||||
* retroshare-gui/src/gui/common/RSComboBox.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSComboBox.h *
|
||||
* retroshare-gui/src/gui/common/RSComboBox.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RsEdlideLabelItemDelegate.cpp *
|
||||
* retroshare-gui/src/gui/common/RsEdlideLabelItemDelegate.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RsEdlideLabelItemDelegate.h *
|
||||
* retroshare-gui/src/gui/common/RsEdlideLabelItemDelegate.h *
|
||||
* *
|
||||
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSFeedWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/RSFeedWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2014, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSFeedWidget.h *
|
||||
* retroshare-gui/src/gui/common/RSFeedWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2014, Retroshare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSGraphWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/RSGraphWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2014 RetroShare Team *
|
||||
* Copyright (c) 2006-2007, crypton *
|
||||
|
|
@ -44,7 +44,7 @@ static qint64 getCurrentMSecsSinceEpoch()
|
|||
{
|
||||
timeval tv ;
|
||||
gettimeofday(&tv,NULL) ;
|
||||
|
||||
|
||||
return (qint64)tv.tv_sec + (qint64)tv.tv_usec/1000 ;
|
||||
}
|
||||
#endif
|
||||
|
|
@ -137,12 +137,12 @@ void RSGraphSource::getDataPoints(int index,std::vector<QPointF>& pts,float filt
|
|||
return ;
|
||||
|
||||
float last_value = it->second.empty()?0.0f:(it->second.begin()->second) ;
|
||||
|
||||
|
||||
for(std::list<std::pair<qint64,float> >::const_iterator it2=it->second.begin();it2!=it->second.end();++it2)
|
||||
{
|
||||
float val = (1-filter_factor)*(*it2).second + filter_factor*last_value;
|
||||
last_value = val ;
|
||||
|
||||
|
||||
pts.push_back(QPointF( (now - (*it2).first)/1000.0f, val)) ;
|
||||
}
|
||||
}
|
||||
|
|
@ -265,16 +265,16 @@ RSGraphWidget::RSGraphWidget(QWidget *parent)
|
|||
{
|
||||
_source =NULL;
|
||||
_painter = new QPainter();
|
||||
|
||||
|
||||
/* Initialize graph values */
|
||||
_maxPoints = getNumPoints();
|
||||
_maxPoints = getNumPoints();
|
||||
_maxValue = MINUSER_SCALE;
|
||||
|
||||
_linewidthscale = 1.0f;
|
||||
_opacity = 0.6 ;
|
||||
_flags = 0;
|
||||
_time_scale = 5.0f ; // in pixels per second.
|
||||
_time_filter = 1.0f ;
|
||||
_time_filter = 1.0f ;
|
||||
_timer = new QTimer ;
|
||||
QObject::connect(_timer,SIGNAL(timeout()),this,SLOT(updateIfPossible())) ;
|
||||
|
||||
|
|
@ -329,7 +329,7 @@ RSGraphWidget::resetGraph()
|
|||
updateIfPossible();
|
||||
}
|
||||
|
||||
/** Overloads default QWidget::paintEvent. Draws the actual
|
||||
/** Overloads default QWidget::paintEvent. Draws the actual
|
||||
* bandwidth graph. */
|
||||
void RSGraphWidget::paintEvent(QPaintEvent *)
|
||||
{
|
||||
|
|
@ -337,14 +337,14 @@ void RSGraphWidget::paintEvent(QPaintEvent *)
|
|||
|
||||
/* Set current graph dimensions */
|
||||
_rec = this->frameRect();
|
||||
|
||||
|
||||
/* Start the painter */
|
||||
_painter->begin(this);
|
||||
|
||||
|
||||
/* We want antialiased lines and text */
|
||||
_painter->setRenderHint(QPainter::Antialiasing);
|
||||
_painter->setRenderHint(QPainter::TextAntialiasing);
|
||||
|
||||
|
||||
/* Fill in the background */
|
||||
if (_flags & RSGRAPH_FLAGS_DARK_STYLE){
|
||||
_painter->fillRect(_rec, QBrush(BACK_COLOR_DARK));
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSGraphWidget.h *
|
||||
* retroshare-gui/src/gui/common/RSGraphWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2014 RetroShare Team *
|
||||
* Copyright (c) 2006-2007, crypton *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSImageBlockWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/RSImageBlockWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2013 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSImageBlockWidget.h *
|
||||
* retroshare-gui/src/gui/common/RSImageBlockWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2013 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSItemDelegate.cpp *
|
||||
* retroshare-gui/src/gui/common/RSItemDelegate.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSItemDelegate.h *
|
||||
* retroshare-gui/src/gui/common/RSItemDelegate.h *
|
||||
* *
|
||||
* Copyright (C) 2010 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSListWidgetItem.cpp *
|
||||
* retroshare-gui/src/gui/common/RSListWidgetItem.cpp *
|
||||
* *
|
||||
* Copyright (C) 2012 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSListWidgetItem.h *
|
||||
* retroshare-gui/src/gui/common/RSListWidgetItem.h *
|
||||
* *
|
||||
* Copyright (C) 2012 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSPlainTextEdit.cpp *
|
||||
* retroshare-gui/src/gui/common/RSPlainTextEdit.cpp *
|
||||
* *
|
||||
* Copyright (C) 2013 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSPlainTextEdit.h *
|
||||
* retroshare-gui/src/gui/common/RSPlainTextEdit.h *
|
||||
* *
|
||||
* Copyright (C) 2013 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSTabWidget.cpp *
|
||||
* retroshare-gui/src/gui/common/RSTabWidget.cpp *
|
||||
* *
|
||||
* Copyright (C) 2010 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSTabWidget.h *
|
||||
* retroshare-gui/src/gui/common/RSTabWidget.h *
|
||||
* *
|
||||
* Copyright (C) 2010 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* gui/common/RSTextBrowser.cpp *
|
||||
* retroshare-gui/src/gui/common/RSTextBrowser.cpp *
|
||||
* *
|
||||
* Copyright (C) 2018 RetroShare Team <retroshare.project@gmail.com> *
|
||||
* *
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue