mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Âdded to change the string for the OK Button, for each different GXS Group Dialog .
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
12bb1e24f1
commit
c869fd863d
@ -79,6 +79,7 @@ void PostedGroupDialog::initUi()
|
||||
|
||||
setUiText(UITYPE_KEY_SHARE_CHECKBOX, tr("Add Topic Admins"));
|
||||
setUiText(UITYPE_CONTACTS_DOCK, tr("Select Topic Admins"));
|
||||
setUiText(UITYPE_BUTTONBOX_OK, tr("Create Topic"));
|
||||
}
|
||||
|
||||
QPixmap PostedGroupDialog::serviceImage()
|
||||
|
@ -129,6 +129,9 @@ void GxsGroupDialog::setUiText(UiType uiType, const QString &text)
|
||||
case UITYPE_CONTACTS_DOCK:
|
||||
ui.contactsdockWidget->setWindowTitle(text);
|
||||
break;
|
||||
case UITYPE_BUTTONBOX_OK:
|
||||
ui.buttonBox->button(QDialogButtonBox::Ok)->setText(text);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -139,7 +142,6 @@ void GxsGroupDialog::initMode()
|
||||
case MODE_CREATE:
|
||||
{
|
||||
ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
||||
ui.buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Create Group"));
|
||||
newGroup();
|
||||
}
|
||||
break;
|
||||
|
@ -116,7 +116,8 @@ public:
|
||||
enum UiType {
|
||||
UITYPE_SERVICE_HEADER,
|
||||
UITYPE_KEY_SHARE_CHECKBOX,
|
||||
UITYPE_CONTACTS_DOCK
|
||||
UITYPE_CONTACTS_DOCK,
|
||||
UITYPE_BUTTONBOX_OK
|
||||
};
|
||||
|
||||
public:
|
||||
|
@ -136,6 +136,7 @@ void WikiGroupDialog::initUi()
|
||||
|
||||
setUiText(UITYPE_KEY_SHARE_CHECKBOX, tr("Add Wiki Moderators"));
|
||||
setUiText(UITYPE_CONTACTS_DOCK, tr("Select Wiki Moderators"));
|
||||
setUiText(UITYPE_BUTTONBOX_OK, tr("Create Group"));
|
||||
}
|
||||
|
||||
QPixmap WikiGroupDialog::serviceImage()
|
||||
|
@ -79,6 +79,7 @@ void GxsChannelGroupDialog::initUi()
|
||||
|
||||
setUiText(UITYPE_KEY_SHARE_CHECKBOX, tr("Add Channel Admins"));
|
||||
setUiText(UITYPE_CONTACTS_DOCK, tr("Select Channel Admins"));
|
||||
setUiText(UITYPE_BUTTONBOX_OK, tr("Create Channel"));
|
||||
}
|
||||
|
||||
QPixmap GxsChannelGroupDialog::serviceImage()
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
// To start with we only have open forums - with distribution controls.
|
||||
|
||||
const uint32_t ForumCreateEnabledFlags = ( GXS_GROUP_FLAGS_ICON |
|
||||
const uint32_t ForumCreateEnabledFlags = ( //GXS_GROUP_FLAGS_ICON |
|
||||
GXS_GROUP_FLAGS_DESCRIPTION |
|
||||
GXS_GROUP_FLAGS_DISTRIBUTION |
|
||||
// GXS_GROUP_FLAGS_PUBLISHSIGN |
|
||||
@ -76,6 +76,8 @@ void GxsForumGroupDialog::initUi()
|
||||
setUiText(UITYPE_SERVICE_HEADER, tr("Edit Forum"));
|
||||
break;
|
||||
}
|
||||
|
||||
setUiText(UITYPE_BUTTONBOX_OK, tr("Create Forum"));
|
||||
}
|
||||
|
||||
QPixmap GxsForumGroupDialog::serviceImage()
|
||||
|
Loading…
Reference in New Issue
Block a user