master
Denes Matetelki 14 years ago
parent c65bb1f5f3
commit 0dd244cc19

@ -527,7 +527,7 @@ void GraphWidget::removeAllNodes()
void GraphWidget::addFirstNode() void GraphWidget::addFirstNode()
{ {
Node *node1 = new Node(this); Node *node1 = new Node(this);
node1->setHtml(QString("<img src=:/heart.svg width=40 height=40></img>")); node1->setHtml(QString("<img src=:/qtmindmap.svg width=50 height=50></img>"));
m_scene->addItem(node1); m_scene->addItem(node1);
node1->setPos(-10, -10); node1->setPos(-10, -10);
node1->setBorder(false); node1->setBorder(false);

@ -225,7 +225,7 @@ void MainWindow::about()
msgBox.setWindowTitle(tr("About QtMindMap")); msgBox.setWindowTitle(tr("About QtMindMap"));
msgBox.setText(tr("MindMap software written in Qt.")); msgBox.setText(tr("MindMap software written in Qt."));
msgBox.setInformativeText(tr("Homepage: https://gitorious.org/qtmindmap\n\nReport bugs to: denes.matetelki@gmail.com")); 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.setIconPixmap(pixMap.scaled(50,50));
msgBox.exec(); msgBox.exec();
} }

@ -15,7 +15,7 @@
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="qtmindmap.qrc"> <iconset resource="qtmindmap.qrc">
<normaloff>:/heart.svg</normaloff>:/heart.svg</iconset> <normaloff>:/qtmindmap.svg</normaloff>:/qtmindmap.svg</iconset>
</property> </property>
<widget class="QWidget" name="centralWidget"/> <widget class="QWidget" name="centralWidget"/>
<widget class="QMenuBar" name="menuBar"> <widget class="QMenuBar" name="menuBar">
@ -24,7 +24,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>438</width> <width>438</width>
<height>23</height> <height>21</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">

@ -1,5 +1,5 @@
<!DOCTYPE RCC><RCC version="1.0"> <RCC>
<qresource prefix="/"> <qresource prefix="/">
<file>heart.svg</file> <file>qtmindmap.svg</file>
</qresource> </qresource>
</RCC> </RCC>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 127 KiB

Loading…
Cancel
Save