mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Added to hide logo label and logo button, when calling "Create Wiki Group"
switch text for some labels, when "Create Wiki Group" is called. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5844 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ec6aef8d45
commit
6e349749d0
@ -161,6 +161,7 @@ void WikiDialog::newGroup()
|
||||
{
|
||||
WikiGroupDialog cf(mWikiQueue, this);
|
||||
//cf.newGroup();
|
||||
cf.wikitype();
|
||||
|
||||
cf.exec ();
|
||||
}
|
||||
|
@ -439,3 +439,13 @@ void GxsGroupDialog::setShareList()
|
||||
}
|
||||
}
|
||||
|
||||
void GxsGroupDialog::wikitype()
|
||||
{
|
||||
// hide logo Button/Label
|
||||
ui.groupLogo->hide();
|
||||
ui.addLogoButton->hide();
|
||||
|
||||
ui.headerImage->setPixmap(QPixmap(":/images/resource-group-new_48.png")) ;
|
||||
ui.pubKeyShare_cb->setText(tr("Add Wiki Moderators"));
|
||||
ui.contactsdockWidget->setWindowTitle(tr("Select Wiki Moderators"));
|
||||
}
|
||||
|
@ -134,6 +134,7 @@ public:
|
||||
* @param parent
|
||||
*/
|
||||
GxsGroupDialog(const RsGroupMetaData& grpMeta, uint32_t mode = GXS_GROUP_DIALOG_SHOW_MODE, QWidget *parent = NULL);
|
||||
void wikitype();
|
||||
|
||||
private:
|
||||
void newGroup();
|
||||
|
@ -51,7 +51,7 @@
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<widget class="QLabel" name="headerImage">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>48</width>
|
||||
@ -61,9 +61,6 @@
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../WikiPoos/Wiki_images.qrc">:/images/resource-group-new_48.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
@ -564,6 +561,8 @@ p, li { white-space: pre-wrap; }
|
||||
<include location="../WikiPoos/Wiki_images.qrc"/>
|
||||
<include location="../WikiPoos/Wiki_images.qrc"/>
|
||||
<include location="../WikiPoos/Wiki_images.qrc"/>
|
||||
<include location="../WikiPoos/Wiki_images.qrc"/>
|
||||
<include location="../WikiPoos/Wiki_images.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Loading…
Reference in New Issue
Block a user