mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Added Header Images
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7398a2176f
commit
4e63561473
@ -58,7 +58,7 @@ QString PostedGroupDialog::serviceHeader()
|
||||
|
||||
QPixmap PostedGroupDialog::serviceImage()
|
||||
{
|
||||
return QPixmap();
|
||||
return QPixmap(":/images/posted_add_64.png");
|
||||
}
|
||||
|
||||
bool PostedGroupDialog::service_CreateGroup(uint32_t &token, const RsGroupMetaData &meta)
|
||||
|
@ -4,5 +4,6 @@
|
||||
<file>images/posted_32.png</file>
|
||||
<file>images/posted_48.png</file>
|
||||
<file>images/posted_64.png</file>
|
||||
<file>images/posted_add_64.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -32,6 +32,8 @@ WikiEditDialog::WikiEditDialog(QWidget *parent)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
|
||||
|
||||
|
||||
connect(ui.pushButton_Cancel, SIGNAL( clicked( void ) ), this, SLOT( cancelEdit( void ) ) );
|
||||
connect(ui.pushButton_Revert, SIGNAL( clicked( void ) ), this, SLOT( revertEdit( void ) ) );
|
||||
connect(ui.pushButton_Submit, SIGNAL( clicked( void ) ), this, SLOT( submitEdit( void ) ) );
|
||||
@ -72,6 +74,9 @@ void WikiEditDialog::setNewPage()
|
||||
ui.lineEdit_Page->setText("");
|
||||
ui.lineEdit_PrevVersion->setText("");
|
||||
ui.textEdit->setPlainText("");
|
||||
|
||||
ui.headerFrame->setHeaderImage(QPixmap(":/images/appointment-new_64.png"));
|
||||
ui.headerFrame->setHeaderText(tr("Create New Wiki Page"));
|
||||
}
|
||||
|
||||
|
||||
@ -197,6 +202,10 @@ void WikiEditDialog::setupData(const std::string &groupId, const std::string &pa
|
||||
RsGxsGrpMsgIdPair msgId = std::make_pair(groupId, pageId);
|
||||
requestPage(msgId);
|
||||
}
|
||||
|
||||
|
||||
ui.headerFrame->setHeaderImage(QPixmap(":/images/story-editor_48.png"));
|
||||
ui.headerFrame->setHeaderText(tr("Edit Wiki Page"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QFrame" name="headerFrame">
|
||||
<widget class="HeaderFrame" name="headerFrame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
@ -191,6 +191,14 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>HeaderFrame</class>
|
||||
<extends>QFrame</extends>
|
||||
<header>gui/common/HeaderFrame.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="Wiki_images.qrc"/>
|
||||
</resources>
|
||||
|
@ -6,8 +6,11 @@
|
||||
<file>images/appointment-new.png</file>
|
||||
<file>images/book2_32.png</file>
|
||||
<file>images/story-editor.png</file>
|
||||
<file>images/story-editor_48.png</file>
|
||||
<file>images/republish.png</file>
|
||||
<file>images/resource-group-new_48.png</file>
|
||||
<file>images/wikibook_32.png</file>
|
||||
<file>images/resource-group_64.png</file>
|
||||
<file>images/appointment-new_64.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
BIN
retroshare-gui/src/gui/WikiPoos/images/appointment-new_64.png
Normal file
BIN
retroshare-gui/src/gui/WikiPoos/images/appointment-new_64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
BIN
retroshare-gui/src/gui/WikiPoos/images/resource-group_64.png
Normal file
BIN
retroshare-gui/src/gui/WikiPoos/images/resource-group_64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
BIN
retroshare-gui/src/gui/WikiPoos/images/story-editor_48.png
Normal file
BIN
retroshare-gui/src/gui/WikiPoos/images/story-editor_48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
@ -124,7 +124,7 @@ QString WikiGroupDialog::serviceHeader()
|
||||
|
||||
QPixmap WikiGroupDialog::serviceImage()
|
||||
{
|
||||
return QPixmap();
|
||||
return QPixmap(":/images/resource-group_64.png");
|
||||
}
|
||||
|
||||
bool WikiGroupDialog::service_CreateGroup(uint32_t &token, const RsGroupMetaData &meta)
|
||||
|
Loading…
Reference in New Issue
Block a user