HotkeysHelpPage.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <div class="page">
  3. <div style="font-size: 120%">
  4. <div class="text-h6 text-bold">
  5. Доступны следующие клавиатурные команды:
  6. </div>
  7. <br>
  8. </div>
  9. <div class="q-mb-md" style="width: 550px">
  10. <div class="text-right text-italic" style="font-size: 80%">
  11. * Изменить сочетания клавиш можно в настройках
  12. </div>
  13. <UserHotKeys v-model="userHotKeys" readonly />
  14. </div>
  15. </div>
  16. </template>
  17. <script>
  18. //-----------------------------------------------------------------------------
  19. import vueComponent from '../../../vueComponent.js';
  20. import UserHotKeys from '../../SettingsPage/KeysTab/UserHotKeys/UserHotKeys.vue';
  21. const componentOptions = {
  22. components: {
  23. UserHotKeys,
  24. },
  25. };
  26. class HotkeysHelpPage {
  27. _options = componentOptions;
  28. created() {
  29. }
  30. get userHotKeys() {
  31. return this.$store.state.reader.settings.userHotKeys;
  32. }
  33. set userHotKeys(value) {
  34. //no setter
  35. }
  36. }
  37. export default vueComponent(HotkeysHelpPage);
  38. //-----------------------------------------------------------------------------
  39. </script>
  40. <style scoped>
  41. .page {
  42. padding: 15px;
  43. overflow-y: auto;
  44. }
  45. </style>