Commit e06f53cb authored by Victor Yacovlev's avatar Victor Yacovlev

Bottom gui improvements

parent 62a671de
......@@ -4,62 +4,105 @@
<context>
<name>ActorRobot::RobotModule</name>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2765"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3441"/>
<source>Робот разбился: сверху стена!</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2766"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2784"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2802"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2819"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3442"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3460"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3478"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3495"/>
<source>Отказ</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2782"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3458"/>
<source>Робот разбился: снизу стена!</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2801"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3477"/>
<source>Робот разбился: слева стена!</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2820"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3496"/>
<source>Робот разбился: справа стена!</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2843"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2854"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2865"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2876"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2886"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2897"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2908"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2919"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3519"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3530"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3541"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3552"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3562"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3573"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3584"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3595"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3605"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3615"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3623"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3631"/>
<source>да</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2843"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2854"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2865"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2876"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2886"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2897"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2908"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2919"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3519"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3530"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3541"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3552"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3562"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3573"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3584"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3595"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3605"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3615"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3623"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3631"/>
<source>нет</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3660"/>
<source>Нет какой клетки!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="2937"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3037"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3682"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3879"/>
<source>Robot</source>
<translation>Робот</translation>
</message>
<message>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3816"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3911"/>
<source>New field</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3817"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3912"/>
<source>Save current field?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3822"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3917"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3824"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3919"/>
<source>Don&apos;t save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3826"/>
<location filename="../../../src/actors/robot/robotmodule.cpp" line="3921"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
This diff is collapsed.
......@@ -184,20 +184,20 @@
<translation></translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="32"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="41"/>
<source>Contents</source>
<translation>Содержание</translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="45"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="54"/>
<source>Algorithms</source>
<translation>Алгоритмы</translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="84"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="117"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="150"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="183"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="93"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="126"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="159"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="192"/>
<source>Filter:</source>
<translation>&amp;Фильтр:</translation>
</message>
......@@ -206,12 +206,12 @@
<translation type="obsolete">Поиск</translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="55"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="64"/>
<source>Examples</source>
<translation>Примеры</translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="65"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.ui" line="74"/>
<source>Tables</source>
<translation>Таблицы</translation>
</message>
......@@ -220,17 +220,17 @@
<translation type="obsolete">Искать:</translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.cpp" line="193"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.cpp" line="205"/>
<source>List of examples in &quot;%1&quot;</source>
<translation>Список примеров в &quot;%1&quot;</translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.cpp" line="221"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.cpp" line="233"/>
<source>List of tables in &quot;%1&quot;</source>
<translation>Список таблиц в &quot;%1&quot;</translation>
</message>
<message>
<location filename="../../../src/shared/docbookviewer/sidepanel.cpp" line="241"/>
<location filename="../../../src/shared/docbookviewer/sidepanel.cpp" line="253"/>
<source>Standard Library functions</source>
<translation>Встроенные алгоритмы</translation>
</message>
......
......@@ -11,7 +11,7 @@
<context>
<name>Editor::EditorPlugin</name>
<message>
<location filename="../../../src/plugins/editor/editorplugin.cpp" line="194"/>
<location filename="../../../src/plugins/editor/editorplugin.cpp" line="193"/>
<source>Can&apos;t open file %1 for writing</source>
<translation>Не могу открыть %1 для записи</translation>
</message>
......@@ -21,7 +21,7 @@
<translation>Не могу открыть %1 для чтения</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorplugin.cpp" line="270"/>
<location filename="../../../src/plugins/editor/editorplugin.cpp" line="261"/>
<source>Editor</source>
<translation>Редактор</translation>
</message>
......@@ -29,27 +29,27 @@
<context>
<name>Editor::EditorPrivate</name>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="162"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="180"/>
<source>Keys: %1</source>
<translation>Клав: %1</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="202"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="221"/>
<source>Row: %1, Col: %2</source>
<translation>Стр: %1, Поз: %2</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="228"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="247"/>
<source>import %1</source>
<translation>использовать %1</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="636"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="567"/>
<source>Edit</source>
<translation>Редактирование</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="656"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="587"/>
<source>Insert</source>
<translation>Вставка</translation>
</message>
......@@ -57,74 +57,56 @@
<context>
<name>Editor::EditorStandaloneWindow</name>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="19"/>
<source>File</source>
<translation>Файл</translation>
<translation type="obsolete">Файл</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="24"/>
<source>New Kumir program</source>
<translation>Новая Кумир-программа</translation>
<translation type="obsolete">Новая Кумир-программа</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="33"/>
<source>Load...</source>
<translation>Загрузить...</translation>
<translation type="obsolete">Загрузить...</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="40"/>
<source>Save</source>
<translation>Сохранить</translation>
<translation type="obsolete">Сохранить</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="47"/>
<source>Save as...</source>
<translation>Сохранить как...</translation>
<translation type="obsolete">Сохранить как...</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="56"/>
<source>Preferences...</source>
<translation>Настройки...</translation>
<translation type="obsolete">Настройки...</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="64"/>
<source>Exit</source>
<translation>Выход</translation>
<translation type="obsolete">Выход</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="116"/>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="127"/>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="141"/>
<source>Kumir Editor</source>
<translation>Редактор Кумир</translation>
<translation type="obsolete">Редактор Кумир</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="158"/>
<source>Load Kumir program...</source>
<translation>Загрузить Кумир-программу...</translation>
<translation type="obsolete">Загрузить Кумир-программу...</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="160"/>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="190"/>
<source>Kumir programs (*.kum)</source>
<translation>Кумир-программы (*.kum)</translation>
<translation type="obsolete">Кумир-программы (*.kum)</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="167"/>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="179"/>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="196"/>
<source>Error</source>
<translation>Ошибка</translation>
<translation type="obsolete">Ошибка</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="167"/>
<source>Can&apos;t load file %1</source>
<translation>Не могу загрузить файл %1</translation>
<translation type="obsolete">Не могу загрузить файл %1</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editorstandalonewindow.cpp" line="188"/>
<source>Save Kumir program...</source>
<translation>Сохранить Кумир-программу...</translation>
<translation type="obsolete">Сохранить Кумир-программу...</translation>
</message>
</context>
<context>
......@@ -464,57 +446,57 @@
<context>
<name>QObject</name>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="555"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="475"/>
<source>Select all text in editor</source>
<translation>Выбрать весь текст</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="561"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="482"/>
<source>Copy selection to clipboard</source>
<translation>Скопировать</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="567"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="489"/>
<source>Cut selection to clipboard</source>
<translation>Вырезать</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="573"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="496"/>
<source>Paste from clipboard</source>
<translation>Вставить</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="579"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="503"/>
<source>Find...</source>
<translation>Найти...</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="586"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="511"/>
<source>Replace...</source>
<translation>Заменить...</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="595"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="521"/>
<source>Delete line under cursor</source>
<translation>Удалить строку</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="601"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="528"/>
<source>Delete text from cursor to end of line</source>
<translation>Удалить текст до конца строки</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="608"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="536"/>
<source>Undo last action</source>
<translation>Отменить последнее действие</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="616"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="545"/>
<source>Redo last undoed action</source>
<translation>Повторить отмененное действие</translation>
</message>
<message>
<location filename="../../../src/plugins/editor/editor.cpp" line="624"/>
<location filename="../../../src/plugins/editor/editor.cpp" line="554"/>
<source>(Un)Comment lines</source>
<translation>(Раз)комменировать строки</translation>
</message>
......
......@@ -4,7 +4,7 @@
<context>
<name>ExtensionSystem::DeclarativeSettingsPage</name>
<message>
<location filename="../../../src/shared/extensionsystem/declarativesettingspage.cpp" line="140"/>
<location filename="../../../src/shared/extensionsystem/declarativesettingspage.cpp" line="138"/>
<source>Choose color</source>
<translation type="unfinished"></translation>
</message>
......@@ -12,7 +12,7 @@
<context>
<name>ExtensionSystem::PluginManager</name>
<message>
<location filename="../../../src/shared/extensionsystem/pluginmanager.cpp" line="443"/>
<location filename="../../../src/shared/extensionsystem/pluginmanager.cpp" line="447"/>
<source>Can&apos;t load module %1: file not found</source>
<translation type="unfinished"></translation>
</message>
......
......@@ -17,27 +17,27 @@
<context>
<name>KumirAnalizer::SyntaxAnalizer</name>
<message>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="133"/>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="122"/>
<source>Built-it module %1</source>
<translation>Встроенный исполнитель %1</translation>
</message>
<message>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="144"/>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="133"/>
<source>Use file &quot;%1&quot; as module</source>
<translation>Использовать программу &quot;%1&quot; как исполнитель</translation>
</message>
<message>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="153"/>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="142"/>
<source>Use precompiled file &quot;%1&quot; as module</source>
<translation>Использовать код &quot;%1&quot; как исполнитель</translation>
</message>
<message>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="333"/>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="329"/>
<source>Loop for variable</source>
<translation>Цикл с изменением значения величины</translation>
</message>
<message>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="338"/>
<location filename="../../../src/plugins/kumiranalizer/syntaxanalizer.cpp" line="334"/>
<source>Repeat while condition is true</source>
<translation>Повторять пока условие истинно</translation>
</message>
......
......@@ -20,7 +20,7 @@ MainWindow::MainWindow(Plugin * p) :
statusBar_(new StatusBar)
{
setStatusBar(statusBar_);
setMinimumHeight(380);
b_notabs = false;
b_workspaceSwitching = false;
ui->setupUi(this);
......@@ -177,7 +177,7 @@ QSize MainWindow::minimumSizeHint() const
minDockedW + 10;
minW = qMax(minW, minBottom);
minH += minDockedH;
return QSize(minW, minH);
return QSize(minW, qMax(380, minH));
}
void MainWindow::resizeEvent(QResizeEvent *evt)
......@@ -185,7 +185,7 @@ void MainWindow::resizeEvent(QResizeEvent *evt)
const QSize min = minimumSizeHint();
const QSize sz = evt->size();
if (sz.width() < min.width() || sz.height() < min.height()) {
evt->ignore();
evt->accept();
}
else {
resize(sz);
......
......@@ -199,7 +199,7 @@
</action>
<action name="actionUsage">
<property name="checkable">
<bool>true</bool>
<bool>false</bool>
</property>
<property name="text">
<string>Manuals</string>
......@@ -239,7 +239,7 @@
</action>
<action name="actionVariables">
<property name="checkable">
<bool>true</bool>
<bool>false</bool>
</property>
<property name="text">
<string>Variable Current Values</string>
......
......@@ -354,22 +354,29 @@ QString Plugin::initialize(const QStringList & parameters)
connect(m_terminal, SIGNAL(openTextEditor(QString,QString)),
mainWindow_, SLOT(newText(QString,QString)));
QWidget * debuggerPlace = new QWidget(mainWindow_);
debuggerPlace->setLayout(new QHBoxLayout);
debuggerPlace->layout()->setContentsMargins(0,0,0,0);
debuggerPlace->sizePolicy().setHorizontalStretch(1);
debuggerPlace->sizePolicy().setHorizontalPolicy(QSizePolicy::Fixed);
bottomSplitter->insertWidget(0, debuggerPlace);
debuggerPlace->setVisible(false);
debuggerPlace_ = new QWidget(mainWindow_);
debuggerPlace_->setLayout(new QHBoxLayout);
debuggerPlace_->layout()->setContentsMargins(0,0,0,0);
debuggerPlace_->sizePolicy().setHorizontalStretch(1);
debuggerPlace_->sizePolicy().setHorizontalPolicy(QSizePolicy::Fixed);
bottomSplitter->insertWidget(0, debuggerPlace_);
debuggerPlace_->setVisible(false);
debugger_ = new DebuggerWindow(plugin_kumirCodeRun);
Widgets::SecondaryWindow * debuggerWindow = new Widgets::SecondaryWindow(
debugger_,
debuggerPlace,
debuggerPlace_,
mainWindow_,
mySettings(),
"DebuggerWindow");
connect(debuggerWindow, SIGNAL(docked(QWidget*,QString)),
this, SLOT(handleDebuggerDocked(QWidget*)));
connect(debuggerWindow, SIGNAL(undocked(QWidget*)),
this, SLOT(handleDebuggerUndocked(QWidget*)));
secondaryWindows_ << debuggerWindow;
debuggerWindow->setWindowTitle(tr("Variables"));
debuggerWindow->toggleViewAction()->setShortcut(QKeySequence("F2"));
......@@ -435,6 +442,18 @@ QString Plugin::initialize(const QStringList & parameters)
return "";
}
void Plugin::handleDebuggerDocked(QWidget *w)
{
debuggerPlace_->setVisible(true);
QList<int> bottomSplitterSizes = bottomSplitter_->sizes();
int totalWidth = bottomSplitterSizes[0] + bottomSplitterSizes[1];
bottomSplitterSizes[0] = w->minimumSizeHint().width();
bottomSplitterSizes[1] = totalWidth - bottomSplitterSizes[0];
bottomSplitter_->setSizes(bottomSplitterSizes);
mainWindow_->ui->actionShow_Console_Pane->setChecked(true);
showConsolePane(true);
}
void Plugin::handleSecondaryWindowDocked(QWidget * w, const QString & title)
{
actorsDockPlace_->addTab(w, w->windowTitle());
......@@ -449,13 +468,22 @@ void Plugin::handleSecondaryWindowDocked(QWidget * w, const QString & title)
showConsolePane(true);
}
void Plugin::handleDebuggerUndocked(QWidget *w)
{
debuggerPlace_->setVisible(false);