Finished console mode (normal,minimized,hidden).

This commit is contained in:
Ernie Pasveer
2022-01-11 19:47:31 -06:00
parent 33e62cc891
commit ffca84a922
20 changed files with 313 additions and 9 deletions
+29
View File
@@ -125,6 +125,26 @@ bool SeerConfigDialog::editorHighlighterEnabled () const {
return _editorConfigPage->highlighterEnabled();
}
void SeerConfigDialog::setSeerRememberWindowSizes (bool flag) {
_seerConfigPage->setRememberWindowSizes(flag);
}
bool SeerConfigDialog::seerRememberWindowSizes () const {
return _seerConfigPage->rememberWindowSizes();
}
void SeerConfigDialog::setSeerConsoleMode (const QString& mode) {
_seerConfigPage->setConsoleMode(mode);
}
QString SeerConfigDialog::seerConsoleMode () const {
return _seerConfigPage->consoleMode();
}
void SeerConfigDialog::handleChangePage(QListWidgetItem* current, QListWidgetItem* previous) {
//qDebug() << __PRETTY_FUNCTION__ << ":" << current << previous;
@@ -171,6 +191,15 @@ void SeerConfigDialog::handleButtonClicked (QAbstractButton* button) {
}else if (itemLabel == "Seer") {
int result = QMessageBox::warning(this, "Seer",
QString("Reset settings for '") + itemLabel + "'?",
QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Cancel);
if (result == QMessageBox::Ok) {
setSeerRememberWindowSizes(true);
setSeerConsoleMode("normal");
}
}else{
}
}
+7
View File
@@ -41,6 +41,13 @@ class SeerConfigDialog : public QDialog, protected Ui::SeerConfigDialogForm {
void setEditorHighlighterEnabled (bool flag);
bool editorHighlighterEnabled () const;
// Seer settings.
void setSeerRememberWindowSizes (bool flag);
bool seerRememberWindowSizes () const;
void setSeerConsoleMode (const QString& mode);
QString seerConsoleMode () const;
public slots:
void handleChangePage (QListWidgetItem* current, QListWidgetItem* previous);
void handleButtonClicked (QAbstractButton* button);
+1 -1
View File
@@ -122,7 +122,7 @@
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Specify font and highlighting colors for the code editor.&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Specify font and highlighting colors for the code editor.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;These formats apply only when highlighting is enabled and if the file is C or C++.&lt;/p&gt;
&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Class&lt;/li&gt;
&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Comment&lt;/li&gt;
+1 -1
View File
@@ -65,7 +65,7 @@
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Specify an alternate gdb program or alternate gdb flags.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Specify an alternate gdb program and alternate gdb flags.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Note, Seer relies on the &amp;quot;mi&amp;quot; interpreter that is built into gdb. If a different debugger is used, it must provide that. So, usually, the &amp;quot;--interpreter=mi&amp;quot; argument is a must.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+51 -1
View File
@@ -4,6 +4,7 @@
#include "SeerArrayVisualizerWidget.h"
#include "SeerUtl.h"
#include <QtGui/QFont>
#include <QtWidgets/QApplication>
#include <QtWidgets/QMessageBox>
#include <QtCore/QDebug>
#include <unistd.h>
@@ -179,6 +180,7 @@ SeerGdbWidget::SeerGdbWidget (QWidget* parent) : QWidget(parent) {
QObject::connect(stackThreadManagersplitter, &QSplitter::splitterMoved, this, &SeerGdbWidget::handleSplitterMoved);
// Restore window settings.
setConsoleMode("normal");
readSettings();
}
@@ -1291,6 +1293,10 @@ void SeerGdbWidget::writeSettings () {
settings.setValue("sourceLibraryVariableManagerSplitter", sourceLibraryVariableManagerSplitter->saveState());
settings.setValue("stackThreadManagersplitter", stackThreadManagersplitter->saveState());
settings.endGroup();
settings.beginGroup("consolewindow");
settings.setValue("start", consoleMode());
settings.endGroup();
}
void SeerGdbWidget::readSettings () {
@@ -1303,6 +1309,10 @@ void SeerGdbWidget::readSettings () {
sourceLibraryVariableManagerSplitter->restoreState(settings.value("sourceLibraryVariableManagerSplitter").toByteArray());
stackThreadManagersplitter->restoreState(settings.value("stackThreadManagersplitter").toByteArray());
settings.endGroup();
settings.beginGroup("consolewindow");
setConsoleMode(settings.value("start", "normal").toString());
settings.endGroup();
}
bool SeerGdbWidget::isGdbRuning () const {
@@ -1365,7 +1375,8 @@ void SeerGdbWidget::createConsole () {
if (_consoleWidget == 0) {
_consoleWidget = new SeerConsoleWidget(0);
_consoleWidget->setWindowFlags(Qt::Window | Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint);
_consoleWidget->show();
setConsoleMode(consoleMode());
}
}
@@ -1377,6 +1388,45 @@ void SeerGdbWidget::deleteConsole () {
}
}
void SeerGdbWidget::setConsoleMode (const QString& mode) {
_consoleMode = mode;
if (_consoleWidget != 0) {
if (_consoleMode == "normal") {
_consoleWidget->show();
_consoleWidget->setWindowState(Qt::WindowNoState);
}else if (_consoleMode == "minimized") {
_consoleWidget->show();
_consoleWidget->setWindowState(Qt::WindowMinimized);
}else if (_consoleMode == "hidden") {
_consoleWidget->hide();
}else if (_consoleMode == "") {
_consoleMode = "normal";
_consoleWidget->show();
_consoleWidget->setWindowState(Qt::WindowNoState);
}else{
}
}
//_consoleWidget->hide(); // Hide the console. Use show() to restore it.
//_consoleWidget->setWindowState(Qt::WindowNoState); // Show it normally.
//_consoleWidget->setWindowState(Qt::WindowMinimized); // Show it minimized.
}
QString SeerGdbWidget::consoleMode () const {
if (_consoleMode == "") {
return "normal";
}
return _consoleMode;
}
void SeerGdbWidget::sendGdbInterrupt (int signal) {
//qDebug() << __PRETTY_FUNCTION__ << "Sending an interrupt to the program. Signal =" << signal;
+7 -2
View File
@@ -58,9 +58,15 @@ class SeerGdbWidget : public QWidget, protected Ui::SeerGdbWidgetForm {
void setGdbAsyncMode (bool flag);
bool gdbAsyncMode () const;
void setConsoleMode (const QString& mode);
QString consoleMode () const;
// Editor manager.
SeerEditorManagerWidget* editorManager ();
void writeSettings ();
void readSettings ();
public slots:
void handleText (const QString& text);
void handleExecute ();
@@ -133,8 +139,6 @@ class SeerGdbWidget : public QWidget, protected Ui::SeerGdbWidgetForm {
void stoppingPointReached ();
protected:
void writeSettings ();
void readSettings ();
private:
bool isGdbRuning () const;
@@ -158,6 +162,7 @@ class SeerGdbWidget : public QWidget, protected Ui::SeerGdbWidgetForm {
bool _newExecutableFlag;
SeerConsoleWidget* _consoleWidget;
QString _consoleMode;
SeerBreakpointsBrowserWidget* _breakpointsBrowserWidget;
SeerWatchpointsBrowserWidget* _watchpointsBrowserWidget;
SeerCatchpointsBrowserWidget* _catchpointsBrowserWidget;
+21
View File
@@ -73,6 +73,9 @@ SeerMainWindow::SeerMainWindow(QWidget* parent) : QMainWindow(parent) {
QObject::connect(actionFileQuit, &QAction::triggered, this, &SeerMainWindow::handleFileQuit);
QObject::connect(actionViewMemoryVisualizer, &QAction::triggered, this, &SeerMainWindow::handleViewMemoryVisualizer);
QObject::connect(actionViewArrayVisualizer, &QAction::triggered, this, &SeerMainWindow::handleViewArrayVisualizer);
QObject::connect(actionConsoleNormal, &QAction::triggered, this, &SeerMainWindow::handleViewConsoleNormal);
QObject::connect(actionConsoleHidden, &QAction::triggered, this, &SeerMainWindow::handleViewConsoleHidden);
QObject::connect(actionConsoleMinimized, &QAction::triggered, this, &SeerMainWindow::handleViewConsoleMinimized);
QObject::connect(actionHelpAbout, &QAction::triggered, this, &SeerMainWindow::handleHelpAbout);
QObject::connect(actionControlRun, &QAction::triggered, gdbWidget, &SeerGdbWidget::handleGdbRunExecutable);
@@ -278,6 +281,21 @@ void SeerMainWindow::handleViewArrayVisualizer () {
gdbWidget->handleGdbArrayVisualizer();
}
void SeerMainWindow::handleViewConsoleNormal () {
gdbWidget->setConsoleMode("normal");
}
void SeerMainWindow::handleViewConsoleHidden () {
gdbWidget->setConsoleMode("hidden");
}
void SeerMainWindow::handleViewConsoleMinimized () {
gdbWidget->setConsoleMode("minimized");
}
void SeerMainWindow::handleSettingsConfiguration () {
SeerConfigDialog dlg(this);
@@ -288,6 +306,7 @@ void SeerMainWindow::handleSettingsConfiguration () {
dlg.setEditorFont(gdbWidget->editorManager()->editorFont());
dlg.setEditorHighlighterSettings(gdbWidget->editorManager()->editorHighlighterSettings());
dlg.setEditorHighlighterEnabled(gdbWidget->editorManager()->editorHighlighterEnabled());
dlg.setSeerConsoleMode(gdbWidget->consoleMode());
int ret = dlg.exec();
@@ -301,6 +320,7 @@ void SeerMainWindow::handleSettingsConfiguration () {
gdbWidget->editorManager()->setEditorFont(dlg.editorFont());
gdbWidget->editorManager()->setEditorHighlighterSettings(dlg.editorHighlighterSettings());
gdbWidget->editorManager()->setEditorHighlighterEnabled(dlg.editorHighlighterEnabled());
gdbWidget->setConsoleMode(dlg.seerConsoleMode());
}
void SeerMainWindow::handleSettingsSaveConfiguration () {
@@ -314,6 +334,7 @@ void SeerMainWindow::handleSettingsSaveConfiguration () {
}
writeConfigSettings();
gdbWidget->writeSettings();
QMessageBox::information(this, "Seer", "Saved.");
}
+3
View File
@@ -40,6 +40,9 @@ class SeerMainWindow : public QMainWindow, protected Ui::SeerMainWindowForm {
void handleFileQuit ();
void handleViewMemoryVisualizer ();
void handleViewArrayVisualizer ();
void handleViewConsoleNormal ();
void handleViewConsoleHidden ();
void handleViewConsoleMinimized ();
void handleSettingsConfiguration ();
void handleSettingsSaveConfiguration ();
void handleHelpAbout ();
+55
View File
@@ -40,8 +40,27 @@
<property name="title">
<string>View</string>
</property>
<widget class="QMenu" name="menuConsole">
<property name="toolTip">
<string/>
</property>
<property name="statusTip">
<string/>
</property>
<property name="title">
<string>Console</string>
</property>
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/seer/resources/console.png</normaloff>:/seer/resources/console.png</iconset>
</property>
<addaction name="actionConsoleNormal"/>
<addaction name="actionConsoleMinimized"/>
<addaction name="actionConsoleHidden"/>
</widget>
<addaction name="actionViewMemoryVisualizer"/>
<addaction name="actionViewArrayVisualizer"/>
<addaction name="menuConsole"/>
</widget>
<widget class="QMenu" name="menuSettings">
<property name="title">
@@ -428,6 +447,42 @@
<string>Save the configurations so future Seer sessions will use them.</string>
</property>
</action>
<action name="actionConsoleNormal">
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/seer/resources/maximize.png</normaloff>:/seer/resources/maximize.png</iconset>
</property>
<property name="text">
<string>Normal</string>
</property>
<property name="statusTip">
<string>Show the console window.</string>
</property>
</action>
<action name="actionConsoleHidden">
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/seer/resources/hide.png</normaloff>:/seer/resources/hide.png</iconset>
</property>
<property name="text">
<string>Hidden</string>
</property>
<property name="statusTip">
<string>Hide the console window.</string>
</property>
</action>
<action name="actionConsoleMinimized">
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/seer/resources/minimize.png</normaloff>:/seer/resources/minimize.png</iconset>
</property>
<property name="text">
<string>Minimized</string>
</property>
<property name="statusTip">
<string>Minimize the console window.</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
+44
View File
@@ -7,6 +7,8 @@ SeerSeerConfigPage::SeerSeerConfigPage(QWidget* parent) : QWidget(parent) {
setupUi(this);
// Setup the widgets
setConsoleMode("normal");
setRememberWindowSizes(true);
// Connect things.
}
@@ -14,3 +16,45 @@ SeerSeerConfigPage::SeerSeerConfigPage(QWidget* parent) : QWidget(parent) {
SeerSeerConfigPage::~SeerSeerConfigPage() {
}
void SeerSeerConfigPage::setConsoleMode (const QString& mode) {
if (mode == "normal") {
normalRadioButton->setChecked(true);
}else if (mode == "minimized") {
minimizedRadioButton->setChecked(true);
}else if (mode == "hidden") {
hiddenRadioButton->setChecked(true);
}else{
normalRadioButton->setChecked(true);
}
}
QString SeerSeerConfigPage::consoleMode () const {
if (normalRadioButton->isChecked()) {
return "normal";
}else if (minimizedRadioButton->isChecked()) {
return "minimized";
}else if (hiddenRadioButton->isChecked()) {
return "hidden";
}else{
return "normal";
}
}
void SeerSeerConfigPage::setRememberWindowSizes (bool flag) {
rememberSizescheckBox->setChecked(flag);
}
bool SeerSeerConfigPage::rememberWindowSizes () const {
return rememberSizescheckBox->isChecked();
}
+5
View File
@@ -12,5 +12,10 @@ class SeerSeerConfigPage : public QWidget, public Ui::SeerSeerConfigPage {
explicit SeerSeerConfigPage (QWidget* parent = 0);
~SeerSeerConfigPage ();
void setConsoleMode (const QString& mode);
QString consoleMode () const;
void setRememberWindowSizes (bool flag);
bool rememberWindowSizes () const;
};
+79 -3
View File
@@ -20,22 +20,98 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<item row="3" column="0">
<widget class="QLabel" name="rememberGdbCommandsLabel">
<property name="text">
<string>Number of manual gdb/mi commands to remember</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="rememberSizescheckBox">
<property name="text">
<string>Remember window sizes.</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="rememberGdbCommandsSpinBox"/>
</item>
<item row="3" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="3">
<widget class="QTextBrowser" name="textBrowser">
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Specify general settings for the Seer program itself.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Specify general settings for the Seer program itself.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Coming soon near you.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;On startup, the console can be shown normal, minimized, or hidden.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;The window sizes can be remembered if they get changed. On startup, Seer will start with the rembered sizes.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Also, 'N' number of the most recent gdb/mi commands will be remembered.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QGroupBox" name="modeGroupBox">
<property name="title">
<string>Console mode on startup</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="normalRadioButton">
<property name="text">
<string>Normal</string>
</property>
<attribute name="buttonGroup">
<string notr="true">modeButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="minimizedRadioButton">
<property name="text">
<string>Minimized</string>
</property>
<attribute name="buttonGroup">
<string notr="true">modeButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="hiddenRadioButton">
<property name="text">
<string>Hidden</string>
</property>
<attribute name="buttonGroup">
<string notr="true">modeButtonGroup</string>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
<buttongroups>
<buttongroup name="modeButtonGroup"/>
</buttongroups>
</ui>
+1 -1
View File
@@ -27,7 +27,7 @@
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Specify directory mappings for locating source files.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Specify directory mappings for locating source files.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Coming soon near you.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+4
View File
@@ -25,5 +25,9 @@
<file>resources/editor.png</file>
<file>resources/source.png</file>
<file>resources/font.png</file>
<file>resources/console.png</file>
<file>resources/hide.png</file>
<file>resources/maximize.png</file>
<file>resources/minimize.png</file>
</qresource>
</RCC>
+4
View File
@@ -9,6 +9,10 @@ Most are 32x32.
https://www.flaticon.com/premium-icon/contrast-adjustment_4353977 https://www.flaticon.com/authors/creatype
https://www.flaticon.com/free-icon/blogger_3860232 https://www.flaticon.com/authors/xnimrodx
https://www.flaticon.com/premium-icon/c_2085176 https://www.flaticon.com/authors/justicon
https://www.flaticon.com/premium-icon/command_6008504 https://www.flaticon.com/authors/flat-icons
https://www.flaticon.com/free-icon/maximize_3580204 https://www.flaticon.com/authors/mavadee
https://www.flaticon.com/free-icon/minimize_3580225 https://www.flaticon.com/authors/mavadee
https://www.flaticon.com/premium-icon/close_3718000 https://www.flaticon.com/authors/flat-icons
https://icon-icons.com/icon/GDB/132365 https://creativecommons.org/licenses/by/4.0/ John Gardner
The debugging icons used are from the NetBeans project (via the Gede debugger) and licensed under the
Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

+1
View File
@@ -110,6 +110,7 @@ int main (int argc, char* argv[]) {
seer.move(800, 400);
seer.show();
seer.activateWindow();
return app.exec();
}