def _show_settings(self): w = SettingsWidget(self.config, self.jobs_ctx, self.event_bus) d = GreyedDialog(w, title=_("TEXT_SETTINGS_TITLE"), parent=self, width=1000) d.exec_()
def _show_license(self): w = LicenseWidget() d = GreyedDialog(w, title=_("TEXT_LICENSE_TITLE"), parent=self, width=1000) d.exec_()
def _show_changelog(self): w = ChangelogWidget() d = GreyedDialog(w, title=_("TEXT_CHANGELOG_TITLE"), parent=self, width=1000) d.exec_()
def exec_modal(cls, jobs_ctx, parent): w = cls(jobs_ctx) d = GreyedDialog(w, _("TEXT_ORG_WIZARD_TITLE"), parent=parent) w.dialog = d if d.exec_() == QDialog.Accepted: return w.status return None
def exec_modal(cls, jobs_ctx, config, addr, parent): w = cls(jobs_ctx=jobs_ctx, config=config, addr=addr) d = GreyedDialog(w, _("TEXT_BOOTSTRAP_ORG_TITLE"), parent=parent) w.dialog = d w.line_edit_login.setFocus() if d.exec_() == QDialog.Accepted and w.status: return w.status return None
def exec_modal(cls, user_fs, workspace_fs, core, jobs_ctx, parent): w = cls(user_fs=user_fs, workspace_fs=workspace_fs, core=core, jobs_ctx=jobs_ctx) d = GreyedDialog(w, title=_("TEXT_WORKSPACE_SHARING_TITLE"), parent=parent) return d.exec_()
def exec_modal(cls, workspace_fs, jobs_ctx, parent): w = cls(workspace_fs=workspace_fs, jobs_ctx=jobs_ctx) d = GreyedDialog( center_widget=w, title=_("TEXT_WORKSPACE_TIMESTAMPED_TITLE"), parent=parent ) w.dialog = d r = d.exec_() if r == QDialog.Rejected: return None, None return w.date, w.time
def exec_modal( cls, jobs_ctx, workspace_fs, path, reload_timestamped_signal, update_version_list, close_version_list, parent, ): w = cls( jobs_ctx=jobs_ctx, workspace_fs=workspace_fs, path=path, reload_timestamped_signal=reload_timestamped_signal, update_version_list=update_version_list, close_version_list=close_version_list, ) d = GreyedDialog( w, title=_("TEXT_FILE_HISTORY_TITLE_name").format(name=path.name), parent=parent) return d.exec_()
def _show_about(self): w = AboutWidget() d = GreyedDialog(w, title="", parent=self, width=1000) d.exec_()
def exec_modal(cls, core, parent): w = cls(core=core) d = GreyedDialog(w, title=_("TEXT_CHANGE_PASSWORD_TITLE"), parent=parent) w.dialog = d return d.exec_()
def exec_modal(cls, core, jobs_ctx, parent): w = cls(core=core, jobs_ctx=jobs_ctx) d = GreyedDialog(w, title=_("TEXT_INVITE_USER_TITLE"), parent=parent) w.dialog = d return d.exec_()
def exec_modal(cls, core, jobs_ctx, parent): w = cls(core=core, jobs_ctx=jobs_ctx) d = GreyedDialog(w, title=_("TEXT_INVITE_DEVICE_TITLE"), parent=parent) w.dialog = d w.line_edit_device_name.setFocus() return d.exec_()