mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
enabled double click download
disabled not implemented Broadcast context menu entry enabled reseting keywords git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1213 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
96d886e674
commit
d9aa7a3e3a
49 changed files with 961 additions and 417 deletions
|
@ -119,8 +119,13 @@ SearchDialog::SearchDialog(QWidget *parent)
|
|||
connect( ui.lineEdit, SIGNAL( returnPressed ( void ) ), this, SLOT( searchKeywords( void ) ) );
|
||||
connect( ui.pushButtonsearch, SIGNAL( released ( void ) ), this, SLOT( searchKeywords( void ) ) );
|
||||
connect( ui.pushButtonDownload, SIGNAL( released ( void ) ), this, SLOT( download( void ) ) );
|
||||
connect( ui.cloaseallsearchresultsButton, SIGNAL(clicked()), this, SLOT(searchRemoveAll()));
|
||||
connect( ui.resetButton, SIGNAL(clicked()), this, SLOT(clearKeyword()));
|
||||
|
||||
//connect( ui.searchSummaryWidget, SIGNAL( itemSelectionChanged ( void ) ), this, SLOT( selectSearchResults( void ) ) );
|
||||
|
||||
connect( ui.searchResultWidget, SIGNAL( itemDoubleClicked ( QTreeWidgetItem *, int)), this, SLOT(download()));
|
||||
|
||||
connect ( ui.searchSummaryWidget, SIGNAL( currentItemChanged ( QTreeWidgetItem *, QTreeWidgetItem * ) ),
|
||||
this, SLOT( selectSearchResults( void ) ) );
|
||||
|
||||
|
@ -221,9 +226,9 @@ void SearchDialog::searchtableWidgetCostumPopupMenu( QPoint point )
|
|||
|
||||
contextMnu->clear();
|
||||
contextMnu->addAction( downloadAct);
|
||||
contextMnu->addSeparator();
|
||||
contextMnu->addAction( broadcastonchannelAct);
|
||||
contextMnu->addAction( recommendtofriendsAct);
|
||||
//contextMnu->addSeparator();
|
||||
//contextMnu->addAction( broadcastonchannelAct);
|
||||
//contextMnu->addAction( recommendtofriendsAct);
|
||||
}
|
||||
|
||||
QMouseEvent *mevent = new QMouseEvent( QEvent::MouseButtonPress, point,
|
||||
|
@ -362,6 +367,14 @@ void SearchDialog::searchRemoveAll()
|
|||
nextSearchId = 1;
|
||||
}
|
||||
|
||||
/** clear keywords and ComboBox **/
|
||||
void SearchDialog::clearKeyword()
|
||||
{
|
||||
ui.lineEdit->clear();
|
||||
ui.FileTypeComboBox->setCurrentIndex(0);
|
||||
}
|
||||
|
||||
|
||||
/* *****************************************************************
|
||||
Advanced search implementation
|
||||
*******************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue