mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 10:35:22 -04:00
changes for LinksDialog: disabled bold text, added a Label to display each Link in html format
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2197 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d490f6b0fe
commit
7941ef591e
3 changed files with 229 additions and 79 deletions
|
@ -17,30 +17,30 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
|
||||
****************************************************************/
|
||||
|
||||
#ifndef _LINKS_DIALOG_H
|
||||
#define _LINKS_DIALOG_H
|
||||
|
||||
#define _LINKS_DIALOG_H
|
||||
|
||||
#include <QFileDialog>
|
||||
|
||||
#include "mainpage.h"
|
||||
#include "ui_LinksDialog.h"
|
||||
|
||||
#include "mainpage.h"
|
||||
#include "ui_LinksDialog.h"
|
||||
|
||||
class LinksDialog : public MainPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/** Default Constructor */
|
||||
LinksDialog(QWidget *parent = 0);
|
||||
/** Default Destructor */
|
||||
|
||||
class LinksDialog : public MainPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/** Default Constructor */
|
||||
LinksDialog(QWidget *parent = 0);
|
||||
/** Default Destructor */
|
||||
|
||||
void insertExample();
|
||||
|
||||
private slots:
|
||||
/** Create the context popup menu and it's submenus */
|
||||
private slots:
|
||||
/** Create the context popup menu and it's submenus */
|
||||
void linkTreeWidgetCostumPopupMenu( QPoint point );
|
||||
|
||||
void voteup_anon();
|
||||
|
@ -52,20 +52,22 @@ private slots:
|
|||
void voteup_m2();
|
||||
void downloadSelected();
|
||||
|
||||
void changedSortRank( int index );
|
||||
void changedSortPeriod( int index );
|
||||
void changedSortFrom( int index );
|
||||
void changedSortTop( int index );
|
||||
void changedSortRank( int index );
|
||||
void changedSortPeriod( int index );
|
||||
void changedSortFrom( int index );
|
||||
void changedSortTop( int index );
|
||||
|
||||
void updateLinks();
|
||||
void addLinkComment( void );
|
||||
void toggleWindows( void );
|
||||
void updateLinks();
|
||||
void addLinkComment( void );
|
||||
void toggleWindows( void );
|
||||
|
||||
void openLink ( QTreeWidgetItem * item, int column );
|
||||
void changedItem(QTreeWidgetItem *curr, QTreeWidgetItem *prev);
|
||||
void checkAnon();
|
||||
void openLink ( QTreeWidgetItem * item, int column );
|
||||
void changedItem(QTreeWidgetItem *curr, QTreeWidgetItem *prev);
|
||||
void checkAnon();
|
||||
|
||||
void checkUpdate();
|
||||
void checkUpdate();
|
||||
|
||||
void anchorClicked (const QUrl &);
|
||||
|
||||
private:
|
||||
|
||||
|
@ -80,18 +82,18 @@ void updateComments(std::string rid, std::string pid);
|
|||
/* (2) Utility Fns */
|
||||
QTreeWidgetItem *getCurrentLine();
|
||||
|
||||
/** Define the popup menus for the Context menu */
|
||||
/** Define the popup menus for the Context menu */
|
||||
QMenu* contextMnu;
|
||||
/** Defines the actions for the context menu */
|
||||
/** Defines the actions for the context menu */
|
||||
QAction* voteupAct;
|
||||
QAction* votedownAct;
|
||||
QAction* downloadAct;
|
||||
|
||||
QTreeWidget *exampletreeWidget;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::LinksDialog ui;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::LinksDialog ui;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue