mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
disabled group restriction when not using circles in forums/posted/channels. Also disabled key sharing since it is unfinished
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7538 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d72354d7f0
commit
5e6fc0ff59
@ -279,7 +279,11 @@ void GxsGroupDialog::setupDefaults()
|
|||||||
// default
|
// default
|
||||||
ui.comments_no->setChecked(true);
|
ui.comments_no->setChecked(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifndef RS_USE_CIRCLES
|
||||||
|
ui.typeGroup->setEnabled(false);
|
||||||
|
ui.typeLocal->setEnabled(false);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void GxsGroupDialog::setupVisibility()
|
void GxsGroupDialog::setupVisibility()
|
||||||
@ -337,6 +341,9 @@ void GxsGroupDialog::setupReadonly()
|
|||||||
ui.commentGroupBox->setEnabled(!(mReadonlyFlags & GXS_GROUP_FLAGS_COMMENTS));
|
ui.commentGroupBox->setEnabled(!(mReadonlyFlags & GXS_GROUP_FLAGS_COMMENTS));
|
||||||
|
|
||||||
ui.extraFrame->setEnabled(!(mReadonlyFlags & GXS_GROUP_FLAGS_EXTRA));
|
ui.extraFrame->setEnabled(!(mReadonlyFlags & GXS_GROUP_FLAGS_EXTRA));
|
||||||
|
#ifndef UNFINISHED
|
||||||
|
ui.pubKeyShare_cb->setEnabled(false) ;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void GxsGroupDialog::newGroup()
|
void GxsGroupDialog::newGroup()
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>695</width>
|
<width>695</width>
|
||||||
<height>577</height>
|
<height>588</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -132,41 +132,51 @@
|
|||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Will be used to send feedback</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Owner:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="GxsIdChooser" name="idChooser"/>
|
<widget class="GxsIdChooser" name="idChooser"/>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="toolButton_NewId">
|
<widget class="QToolButton" name="toolButton_NewId">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="focusPolicy">
|
<property name="focusPolicy">
|
||||||
<enum>Qt::NoFocus</enum>
|
<enum>Qt::NoFocus</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Create new Identity</string>
|
<string>Create new Identity</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>New ID</string>
|
<string>New ID</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="../images.qrc">
|
<iconset resource="../images.qrc">
|
||||||
<normaloff>:/images/identity/identity_create_32.png</normaloff>:/images/identity/identity_create_32.png</iconset>
|
<normaloff>:/images/identity/identity_create_32.png</normaloff>:/images/identity/identity_create_32.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
<width>24</width>
|
<width>24</width>
|
||||||
<height>24</height>
|
<height>24</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="autoRaise">
|
<property name="autoRaise">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="pubKeyShare_cb">
|
<widget class="QCheckBox" name="pubKeyShare_cb">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
|
@ -85,7 +85,7 @@ void GxsForumGroupDialog::initUi()
|
|||||||
}
|
}
|
||||||
|
|
||||||
setUiText(UITYPE_KEY_SHARE_CHECKBOX, tr("Add Forum Admins"));
|
setUiText(UITYPE_KEY_SHARE_CHECKBOX, tr("Add Forum Admins"));
|
||||||
setUiText(UITYPE_CONTACTS_DOCK, tr("Select Forum Admins"));
|
setUiText(UITYPE_CONTACTS_DOCK, tr("Select Forum Admins"));
|
||||||
}
|
}
|
||||||
|
|
||||||
QPixmap GxsForumGroupDialog::serviceImage()
|
QPixmap GxsForumGroupDialog::serviceImage()
|
||||||
|
Loading…
Reference in New Issue
Block a user