update & clean up the wiki icons
@ -73,7 +73,7 @@
|
|||||||
#define IMAGE_NEWFORUM ":/images/new_forum16.png"
|
#define IMAGE_NEWFORUM ":/images/new_forum16.png"
|
||||||
#define IMAGE_FORUMAUTHD ":/images/konv_message2.png"
|
#define IMAGE_FORUMAUTHD ":/images/konv_message2.png"
|
||||||
#define IMAGE_COPYLINK ":/images/copyrslink.png"
|
#define IMAGE_COPYLINK ":/images/copyrslink.png"
|
||||||
#define IMAGE_WIKI ":/images/wikibook_32.png"
|
#define IMAGE_WIKI ":/icons/png/wiki.png"
|
||||||
#define IMAGE_EDIT ":/images/edit_16.png"
|
#define IMAGE_EDIT ":/images/edit_16.png"
|
||||||
|
|
||||||
|
|
||||||
@ -108,10 +108,10 @@ WikiDialog::WikiDialog(QWidget *parent)
|
|||||||
|
|
||||||
|
|
||||||
/* Setup Group Tree */
|
/* Setup Group Tree */
|
||||||
mYourGroups = ui.groupTreeWidget->addCategoryItem(tr("My Groups"), QIcon(IMAGE_FOLDER), true);
|
mYourGroups = ui.groupTreeWidget->addCategoryItem(tr("My Groups"), QIcon(), true);
|
||||||
mSubscribedGroups = ui.groupTreeWidget->addCategoryItem(tr("Subscribed Groups"), QIcon(IMAGE_FOLDERRED), true);
|
mSubscribedGroups = ui.groupTreeWidget->addCategoryItem(tr("Subscribed Groups"), QIcon(), true);
|
||||||
mPopularGroups = ui.groupTreeWidget->addCategoryItem(tr("Popular Groups"), QIcon(IMAGE_FOLDERGREEN), false);
|
mPopularGroups = ui.groupTreeWidget->addCategoryItem(tr("Popular Groups"), QIcon(), false);
|
||||||
mOtherGroups = ui.groupTreeWidget->addCategoryItem(tr("Other Groups"), QIcon(IMAGE_FOLDERYELLOW), false);
|
mOtherGroups = ui.groupTreeWidget->addCategoryItem(tr("Other Groups"), QIcon(), false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QFrame" name="titleBarFrame">
|
<widget class="QFrame" name="toolBarFrameTop">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>16777215</width>
|
||||||
@ -51,7 +51,16 @@
|
|||||||
<enum>QFrame::Sunken</enum>
|
<enum>QFrame::Sunken</enum>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
<property name="margin">
|
<property name="leftMargin">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
<number>2</number>
|
<number>2</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
@ -66,7 +75,7 @@
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="Wiki_images.qrc">:/images/wikibook_32.png</pixmap>
|
<pixmap resource="../icons.qrc">:/icons/png/wiki.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
<property name="scaledContents">
|
<property name="scaledContents">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -93,8 +102,8 @@
|
|||||||
<string>New Group</string>
|
<string>New Group</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Wiki_images.qrc">
|
<iconset resource="../icons.qrc">
|
||||||
<normaloff>:/images/resource-group-new.png</normaloff>:/images/resource-group-new.png</iconset>
|
<normaloff>:/icons/png/add.png</normaloff>:/icons/png/add.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
@ -123,12 +132,21 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>232</width>
|
<width>241</width>
|
||||||
<height>462</height>
|
<height>480</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<property name="margin">
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
@ -186,7 +204,16 @@
|
|||||||
<enum>QFrame::Sunken</enum>
|
<enum>QFrame::Sunken</enum>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<property name="margin">
|
<property name="leftMargin">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
<number>2</number>
|
<number>2</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
@ -261,7 +288,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Wiki_images.qrc">
|
<iconset resource="Wiki_images.qrc">
|
||||||
<normaloff>:/images/republish.png</normaloff>:/images/republish.png</iconset>
|
<normaloff>:/images/reload.png</normaloff>:/images/reload.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
@ -284,7 +311,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Wiki_images.qrc">
|
<iconset resource="Wiki_images.qrc">
|
||||||
<normaloff>:/images/story-editor.png</normaloff>:/images/story-editor.png</iconset>
|
<normaloff>:/images/editpage.png</normaloff>:/images/editpage.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
@ -314,7 +341,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Wiki_images.qrc">
|
<iconset resource="Wiki_images.qrc">
|
||||||
<normaloff>:/images/appointment-new.png</normaloff>:/images/appointment-new.png</iconset>
|
<normaloff>:/images/addpage.png</normaloff>:/images/addpage.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
@ -340,7 +367,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Wiki_images.qrc">
|
<iconset resource="Wiki_images.qrc">
|
||||||
<normaloff>:/images/republish.png</normaloff>:/images/republish.png</iconset>
|
<normaloff>:/images/reload.png</normaloff>:/images/reload.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
@ -392,8 +419,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>501</width>
|
<width>510</width>
|
||||||
<height>462</height>
|
<height>480</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
@ -443,6 +470,7 @@
|
|||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="Wiki_images.qrc"/>
|
<include location="Wiki_images.qrc"/>
|
||||||
|
<include location="../icons.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
@ -414,7 +414,7 @@ void WikiEditDialog::setNewPage()
|
|||||||
ui.groupBox_History->hide();
|
ui.groupBox_History->hide();
|
||||||
ui.pushButton_History->setText(tr("Show Edit History"));
|
ui.pushButton_History->setText(tr("Show Edit History"));
|
||||||
|
|
||||||
ui.headerFrame->setHeaderImage(QPixmap(":/images/appointment-new_64.png"));
|
ui.headerFrame->setHeaderImage(QPixmap(":/images/addpage.png"));
|
||||||
ui.headerFrame->setHeaderText(tr("Create New Wiki Page"));
|
ui.headerFrame->setHeaderText(tr("Create New Wiki Page"));
|
||||||
setWindowTitle(tr("Create New Wiki Page"));
|
setWindowTitle(tr("Create New Wiki Page"));
|
||||||
|
|
||||||
@ -569,7 +569,7 @@ void WikiEditDialog::setupData(const RsGxsGroupId &groupId, const RsGxsMessageId
|
|||||||
requestPage(msgId);
|
requestPage(msgId);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui.headerFrame->setHeaderImage(QPixmap(":/images/story-editor_48.png"));
|
ui.headerFrame->setHeaderImage(QPixmap(":/images/editpage.png"));
|
||||||
ui.headerFrame->setHeaderText(tr("Edit Wiki Page"));
|
ui.headerFrame->setHeaderText(tr("Edit Wiki Page"));
|
||||||
setWindowTitle(tr("Edit Wiki Page"));
|
setWindowTitle(tr("Edit Wiki Page"));
|
||||||
|
|
||||||
|
@ -1,17 +1,9 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/" >
|
<qresource prefix="/">
|
||||||
<file>images/appointment-new.png</file>
|
<file>images/arrow-left.png</file>
|
||||||
<file>images/appointment-new_64.png</file>
|
<file>images/arrow-right.png</file>
|
||||||
<file>images/arrow-left.png</file>
|
<file>images/addpage.png</file>
|
||||||
<file>images/arrow-right.png</file>
|
<file>images/editpage.png</file>
|
||||||
<file>images/book2_32.png</file>
|
<file>images/reload.png</file>
|
||||||
<file>images/story-editor.png</file>
|
</qresource>
|
||||||
<file>images/story-editor_48.png</file>
|
|
||||||
<file>images/republish.png</file>
|
|
||||||
<file>images/resource-group-new.png</file>
|
|
||||||
<file>images/resource-group_64.png</file>
|
|
||||||
<file>images/resource-group-new_48.png</file>
|
|
||||||
<file>images/resource-group-new_64.png</file>
|
|
||||||
<file>images/wikibook_32.png</file>
|
|
||||||
</qresource>
|
|
||||||
</RCC>
|
</RCC>
|
||||||
|
BIN
retroshare-gui/src/gui/WikiPoos/images/addpage.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1019 B After Width: | Height: | Size: 962 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1006 B After Width: | Height: | Size: 944 B |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 786 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.6 KiB |
BIN
retroshare-gui/src/gui/WikiPoos/images/editpage.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
retroshare-gui/src/gui/WikiPoos/images/reload.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.5 KiB |
@ -87,7 +87,7 @@ void WikiGroupDialog::initUi()
|
|||||||
|
|
||||||
QPixmap WikiGroupDialog::serviceImage()
|
QPixmap WikiGroupDialog::serviceImage()
|
||||||
{
|
{
|
||||||
return QPixmap(":/images/resource-group-new_64.png");
|
return QPixmap(":/icons/png/wiki.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WikiGroupDialog::service_CreateGroup(uint32_t &token, const RsGroupMetaData &meta)
|
bool WikiGroupDialog::service_CreateGroup(uint32_t &token, const RsGroupMetaData &meta)
|
||||||
|