changed some icons for the context menu in transfers dialog

added default stylesheets

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6872 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2013-10-22 16:07:31 +00:00
parent 3ba5a72787
commit e80330e7c5
4 changed files with 15 additions and 2 deletions

View File

@ -93,6 +93,8 @@
#define IMAGE_COLLAPSE ":/images/edit_remove24.png" #define IMAGE_COLLAPSE ":/images/edit_remove24.png"
#define IMAGE_FRIENDSFILES ":/images/fileshare16.png" #define IMAGE_FRIENDSFILES ":/images/fileshare16.png"
#define IMAGE_MYFILES ":images/my_documents_16.png" #define IMAGE_MYFILES ":images/my_documents_16.png"
#define IMAGE_RENAMEFILE ":images/filecomments.png"
#define IMAGE_STREAMING ":images/streaming.png"
Q_DECLARE_METATYPE(FileProgressInfo) Q_DECLARE_METATYPE(FileProgressInfo)
@ -413,7 +415,7 @@ TransfersDialog::TransfersDialog(QWidget *parent)
connect(queueTopAct, SIGNAL(triggered()), this, SLOT(priorityQueueTop())); connect(queueTopAct, SIGNAL(triggered()), this, SLOT(priorityQueueTop()));
queueBottomAct = new QAction(QIcon(":/images/go-bottom.png"), tr("Bottom"), this); queueBottomAct = new QAction(QIcon(":/images/go-bottom.png"), tr("Bottom"), this);
connect(queueBottomAct, SIGNAL(triggered()), this, SLOT(priorityQueueBottom())); connect(queueBottomAct, SIGNAL(triggered()), this, SLOT(priorityQueueBottom()));
chunkStreamingAct = new QAction(QIcon(IMAGE_PRIORITYAUTO), tr("Streaming"), this); chunkStreamingAct = new QAction(QIcon(IMAGE_STREAMING), tr("Streaming"), this);
connect(chunkStreamingAct, SIGNAL(triggered()), this, SLOT(chunkStreaming())); connect(chunkStreamingAct, SIGNAL(triggered()), this, SLOT(chunkStreaming()));
prioritySlowAct = new QAction(QIcon(IMAGE_PRIORITYLOW), tr("Slower"), this); prioritySlowAct = new QAction(QIcon(IMAGE_PRIORITYLOW), tr("Slower"), this);
connect(prioritySlowAct, SIGNAL(triggered()), this, SLOT(speedSlow())); connect(prioritySlowAct, SIGNAL(triggered()), this, SLOT(speedSlow()));
@ -427,7 +429,7 @@ TransfersDialog::TransfersDialog(QWidget *parent)
connect(chunkProgressiveAct, SIGNAL(triggered()), this, SLOT(chunkProgressive())); connect(chunkProgressiveAct, SIGNAL(triggered()), this, SLOT(chunkProgressive()));
playAct = new QAction(QIcon(IMAGE_PLAY), tr( "Play" ), this ); playAct = new QAction(QIcon(IMAGE_PLAY), tr( "Play" ), this );
connect( playAct , SIGNAL( triggered() ), this, SLOT( openTransfer() ) ); connect( playAct , SIGNAL( triggered() ), this, SLOT( openTransfer() ) );
renameFileAct = new QAction(QIcon(IMAGE_PRIORITYNORMAL), tr("Rename file..."), this); renameFileAct = new QAction(QIcon(IMAGE_RENAMEFILE), tr("Rename file..."), this);
connect(renameFileAct, SIGNAL(triggered()), this, SLOT(renameFile())); connect(renameFileAct, SIGNAL(triggered()), this, SLOT(renameFile()));
specifyDestinationDirectoryAct = new QAction(QIcon(IMAGE_SEARCH),tr("Specify..."),this) ; specifyDestinationDirectoryAct = new QAction(QIcon(IMAGE_SEARCH),tr("Specify..."),this) ;
connect(specifyDestinationDirectoryAct,SIGNAL(triggered()),this,SLOT(chooseDestinationDirectory())) ; connect(specifyDestinationDirectoryAct,SIGNAL(triggered()),this,SLOT(chooseDestinationDirectory())) ;

View File

@ -8,6 +8,7 @@
<file>images/blue_lock_open.png</file> <file>images/blue_lock_open.png</file>
<file>images/d-chat64.png</file> <file>images/d-chat64.png</file>
<file>images/edit_24.png</file> <file>images/edit_24.png</file>
<file>images/streaming.png</file>
<file>images/stock_signature_bad.png</file> <file>images/stock_signature_bad.png</file>
<file>images/stock_signature_ok.png</file> <file>images/stock_signature_ok.png</file>
<file>images/stock_signature_missing.png</file> <file>images/stock_signature_missing.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -108,6 +108,11 @@ MessengerWindow QFrame#logoFrame {
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
} }
MessengerWindow QFrame#messengerframetop{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #9BDBF9, stop:1 #1592CD);
border: 0px;
}
/* Create Distant Chat Invite */ /* Create Distant Chat Invite */
CreateMsgLinkDialog QLabel#distantchatinfo_label CreateMsgLinkDialog QLabel#distantchatinfo_label
@ -203,6 +208,11 @@ ChatWidget QPushButton#sendButton:pressed {
} }
PopupChatWindow QToolBar#chattoolBar{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #9BDBF9, stop:1 #1592CD);
border: 0px;
}
/* Messages */ /* Messages */
MessageComposer > QToolBar#toolBar { MessageComposer > QToolBar#toolBar {