diff --git a/.gitignore b/.gitignore
index ddb6eb0807a..2c03d0159cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,7 +16,6 @@
.#*
*.*#
core
-.qmake.cache
tags
.DS_Store
*.debug
@@ -58,24 +57,12 @@ share/qtcreator/translations/extract-mimetypes.xq
# ---------------------
debug
-examples/tools/plugandpaint/plugins
-include/*
-include/*/*
lib/*
lib64/*
-plugins/*/*
release
-tmp
-doc-build
doc/html/*
-doc/qch
-doc-build
.rcc
.pch
-src/corelib/lib
-src/network/lib
-src/xml/lib/
-run/*
# Binaries
# --------
diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts
index 912633b73b6..b43f72e1224 100644
--- a/share/qtcreator/translations/qtcreator_ru.ts
+++ b/share/qtcreator/translations/qtcreator_ru.ts
@@ -1021,7 +1021,7 @@
No such paste
- Нет такой вставки
+ Нет такой вставки
@@ -1034,7 +1034,7 @@
Code Pasting
- Вставка кода
+ Вставка кода
@@ -1052,7 +1052,7 @@
&Code Pasting
- Вставка &Кода
+ Вставка &Кода
@@ -1144,7 +1144,7 @@
Code Pasting
- Вставка кода
+ Вставка кода
@@ -1330,12 +1330,12 @@ Would you like to overwrite them?
Core::EditorManager
-
+ Revert to SavedВернуть к сохранённому
-
+ CloseЗакрыть
@@ -1347,12 +1347,12 @@ Would you like to overwrite them?
-
+ Close OthersЗакрыть другие
-
+ Next Open Document in HistoryСледующий открытый документ в истории
@@ -1523,7 +1523,7 @@ Would you like to overwrite them?
Открыть файл
-
+ File is Read OnlyФайл только для чтения
@@ -2298,7 +2298,7 @@ Would you like to overwrite them?
<h3>Qt Creator %1</h3>Based on Qt %2 (%3 bit)<br/><br/>Built on %4 at %5<br /><br/>%8<br/>Copyright 2008-%6 %7. All rights reserved.<br/><br/>The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.<br/>
- <h3>Qt Creator %1</h3>Основан на Qt %2 (%3-х битной)<br/><br/>Собран %4 в %5<br /><br/>%8<br/>Copyright 2008-%6 %7. All rights reserved.<br/><br/>The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.<br/>
+ <h3>Qt Creator %1</h3>Основан на Qt %2 (%3-х битной)<br/><br/>Собран %4 в %5<br /><br/>%8<br/>Copyright 2008-%6 %7. All rights reserved.<br/><br/>The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.<br/>
@@ -2428,7 +2428,7 @@ Would you like to overwrite them?
Cannot obtain exit status from inferior: %1
- Не удалось получить код возврата подчинённого процесса: %1
+ Не удалось получить код завершения подчинённого процесса: %1
@@ -2744,12 +2744,12 @@ Would you like to overwrite them?
CppEditor::Internal::CPPEditor
-
+ Sort alphabeticallyСортировать по алфавиту
-
+ This change cannot be undone.Данное изменение невозможно отменить.
@@ -2902,7 +2902,7 @@ Would you like to overwrite them?
CppPreprocessor
-
+ %1: No such file or directory%1: Нет такого файла или каталога
@@ -3043,7 +3043,7 @@ Would you like to overwrite them?
CppTools::Internal::FunctionArgumentWidget
-
+ %1 of %2%1 из %2
@@ -3061,7 +3061,7 @@ Would you like to overwrite them?
Отладчик
-
+ <Encoding error><Ошибка кодировки>
@@ -3091,7 +3091,7 @@ Would you like to overwrite them?
Debugger::DebuggerManager
-
+ ContinueПродолжить
@@ -3290,14 +3290,14 @@ Would you like to overwrite them?
Debugger::Internal::BreakHandler
-
+ Marker File:
- Отмеченный файл:
+ Отмеченный файл:Marker Line:
- Отмеченная строка:
+ Отмеченная строка:
@@ -3317,12 +3317,12 @@ Would you like to overwrite them?
Requested
- Требуемое
+ ТребуемоеObtained
- Полученное
+ Полученное
@@ -3382,7 +3382,7 @@ Would you like to overwrite them?
Ignore
- Пропуски
+ Пропуски
@@ -3517,9 +3517,9 @@ Would you like to overwrite them?
Отладчик
-
+ The dumper library was not found at %1.
- Библиотека дампера не найдена в %1.
+ Библиотека дампера не найдена в %1.
@@ -3532,17 +3532,12 @@ Would you like to overwrite them?
Подключение к файлам ядра не поддерживается!
-
- Debugger running
- Отладчик работает
-
-
-
+ Attaching to a process failed for process id %1: %2Поключение к процессу ID %1 не удалось: %2
-
+ Unable to set the image path to %1: %2Не удалось установить путь образа "%1": %2
@@ -3579,12 +3574,12 @@ Would you like to overwrite them?
Stepping %1
- Шаг %1
+ Шаг %1Running requested...
- Затребовано выполнение...
+ Затребовано выполнение...
@@ -3617,7 +3612,7 @@ Would you like to overwrite them?
Не удалось получить символы во время работы отлаживаемой программы.
-
+ Debugger ErrorОшибка отладчика
@@ -3658,32 +3653,32 @@ Would you like to overwrite them?
injection
- внедрение
+ внедрениеdebugger call
- вызов отладчика
+ вызов отладчикаLoading the custom dumper library '%1' (%2) ...
- Загружается особая библиотека дампера '%1' (%2)...
+ Загружается особая библиотека дампера '%1' (%2)...Loading of the custom dumper library '%1' (%2) failed: %3
- Загрузка особой библиотеки дампера '%1' (%2) не удалась: %3
+ Загрузка особой библиотеки дампера '%1' (%2) не удалась: %3Loaded the custom dumper library '%1' (%2).
- Загружена особая библиотека дампера '%1' (%2).
+ Загружена особая библиотека дампера '%1' (%2).Stopped / Custom dumper library initialized.
- Остановлено / инициализирована библиотека особого дампера.
+ Остановлено / инициализирована библиотека особого дампера.
@@ -3764,7 +3759,7 @@ Would you like to overwrite them?
Attached to core.
- Подключено к дампу.
+ Подключено к дампу.
@@ -3793,18 +3788,18 @@ Would you like to overwrite them?
Attached to core temporarily.
- Временно подключено к дампу.
+ Временно подключено к дампу.Unable to determine executable from core file.
- Невозможно определить программу из файла дампа.
+ Невозможно определить программу из файла дампа.Attach to core "%1" failed:
- Не удалось подключение к дампу "%1":
+ Не удалось подключение к дампу "%1":
@@ -3845,7 +3840,7 @@ Would you like to overwrite them?
Debugger::Internal::DebuggerPlugin
-
+ Option '%1' is missing the parameter.У настройки '%1' пропущен параметр.
@@ -3877,20 +3872,20 @@ Would you like to overwrite them?
Attach to Core...
- Подключить к дампу...
+ Подключить к дампу...Start and Attach to Remote Application...
- Запустить и подключить к удалённому приложению...
+ Запустить и подключить к удалённому приложению...Detach Debugger
- Отцепить отладчик
+ Отцепить отладчик
-
+ Stop Debugger/Interrupt DebuggerОстановить/прервать отладчик
@@ -3902,20 +3897,20 @@ Would you like to overwrite them?
&Views
- &Виды
+ &ОбзорыLocked
- Закрыто
+ ЗафиксированоReset to default layout
- Компоновка по умолчанию
+ Сбросить в исходное состояние
-
+ Threads:Потоки:
@@ -3945,7 +3940,7 @@ Would you like to overwrite them?
Установить точку останова
-
+ WarningПредупреждение
@@ -4011,7 +4006,7 @@ Would you like to overwrite them?
Operate by instruction
- Шаг через инструкцию
+ Уровень инструкций
@@ -4028,10 +4023,10 @@ Would you like to overwrite them?
This switches the Locals&Watchers view to automatically derefence pointers. This saves a level in the tree view, but also loses data for the now-missing intermediate level.
- Переключает обзор отслеживаемых переменных в режим
-автоматического разыменования указателей. Позволяет
-сохранить уровень древовидного отображения, но при этом
-теряются данные промежуточного уровня (сейчас отсутствует).
+ Переключает обзор переменных в режим автоматического
+разыменования указателей. Позволяет сохранить уровень
+древовидного отображения, но при этом теряются данные
+промежуточного уровня, который пока что отсутствует.
@@ -4051,22 +4046,22 @@ Would you like to overwrite them?
Use debugging helper
- Использовать помощник отладчика
+ Использовать помощник отладчикаDebug debugging helper
- Отладить помощник отладчика
+ Отладить помощник отладчикаUse code model
- Использовать модель кода
+ Использовать модель кодаRecheck debugging helper availability
- Перепроверить наличие помощника отладчика
+ Перепроверить наличие помощника отладчика
@@ -4159,14 +4154,14 @@ Would you like to overwrite them?
Debugger::Internal::DebuggingHelperOptionPage
-
+ Debugging HelperПомощник отладчикаChoose DebuggingHelper Location
- Выберите размещение помощника
+ Выберите размещение помощника
@@ -4267,7 +4262,7 @@ Would you like to overwrite them?
Загружается %1...
-
+ Stopped at breakpoint.Остановлено на точке останова.
@@ -4277,13 +4272,7 @@ Would you like to overwrite them?
<p>Приложение остановлено так как оно получило сигнал от операционной системы.<p><table><tr><td>Сигнал: </td><td>%1</td></tr><tr><td>Назначение: </td><td>%2</td></tr></table>
-
-
- <Unknown>
- <Неизвестный>
-
-
-
+ Signal receivedПолучен сигнал
@@ -4318,12 +4307,12 @@ Using gdb 6.7 or later is strongly recommended.
Продолжение после временного останова...
-
+ The debugging helper library was not found at %1.Библиотека помощника отладчика не обнаружена в %1.
-
+ Unable to start gdb '%1': %2Не удалось запустить gdb '%1': %2
@@ -4333,17 +4322,17 @@ Using gdb 6.7 or later is strongly recommended.
Не удалось запустить адаптер
-
+ Inferior start failed
- Не удалось запустить подчинённого
+ Не удалось запустить подчинённого
-
+ Inferior shutdown failed
- Не удалось остановить подчинённого
+ Не удалось остановить подчинённого
-
+ Cannot find debugger initialization scriptНе удалось найти скрипт инициализации отладчика
@@ -4353,33 +4342,27 @@ Using gdb 6.7 or later is strongly recommended.
В настройках указан файл скрипта '%1', который сейчас недоступен. Если файл скрипта не обязателен, просто очистите поле, чтобы не было этого предупреждения.
-
+ Unable to run '%1': %2Не удалось запустить '%1': %2
-
- <unknown>
- End address of loaded module
- <неизвестный>
-
-
-
+ Retrieving data for stack view...Получение данных о стеке...
-
+ Dumper version %1, %n custom dumpers found.
-
+ Дампер версии %1, обнаружен %n пользовательский дампер.Дампер версии %1, обнаружено %n пользовательских дампера.Дампер версии %1, обнаружено %n пользовательских дамперов.
-
+ An unknown error in the Gdb process occurred. Неизвестная ошибка возникла у процесса Gdb.
@@ -4422,7 +4405,19 @@ Using gdb 6.7 or later is strongly recommended.
Программа завершилась с ошибкой: %1
-
+
+ <Unknown>
+ name
+ <Неизвестный>
+
+
+
+ <Unknown>
+ meaning
+ <Неизвестно>
+
+
+ Execution ErrorОшибка выполнения
@@ -4456,12 +4451,12 @@ Using gdb 6.7 or later is strongly recommended.
Step next requested...
- Потребован шаг через...
+ Потребован шаг через...Step next instruction requested...
- Потребован шаг через инструкцию...
+ Потребован шаг через инструкцию...
@@ -4474,12 +4469,19 @@ Using gdb 6.7 or later is strongly recommended.
Потребовано выполнение до функции %1...
-
+
+ <unknown>
+ address
+ End address of loaded module
+ <неизвестно>
+
+
+ Jumping out of bogus frame...
- Выход из подложного кадра...
+ Выход из подложного кадра...
-
+ Retrieving data for watch view (%n requests pending)...Получение наблюдаемых данных (%n запрос ожидается)...
@@ -4495,15 +4497,15 @@ Using gdb 6.7 or later is strongly recommended.
Debugging helpers not found.
- Помощники отладчика не найдены.
+ Помощники отладчика не найдены.Custom dumper setup: %1
- Настройка пользовательского дампера: %1
+ Настройка пользовательского дампера: %1
-
+ <0 items><0 элементов>
@@ -4546,7 +4548,7 @@ Using gdb 6.7 or later is strongly recommended.
Не удалось дизассемблировать: %1
-
+ Gdb I/O ErrorОшибка вводы/вывода gdb
@@ -4563,7 +4565,7 @@ Using gdb 6.7 or later is strongly recommended.
crashed
- аварийный выход
+ аварийный выход
@@ -4571,17 +4573,17 @@ Using gdb 6.7 or later is strongly recommended.
код %1
-
+ Setting breakpoints...Установка точек останова...
-
+ Starting inferior...
- Запуск подчинённого...
+ Запуск подчинённого...
-
+ Adapter crashedАдаптер аварийно завершился
@@ -4607,10 +4609,20 @@ Using gdb 6.7 or later is strongly recommended.
Debugger::Internal::MemoryViewAgent
-
+ Memory $Память $
+
+
+ No memory viewer available
+ Просмотрщик памяти отсутствует
+
+
+
+ The memory contents cannot be shown as no viewer plugin not the BinEditor plugin could be loaded.
+ Не удаётся отобразить содержимое памяти, так как ни модуль просмотра, ни BinEditor не удалось загрузить.
+ Debugger::Internal::ModulesModel
@@ -4822,7 +4834,7 @@ Using gdb 6.7 or later is strongly recommended.
The upload process failed to start. Shell missing?
- Не удалось запустить процесс выгрузки. Отсутствует оболочка?
+ Не удалось запустить процесс выгрузки. Отсутствует оболочка?
@@ -4897,7 +4909,7 @@ Using gdb 6.7 or later is strongly recommended.
- SourceFilesModel
+ Debugger::Internal::SourceFilesModelInternal name
@@ -5057,7 +5069,7 @@ Using gdb 6.7 or later is strongly recommended.
Стек
-
+ Copy contents to clipboardСкопировать содержимое в буфер обмена
@@ -5259,14 +5271,14 @@ Using gdb 6.7 or later is strongly recommended.
Поколение
-
+ <Edit><Измените>
-
+ Root
- Корень
+ Корень
@@ -5287,7 +5299,7 @@ Using gdb 6.7 or later is strongly recommended.
Debugger::Internal::WatchModel
-
+ decimalдесятичный
@@ -5307,7 +5319,7 @@ Using gdb 6.7 or later is strongly recommended.
восьмиричный
-
+ NameИмя
@@ -5327,7 +5339,7 @@ Using gdb 6.7 or later is strongly recommended.
Locals and Watchers
- Отслеживаемые переменные
+ Переменные
@@ -5340,7 +5352,12 @@ Using gdb 6.7 or later is strongly recommended.
Сменить формат выражения '%1'
-
+
+ Clear
+ Очистить
+
+
+ Change format for typeСменить формат типа
@@ -5408,12 +5425,12 @@ Using gdb 6.7 or later is strongly recommended.
This will enable nice display of Qt and Standard Library objects in the Locals&Watchers view
- Включить удобное отображение объектов Qt и стандартной библиотеки в окне отслеживаемых переменных
+ Включить удобное отображение объектов Qt и стандартной библиотеки в обзоре переменныхUse debugging helper
- Использовать помощник отладчика
+ Использовать помощник отладчика
@@ -5438,7 +5455,7 @@ Using gdb 6.7 or later is strongly recommended.
Makes use of Qt Creator's code model to find out if a variable has already been assigned a value at the point the debugger interrupts.
- Включить использование модели кода Qt Creator для определения
+ Включить использование модели кода Qt Creator для определения
было ли переменной присвоено значение в точке прерывания отладчиком.
@@ -5699,7 +5716,7 @@ Using gdb 6.7 or later is strongly recommended.
Views
- Виды
+ Виды
@@ -5709,12 +5726,12 @@ Using gdb 6.7 or later is strongly recommended.
Locked
- Закрыто
+ ЗафиксированоReset to Default Layout
- Восстановить исходное размещение
+ Сбросить в исходное состояние
@@ -5784,7 +5801,7 @@ Using gdb 6.7 or later is strongly recommended.
Designer::Internal::QtCreatorIntegration
-
+ The class definition of '%1' could not be found in %2.Не удалось найти в %2 определение класса '%1'.
@@ -5794,7 +5811,12 @@ Using gdb 6.7 or later is strongly recommended.
Ошибка поиска/добавления слота.
-
+
+ Internal error: No project could be found for %1.
+ Внутренняя ошибка: Не удалось найти проект для %1.
+
+
+ No documents matching '%1' could be found.
Rebuilding the project might help.Не удалось найти документы соответствующие '%1'.
@@ -6088,7 +6110,7 @@ Reason: %3
FakeVim::Internal::FakeVimHandler
-
+ Not implemented in FakeVimНе реализовано в FakeVim
@@ -6105,10 +6127,10 @@ Reason: %3
%1All
- %1Все
+ %1Все
-
+ File '%1' exists (add ! to override)Файл '%1' уже существует (добавьте !, чтобы перезаписать)
@@ -6135,7 +6157,7 @@ Reason: %3
%n lines filtered
-
+ %n строка отфильтрована%n строки отфильтровано%n строк отфильтровано
@@ -6144,7 +6166,7 @@ Reason: %3
%n lines >ed %1 time
-
+ %n строка сдвинута вправо %1 раз%n строки сдвинуто вправо %1 раз%n строк сдвинуто вправо %1 раз
@@ -6171,7 +6193,7 @@ Reason: %3
Шаблон не найден:
-
+ Already at oldest changeУже на первом изменении
@@ -6297,7 +6319,7 @@ Reason: %3
Incremental search:
- Пошаговый поиск:
+ Пошаговый поиск:
@@ -6397,7 +6419,7 @@ Reason: %3
Find::Internal::FindPlugin
-
+ &Find/Replace&Поиск/Замена
@@ -6766,7 +6788,7 @@ Reason: %3
Generic Manager
- Базовое управление
+ Базовое управление
@@ -6975,7 +6997,7 @@ Reason: %3
Unable to parse the file output.
- Не удалось разобрать файловый вывод.
+ Не удалось разобрать файловый вывод.
@@ -6993,27 +7015,27 @@ Reason: %3
Git Diff
- Git - Сравнение
+ Git - СравнениеGit Diff %1
- Git - сравнение %1
+ Git - сравнение %1Git Log %1
- Git - история %1
+ Git - история %1Git Show %1
- Git - показ %1
+ Git - показ %1Git Blame %1
- Git - аннотация %1
+ Git - аннотация %1
@@ -7036,7 +7058,7 @@ Reason: %3
Unable to checkout %n file(s) in %1: %2
-
+ Не удалось восстановить %n файл в %1: %2Не удалось восстановить %n файла в %1: %2Не удалось восстановить %n файлов в %1: %2
@@ -7055,7 +7077,7 @@ Reason: %3
Unable to run show: %1: %2
- Не удалось запустить показ: %1: %2
+ Не удалось запустить показ: %1: %2
@@ -7531,7 +7553,7 @@ Perl через переменные среды окружения.
-Ошибка '%1' (код возврата %2).
+Ошибка '%1' (код завершения %2).
@@ -7540,7 +7562,7 @@ Perl через переменные среды окружения.
-'%1' выполнено (код возврата %2).
+'%1' выполнено (код завершения %2).
@@ -7554,7 +7576,7 @@ Perl через переменные среды окружения.Request failed for '%1': %2
- Запрос для '%1' не удался: %2
+ Запрос для '%1' не удался: %2
@@ -7631,7 +7653,7 @@ Perl через переменные среды окружения.
Keep updating
- Обновлять
+ Обновлять
@@ -7697,7 +7719,7 @@ Perl через переменные среды окружения.
Shared Project Repositories
- Репозитории общих проектов
+ Репозитории общих проектов
@@ -7707,12 +7729,12 @@ Perl через переменные среды окружения.
Filter:
- Фильтр:
+ Фильтр:...
- ...
+ ...
@@ -7777,7 +7799,7 @@ Perl через переменные среды окружения.
unknown
- неизвестная
+ неизвестная
@@ -8009,9 +8031,8 @@ Perl через переменные среды окружения.Перейти в режим справки
-
-
-
+
+ UnfilteredВся
@@ -8257,7 +8278,7 @@ Perl через переменные среды окружения.
Cannot find special data dumpers
- Не удалось найти дамперы специальных данных
+ Не удалось найти дамперы специальных данных
@@ -8726,7 +8747,7 @@ p, li { white-space: pre-wrap; }
Code Pasting
- Вставка кода
+ Вставка кода
@@ -8775,7 +8796,7 @@ p, li { white-space: pre-wrap; }
"%1" crashed.
- "%1" завершилась аварийно.
+ "%1" завершилась аварийно.
@@ -8960,7 +8981,7 @@ p, li { white-space: pre-wrap; }
Pending Changes...
- Ожидающие изменения...
+ Ожидающие изменения...
@@ -9042,7 +9063,7 @@ p, li { white-space: pre-wrap; }
p4 revert
-
+ p4 revert
@@ -9067,22 +9088,22 @@ p, li { white-space: pre-wrap; }
p4 annotate
-
+ p4 annotatep4 annotate %1
-
+ p4 annotate %1p4 filelog
-
+ p4 filelogp4 filelog %1
-
+ p4 filelog %1
@@ -9114,17 +9135,17 @@ p, li { white-space: pre-wrap; }
p4 diff %1
-
+ p4 diff %1p4 describe %1
-
+ p4 describe %1Closing p4 Editor
- Закрытие редактора Perforce
+ Закрытие редактора Perforce
@@ -9134,7 +9155,7 @@ p, li { white-space: pre-wrap; }
The commit message check failed. Do you want to submit this change list
- Ошибка в результате проверки сообщения. Желаете все же отправить этот список изменений
+ Ошибка в результате проверки сообщения. Желаете все же отправить этот список изменений
@@ -9145,22 +9166,22 @@ p, li { white-space: pre-wrap; }
Cannot execute p4 submit.
- Не удалось запустить фиксацию Perforce.
+ Не удалось запустить фиксацию Perforce.p4 submit failed (exit code %1).
- Фиксация Perforce не удалась (код возврата %1).
+ Фиксация Perforce не удалась (код завершения %1).Pending change
- Рассматриваемое изменение
+ Рассматриваемое изменениеCould not submit the change, because your workspace was out of date. Created a pending submit instead.
- Не удалось зафиксировать измененения, так как рабочая копия устарела. Создана фиксация для рассмотрения.
+ Не удалось зафиксировать измененения, так как рабочая копия устарела. Создана фиксация для рассмотрения.
@@ -9170,12 +9191,12 @@ p, li { white-space: pre-wrap; }
Timeout waiting for "where" (%1).
- Время вышло для "where" (%1).
+ Время вышло для "where" (%1).Error running "where" on %1: The file is not mapped
- Ошибка выполнения "where" на %1: файл не может быть отображен
+ Ошибка выполнения "where" на %1: файл не может быть отображен
@@ -9426,12 +9447,12 @@ p, li { white-space: pre-wrap; }
<font color="#0000ff">Exited with code %1.</font>
- <font color="#0000ff">Завершено с кодом возврата %1.</font>
+ <font color="#0000ff">Завершено с кодом %1.</font><font color="#ff0000"><b>Exited with code %1.</b></font>
- <font color="#ff0000"><b>Завершено с кодом возврата %1.</b></font>
+ <font color="#ff0000"><b>Завершено с кодом %1.</b></font>
@@ -9601,7 +9622,7 @@ Reason: %2
Значение
-
+ <VARIABLE><переменная>
@@ -9612,7 +9633,7 @@ Reason: %2
<значение>
-
+ <UNSET><не задано>
@@ -9621,7 +9642,7 @@ Reason: %2
ProjectExplorer::EnvironmentWidget
-
+ &Edit&Изменить
@@ -9659,7 +9680,7 @@ Reason: %2
ProjectExplorer::Internal::ActiveConfigurationWidget
-
+ Active run configurationАктивная конфигурация запуска
@@ -9729,7 +9750,7 @@ Reason: %2
<a href="#">Make %1 active.</a>
- <a href="#">Активизировать %1.</a>
+ <a href="#">Активизировать %1.</a>
@@ -10022,12 +10043,7 @@ Reason: %2
Остановить
-
- Ctrl+Shift+R
- Ctrl+Shift+R
-
-
-
+ Application OutputКонсоль приложения
@@ -10199,12 +10215,12 @@ Reason: %2
ProjectExplorer::Internal::ProjectWindow
-
+ Active Build and Run ConfigurationsТекущие конфигурации сборки и выполнения
-
+ No project loaded.Проект не загружен.
@@ -10368,7 +10384,7 @@ Reason: %2
<a href="#">Make %1 active.</a>
- <a href="#">Активизировать %1.</a>
+ <a href="#">Активизировать %1.</a>
@@ -10497,7 +10513,7 @@ Reason: %2
ProjectExplorer::ProjectExplorerPlugin
-
+ ProjectsПроекты
@@ -10564,7 +10580,7 @@ Reason: %2
Show containing folder...
- Открыть каталог в отдельном окне...
+ Открыть каталог файла...
@@ -10824,7 +10840,7 @@ to version control (%2)?
ProjectExplorer::Internal::BuildConfigDialog
-
+ Change build configuration && continueСменить конфигурацию сборки и продолжить
@@ -11178,19 +11194,19 @@ to version control (%2)?
QmlProjectManager::Internal::QmlRunConfiguration
-
+ QML ViewerПросмотр QML
-
+ <Current File><Текущий файл>
-
+ QML Viewer arguments:Параметры просмотрщика QML:
@@ -11303,17 +11319,17 @@ to version control (%2)?
&Link library
- &Подключить библиотеку
+ &Подключить библиотекуCreate s&keleton
- Создать &основу
+ Создать &основуInclude pro&ject
- Включить про&ект
+ Включить про&ект
@@ -11416,12 +11432,12 @@ to version control (%2)?
Plugin and Collection Class Information
- Информация о модуле и классе набора
+ Информация о модуле и классе набораSpecify the properties of the plugin library and the collection class.
- Укажите свойства библиотеки модуля и класса набора.
+ Укажите свойства библиотеки модуля и класса набора.
@@ -11639,12 +11655,12 @@ to version control (%2)?
Copy Project to writable Location?
- Скопировать проект в каталог с правами на запись?
+ Скопировать проект в каталог с правами на запись?<p>The project you are about to open is located in the write-protected location:</p><blockquote>%1</blockquote><p>Please select a writable location below and click "Copy Project and Open" to open a modifiable copy of the project or click "Keep Project and Open" to open the project in location.</p><p><b>Note:</b> You will not be able to alter or compile your project in the current location.</p>
- <p>Открываемый проект находится в защищённом от записи каталоге:</p><blockquote>%1</blockquote><p>Ниже выберите каталог, в который разрешена запись, и щёлкните "Скопировать и открыть", для открытия изменяемой копии проекта, или "Открыть для чтения", чтобы открыть проект в текущем каталоге.</p><p><b>Замечание:</b> изменение и сборка проекта, расположенного в данном каталоге, недоступны.</p>
+ <p>Открываемый проект находится в защищённом от записи каталоге:</p><blockquote>%1</blockquote><p>Ниже выберите каталог, в который разрешена запись, и щёлкните "Скопировать и открыть", для открытия изменяемой копии проекта, или "Открыть для чтения", чтобы открыть проект в текущем каталоге.</p><p><b>Замечание:</b> изменение и сборка проекта, расположенного в данном каталоге, недоступны.</p>
@@ -11669,7 +11685,7 @@ to version control (%2)?
The specified location already exists. Please specify a valid location.
- Указанный каталог уже существует. Укажите другой каталог.
+ Указанный каталог уже существует. Укажите другой каталог.
@@ -11713,7 +11729,7 @@ to version control (%2)?
The code completion is CamelCase-aware. For example, to complete <tt>namespaceUri</tt> you can just type <tt>nU</tt> and hit <tt>Ctrl+Space</tt>.
- Автодополнение кода ориентировано на ВерблюжийРегистр. Например, чтобы получить <tt>namespaceUri</tt> вы можете просто ввести <tt>nU</tt> и нажать <tt>Ctrl+Space</tt>.
+ Автодополнение кода ориентировано на ВерблюжийРегистр. Например, чтобы получить <tt>namespaceUri</tt> вы можете просто ввести <tt>nU</tt> и нажать <tt>Ctrl+Space</tt>.
@@ -11999,7 +12015,7 @@ to version control (%2)?
Qt Creator has found an already existing build in the source directory.<br><br><b>Qt Version:</b> %1<br><b>Build configuration:</b> %2<br><b>Additional QMake Arguments:</b>%3
- Qt Creator обнаружил сборку в каталоге исходников.<br><br><b>Профиль Qt:</b> %1<br><b>Конфигурация сборки:</b> %2<br><b>Дополнительные параметры QMake:</b>%3
+ Qt Creator обнаружил сборку в каталоге исходников.<br><br><b>Профиль Qt:</b> %1<br><b>Конфигурация сборки:</b> %2<br><b>Дополнительные параметры QMake:</b>%3
@@ -12015,7 +12031,7 @@ to version control (%2)?
Qt4ProjectManager::Internal::QMakeStepFactory
-
+ QMake
@@ -12095,7 +12111,7 @@ to version control (%2)?
Qt4ProjectManager::Internal::Qt4ProFileNode
-
+ Error while parsing file %1. Giving up.Ошибка разбора файла %1. Отмена.
@@ -12306,7 +12322,7 @@ to version control (%2)?
Select S60 SDK Root
- Выберите корень SDK для S60
+ Выберите корень SDK для S60
@@ -12763,15 +12779,20 @@ Deploying application to '%2'...
Обновить
-
+ S60 SDKsSDK для S60
+
+
+ Error
+ Ошибка
+ Qt4ProjectManager::Internal::S60DevicesWidget
-
+ No Qt installedQt не установлена
@@ -12946,7 +12967,7 @@ Deploying application to '%2'...
Edit Scope
- Изменить область
+ Область правки
@@ -12988,7 +13009,7 @@ Deploying application to '%2'...
Qt4ProjectManager::QMakeStep
-
+
<font color="#ff0000"><b>No valid Qt version set. Set one in Preferences </b></font>
@@ -13014,7 +13035,7 @@ Deploying application to '%2'...
Qt4ProjectManager::QMakeStepConfigWidget
-
+ <b>QMake:</b> No Qt version set. QMake can not be run.<b>QMake:</b> Нельзя запустить QMake, так как профиль Qt не выбран.
@@ -13054,12 +13075,12 @@ Deploying application to '%2'...
%1 Debug
- %1 Отладка
+ %1 Отладка%1 Release
- %1 Релиз
+ %1 Релиз
@@ -13153,170 +13174,90 @@ Deploying application to '%2'...
QApplication
-
+ The Qt Version has no toolchain.
- У профиля Qt нет инструментария.
+ У профиля Qt нет инструментария.QtModulesInfo
-
- QtCore Module
- Модуль QtCore
-
-
-
+ Core non-GUI classes used by other modulesОсновные неграфические классы, используемые другими модулями
-
- QtGui Module
- Модуль QtGui
-
-
-
+ Graphical user interface componentsЭлементы графического интерфейса пользователя
-
- QtNetwork Module
- Модуль QtNetwork
-
-
-
+ Classes for network programmingКлассы для работы с сетью
-
- QtOpenGL Module
- Модуль QtOpenGL
-
-
-
+ OpenGL support classesКлассы для работы с OpenGL
-
- QtSql Module
- Модуль QtSql
-
-
-
+ Classes for database integration using SQLКлассы интеграции с базами данных SQL
-
- QtScript Module
- Модуль QtScript
-
-
-
+ Classes for evaluating Qt ScriptsКлассы для обработки сценариев Qt
-
- QtScriptTools Module
- Модуль QtScriptTools
-
-
-
+ Additional Qt Script componentsДополнительные компоненты Qt Script
-
- QtSvg Module
- Модуль QtSvg
-
-
-
+ Classes for displaying the contents of SVG filesКлассы для отображения содержимого файлов SVG
-
- QtWebKit Module
- Модуль QtWebKit
-
-
-
+ Classes for displaying and editing Web contentКлассы для отображения и правки вэб-страниц
-
- QtXml Module
- Модуль QtXml
-
-
-
+ Classes for handling XMLКлассы для работы с XML
-
- QtXmlPatterns Module
- Модуль QtXmlPatterns
-
-
-
+ An XQuery/XPath engine for XML and custom data modelsДвижок XQuery/XPath для XML и пользовательских моделей данных
-
- Phonon Module
- Модуль Phonon
-
-
-
+ Multimedia framework classesМультимедийные классы
-
- QtMultimedia Module
- Модуль QtMultimedia
-
-
-
+ Classes for low-level multimedia functionalityКлассы для низкоуровневой работы с мультимедиа-содержимым
-
- Qt3Support Module
- Модуль Qt3Support
-
-
-
+ Classes that ease porting from Qt 3 to Qt 4Классы для простого портирования с Qt3 на Qt4
-
- QtTest Module
- Модуль QtTest
-
-
-
+ Tool classes for unit testingСлужебные классы для тестирования элементов
-
- QtDBus Module
- Модуль QtDBus
-
-
-
+ Classes for Inter-Process Communication using the D-BusКлассы для межпроцессного взаимодействия с использованием D-Bus
@@ -13386,12 +13327,12 @@ Deploying application to '%2'...
%1 filter update: 0 files
- Фильтр %1 обновил: 0 файлов
+ Фильтр %1 обновил: 0 файлов%1 filter update: %n files
-
+ Фильтр %1 обновил: %n файлФильтр %1 обновил: %n файлаФильтр %1 обновил: %n файлов
@@ -13400,7 +13341,7 @@ Deploying application to '%2'...
%1 filter update: canceled
- Фильтр %1 обновил: отменено
+ Фильтр %1 обновил: отменено
@@ -13429,7 +13370,7 @@ Deploying application to '%2'...
Specify a short word/abbreviation that can be used to restrict completions to files from this directory tree.
To do this, you type this shortcut and a space in the Locator entry field, and then the word to search for.
- Укажите сокращение или аббревиатуру, которая будет использоваться для ограничения дополнения до файлов из
+ Укажите сокращение или аббревиатуру, которая будет использоваться для ограничения дополнения до файлов из
данного дерева каталогов. Для этого требуется ввести указанное сокращение, пробел и искомое слово в поле поисковика.
@@ -13617,12 +13558,12 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
&Minimal
- &Минимально
+ &МинимальноIndex of Match:
- Номер совпадения:
+ Номер совпадения:
@@ -13652,7 +13593,7 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
Capture %1:
- Захват %1:
+ Захват %1:
@@ -14025,12 +13966,12 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
Use server start script:
- Использовать скрипт:
+ Использовать скрипт:Server start script:
- Скрипт запуска сервера:
+ Скрипт запуска сервера:
@@ -14390,7 +14331,7 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
TextEditor::BaseTextEditorEditable
-
+ Line: %1, Col: %2Строка: %1, Столбец: %2
@@ -14420,7 +14361,7 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
In leading white space
- Перед текстом
+ Перед текстом
@@ -14825,7 +14766,7 @@ The following encodings are likely to fit:
Triggers a quick fix in this scope
- Переключает быстрое дополнение в этой области
+ Переключает быстрое дополнение в этой области
@@ -14879,12 +14820,12 @@ The following encodings are likely to fit:
&Visualize Whitespace
- Отображение про&белов
+ Отображение про&беловClean Whitespace
- Очистить пробелы
+ Очистить пробелы
@@ -15072,9 +15013,9 @@ The following encodings are likely to fit:
Ctrl+Alt+Down
-
+ <line number>
- <номер строки>
+ <номер строки>
@@ -15132,12 +15073,12 @@ The following encodings are likely to fit:
Unused Occurrence
- Неиспользуемое
+ НеиспользуемоеRenaming Occurrence
- Переименуемое
+ Переименуемое
@@ -15457,7 +15398,7 @@ The following encodings are likely to fit:
The process terminated with exit code %1.
- Процесс завершился с кодом возврата %1.
+ Процесс завершился с кодом %1.
@@ -15824,23 +15765,23 @@ p, li { white-space: pre-wrap; }
Inferior process could not be stopped:
%1
- Нельзя остановить подчинённый процесс:
+ Нельзя остановить подчинённый процесс:
%1Inferior started.
- Подчинённый запущен.
+ Подчинённый запущен.Inferior running.
- Подчинённый выполняется.
+ Подчинённый выполняется.Attached to stopped inferior.
- Подключено к остановленному подчинённому.
+ Подключено к остановленному подчинённому.
@@ -15878,7 +15819,7 @@ p, li { white-space: pre-wrap; }
Tools:
- Инструментарий:
+ Инструментарий:
@@ -15934,7 +15875,7 @@ p, li { white-space: pre-wrap; }
Unclosed string at end of line
- Незакрытый литерал в конце строки
+ Незакрытый литерал в конце строки
@@ -15944,7 +15885,7 @@ p, li { white-space: pre-wrap; }
Illegal unicode escape sequence
- Недопустимая ESC-последовательность юникода
+ Недопустимая ESC-последовательность юникода
@@ -15974,13 +15915,13 @@ p, li { white-space: pre-wrap; }
Unexpected token '%1'
- Неожиданная лексема '%1'
+ Неожиданная лексема '%1'Expected token '%1'
- Ожидаемая лексема '%1'
+ Ожидаемая лексема '%1'
@@ -15993,7 +15934,7 @@ p, li { white-space: pre-wrap; }
Connection on %1 canceled.
- Подключение на %1 отменено.
+ Подключение на %1 отменено.
@@ -16041,7 +15982,7 @@ p, li { white-space: pre-wrap; }
trk::Session
-
+ CPU: v%1.%2%3%4CPU description of an S60 device %1 major verison, %2 minor version %3 real name of major verison, %4 real name of minor versionПроцессор: v%1.%2%3%4
@@ -16071,13 +16012,13 @@ p, li { white-space: pre-wrap; }
, type size: %1will be inserted into s60description
- , размер целого: %1
+ , размер целого: %1, float size: %1will be inserted into s60description
- , размер float: %1
+ , размер float: %1
diff --git a/src/plugins/debugger/gdb/attachgdbadapter.cpp b/src/plugins/debugger/gdb/attachgdbadapter.cpp
index 0f6b50b6bd7..2810ef23d97 100644
--- a/src/plugins/debugger/gdb/attachgdbadapter.cpp
+++ b/src/plugins/debugger/gdb/attachgdbadapter.cpp
@@ -85,7 +85,7 @@ void AttachGdbAdapter::handleAttach(const GdbResponse &response)
emit inferiorPrepared();
m_engine->updateAll();
} else {
- QString msg = __(response.data.findChild("msg").data());
+ QString msg = QString::fromLocal8Bit(response.data.findChild("msg").data());
emit inferiorStartFailed(msg);
}
}
diff --git a/src/plugins/debugger/gdb/coregdbadapter.cpp b/src/plugins/debugger/gdb/coregdbadapter.cpp
index ee0304208be..e64abf9af31 100644
--- a/src/plugins/debugger/gdb/coregdbadapter.cpp
+++ b/src/plugins/debugger/gdb/coregdbadapter.cpp
@@ -108,7 +108,7 @@ void CoreGdbAdapter::handleFileExecAndSymbols(const GdbResponse &response)
showStatusMessage(tr("Symbols found."));
} else {
QString msg = tr("Loading symbols from \"%1\" failed:\n").arg(m_executable)
- + __(response.data.findChild("msg").data());
+ + QString::fromLocal8Bit(response.data.findChild("msg").data());
showMessageBox(QMessageBox::Warning, tr("Error Loading Symbols"), msg);
}
loadCoreFile();
@@ -160,7 +160,7 @@ void CoreGdbAdapter::handleTargetCore(const GdbResponse &response)
m_engine->updateAll();
} else {
QString msg = tr("Attach to core \"%1\" failed:\n").arg(startParameters().coreFile)
- + __(response.data.findChild("msg").data());
+ + QString::fromLocal8Bit(response.data.findChild("msg").data());
emit inferiorStartFailed(msg);
}
}
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 4c0ca907344..c1f14e3f806 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1567,7 +1567,8 @@ void GdbEngine::handleInferiorShutdown(const GdbResponse &response)
} else {
debugMessage(_("INFERIOR SHUTDOWN FAILED"));
setState(InferiorShutdownFailed);
- QString msg = m_gdbAdapter->msgInferiorStopFailed(_(response.data.findChild("msg").data()));
+ QString msg = m_gdbAdapter->msgInferiorStopFailed(
+ QString::fromLocal8Bit(response.data.findChild("msg").data()));
showMessageBox(QMessageBox::Critical, tr("Inferior shutdown failed"), msg);
}
shutdown(); // re-iterate...
@@ -1580,7 +1581,8 @@ void GdbEngine::handleGdbExit(const GdbResponse &response)
m_commandsDoneCallback = 0;
// don't set state here, this will be handled in handleGdbFinished()
} else {
- QString msg = m_gdbAdapter->msgGdbStopFailed(_(response.data.findChild("msg").data()));
+ QString msg = m_gdbAdapter->msgGdbStopFailed(
+ QString::fromLocal8Bit(response.data.findChild("msg").data()));
debugMessage(_("GDB WON'T EXIT (%1); KILLING IT").arg(msg));
m_gdbProc.kill();
}
@@ -4329,7 +4331,7 @@ void GdbEngine::handleFetchDisassemblerByLine(const GdbResponse &response)
if (msg == "mi_cmd_disassemble: Invalid line number")
fetchDisassemblerByAddress(ac.agent, true);
else
- showStatusMessage(tr("Disassembler failed: %1").arg(_(msg)), 5000);
+ showStatusMessage(tr("Disassembler failed: %1").arg(QString::fromLocal8Bit(msg)), 5000);
}
}
@@ -4354,7 +4356,7 @@ void GdbEngine::handleFetchDisassemblerByAddress1(const GdbResponse &response)
} else {
// 26^error,msg="Cannot access memory at address 0x801ca308"
QByteArray msg = response.data.findChild("msg").data();
- showStatusMessage(tr("Disassembler failed: %1").arg(_(msg)), 5000);
+ showStatusMessage(tr("Disassembler failed: %1").arg(QString::fromLocal8Bit(msg)), 5000);
}
}
@@ -4368,7 +4370,7 @@ void GdbEngine::handleFetchDisassemblerByAddress0(const GdbResponse &response)
ac.agent->setContents(parseDisassembler(lines));
} else {
QByteArray msg = response.data.findChild("msg").data();
- showStatusMessage(tr("Disassembler failed: %1").arg(_(msg)), 5000);
+ showStatusMessage(tr("Disassembler failed: %1").arg(QString::fromLocal8Bit(msg)), 5000);
}
}
diff --git a/src/plugins/debugger/gdb/plaingdbadapter.cpp b/src/plugins/debugger/gdb/plaingdbadapter.cpp
index c0e0908666d..a4c0d34d86b 100644
--- a/src/plugins/debugger/gdb/plaingdbadapter.cpp
+++ b/src/plugins/debugger/gdb/plaingdbadapter.cpp
@@ -121,7 +121,7 @@ void PlainGdbAdapter::handleFileExecAndSymbols(const GdbResponse &response)
emit inferiorPrepared();
} else {
QString msg = tr("Starting executable failed:\n") +
- __(response.data.findChild("msg").data());
+ QString::fromLocal8Bit(response.data.findChild("msg").data());
emit inferiorStartFailed(msg);
}
}
@@ -163,7 +163,7 @@ void PlainGdbAdapter::handleExecRun(const GdbResponse &response)
showStatusMessage(msgInferiorStarted());
} else {
QTC_ASSERT(state() == InferiorRunningRequested, qDebug() << state());
- const QByteArray &msg = response.data.findChild("msg").data();
+ const QString &msg = QString::fromLocal8Bit(response.data.findChild("msg").data());
//QTC_ASSERT(status() == InferiorRunning, /**/);
//interruptInferior();
emit inferiorStartFailed(msg);
diff --git a/src/plugins/debugger/gdb/remotegdbadapter.cpp b/src/plugins/debugger/gdb/remotegdbadapter.cpp
index 79b1fd5a5d5..01fd28053be 100644
--- a/src/plugins/debugger/gdb/remotegdbadapter.cpp
+++ b/src/plugins/debugger/gdb/remotegdbadapter.cpp
@@ -195,7 +195,7 @@ void RemoteGdbAdapter::handleFileExecAndSymbols(const GdbResponse &response)
CB(handleTargetRemote));
} else {
QString msg = tr("Starting remote executable failed:\n");
- msg += __(response.data.findChild("msg").data());
+ msg += QString::fromLocal8Bit(response.data.findChild("msg").data());
emit inferiorStartFailed(msg);
}
}
@@ -211,7 +211,8 @@ void RemoteGdbAdapter::handleTargetRemote(const GdbResponse &record)
emit inferiorPrepared();
} else {
// 16^error,msg="hd:5555: Connection timed out."
- QString msg = msgConnectRemoteServerFailed(__(record.data.findChild("msg").data()));
+ QString msg = msgConnectRemoteServerFailed(
+ QString::fromLocal8Bit(record.data.findChild("msg").data()));
emit inferiorStartFailed(msg);
}
}
diff --git a/src/plugins/debugger/gdb/termgdbadapter.cpp b/src/plugins/debugger/gdb/termgdbadapter.cpp
index 613aaa79f30..53378a42053 100644
--- a/src/plugins/debugger/gdb/termgdbadapter.cpp
+++ b/src/plugins/debugger/gdb/termgdbadapter.cpp
@@ -143,7 +143,7 @@ void TermGdbAdapter::handleStubAttached(const GdbResponse &response)
m_engine->postCommand(_("-stack-list-frames 0 0"), CB(handleEntryPoint));
#endif
} else if (response.resultClass == GdbResultError) {
- QString msg = _(response.data.findChild("msg").data());
+ QString msg = QString::fromLocal8Bit(response.data.findChild("msg").data());
emit inferiorStartFailed(msg);
}
}
diff --git a/src/plugins/debugger/gdb/trkgdbadapter.cpp b/src/plugins/debugger/gdb/trkgdbadapter.cpp
index a176981d7d7..4d459a74fdf 100644
--- a/src/plugins/debugger/gdb/trkgdbadapter.cpp
+++ b/src/plugins/debugger/gdb/trkgdbadapter.cpp
@@ -1705,7 +1705,7 @@ void TrkGdbAdapter::handleTargetRemote(const GdbResponse &record)
emit inferiorPrepared();
} else {
QString msg = tr("Connecting to TRK server adapter failed:\n")
- + _(record.data.findChild("msg").data());
+ + QString::fromLocal8Bit(record.data.findChild("msg").data());
emit inferiorStartFailed(msg);
}
}
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index 02bf176679c..51eea86a1d3 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -746,13 +746,15 @@ HelpViewer* HelpPlugin::viewerForContextMode()
{
HelpViewer *viewer = 0;
bool showSideBySide = false;
+ Core::RightPanePlaceHolder* placeHolder = Core::RightPanePlaceHolder::current();
+ Core::IEditor *editor = Core::EditorManager::instance()->currentEditor();
switch (m_helpEngine->customValue(QLatin1String("ContextHelpOption"), 0).toInt())
{
case 0: // side by side if possible
{
- if (Core::IEditor *editor = Core::EditorManager::instance()->currentEditor()) {
- if (editor->widget() && editor->widget()->isVisible() && editor->widget()->width() < 800 )
+ if ((!placeHolder || !placeHolder->isVisible()) && editor) {
+ if (!editor->widget() && editor->widget()->isVisible() && editor->widget()->width() < 800 )
break;
}
}
@@ -764,7 +766,6 @@ HelpViewer* HelpPlugin::viewerForContextMode()
break;
}
- Core::RightPanePlaceHolder* placeHolder = Core::RightPanePlaceHolder::current();
if (placeHolder && showSideBySide) {
Core::RightPaneWidget::instance()->setShown(true);
viewer = m_helpViewerForSideBar;
diff --git a/src/plugins/texteditor/colorschemeedit.cpp b/src/plugins/texteditor/colorschemeedit.cpp
index c47534e5a2e..9f70d3154d6 100644
--- a/src/plugins/texteditor/colorschemeedit.cpp
+++ b/src/plugins/texteditor/colorschemeedit.cpp
@@ -143,7 +143,8 @@ ColorSchemeEdit::ColorSchemeEdit(QWidget *parent) :
QWidget(parent),
m_curItem(-1),
m_ui(new Ui::ColorSchemeEdit),
- m_formatsModel(new FormatsModel(this))
+ m_formatsModel(new FormatsModel(this)),
+ m_readOnly(false)
{
m_ui->setupUi(this);
m_ui->itemList->setModel(m_formatsModel);
@@ -178,6 +179,11 @@ void ColorSchemeEdit::setBaseFont(const QFont &font)
void ColorSchemeEdit::setReadOnly(bool readOnly)
{
+ if (m_readOnly == readOnly)
+ return;
+
+ m_readOnly = readOnly;
+
const bool enabled = !readOnly;
m_ui->foregroundLabel->setEnabled(enabled);
m_ui->foregroundToolButton->setEnabled(enabled);
@@ -216,7 +222,9 @@ void ColorSchemeEdit::updateControls()
m_ui->foregroundToolButton->setStyleSheet(colorButtonStyleSheet(format.foreground()));
m_ui->backgroundToolButton->setStyleSheet(colorButtonStyleSheet(format.background()));
- m_ui->eraseBackgroundToolButton->setEnabled(m_curItem > 0 && format.background().isValid());
+ m_ui->eraseBackgroundToolButton->setEnabled(!m_readOnly
+ && m_curItem > 0
+ && format.background().isValid());
const bool boldBlocked = m_ui->boldCheckBox->blockSignals(true);
m_ui->boldCheckBox->setChecked(format.bold());
diff --git a/src/plugins/texteditor/colorschemeedit.h b/src/plugins/texteditor/colorschemeedit.h
index b0c57784298..98d9829e56c 100644
--- a/src/plugins/texteditor/colorschemeedit.h
+++ b/src/plugins/texteditor/colorschemeedit.h
@@ -82,6 +82,7 @@ private:
int m_curItem;
Ui::ColorSchemeEdit *m_ui;
FormatsModel *m_formatsModel;
+ bool m_readOnly;
};