From 0dd244cc19006dd048141882a1670a54f586891c Mon Sep 17 00:00:00 2001 From: Denes Matetelki Date: Thu, 16 Jun 2011 18:01:02 +0200 Subject: [PATCH] new icon --- graphwidget.cpp | 2 +- mainwindow.cpp | 2 +- mainwindow.ui | 4 +- qtmindmap.qrc | 8 +- qtmindmap.svg | 1201 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 1209 insertions(+), 8 deletions(-) create mode 100644 qtmindmap.svg diff --git a/graphwidget.cpp b/graphwidget.cpp index 7de1d23..6d82bed 100644 --- a/graphwidget.cpp +++ b/graphwidget.cpp @@ -527,7 +527,7 @@ void GraphWidget::removeAllNodes() void GraphWidget::addFirstNode() { Node *node1 = new Node(this); - node1->setHtml(QString("")); + node1->setHtml(QString("")); m_scene->addItem(node1); node1->setPos(-10, -10); node1->setBorder(false); diff --git a/mainwindow.cpp b/mainwindow.cpp index 81b49a9..b3e6828 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -225,7 +225,7 @@ void MainWindow::about() msgBox.setWindowTitle(tr("About QtMindMap")); msgBox.setText(tr("MindMap software written in Qt.")); msgBox.setInformativeText(tr("Homepage: https://gitorious.org/qtmindmap\n\nReport bugs to: denes.matetelki@gmail.com")); - QPixmap pixMap(":/heart.svg"); + QPixmap pixMap(":/qtmindmap.svg"); msgBox.setIconPixmap(pixMap.scaled(50,50)); msgBox.exec(); } diff --git a/mainwindow.ui b/mainwindow.ui index 074dd55..464deae 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -15,7 +15,7 @@ - :/heart.svg:/heart.svg + :/qtmindmap.svg:/qtmindmap.svg @@ -24,7 +24,7 @@ 0 0 438 - 23 + 21 diff --git a/qtmindmap.qrc b/qtmindmap.qrc index f95614c..220e364 100644 --- a/qtmindmap.qrc +++ b/qtmindmap.qrc @@ -1,5 +1,5 @@ - - - heart.svg - + + + qtmindmap.svg + diff --git a/qtmindmap.svg b/qtmindmap.svg new file mode 100644 index 0000000..97839c0 --- /dev/null +++ b/qtmindmap.svg @@ -0,0 +1,1201 @@ + + + + + + Q + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +