diff --git a/applications-system.svg b/applications-system.svg
new file mode 100644
index 0000000..9d76774
--- /dev/null
+++ b/applications-system.svg
@@ -0,0 +1,247 @@
+
+
+
diff --git a/dialog-information.svg b/dialog-information.svg
new file mode 100644
index 0000000..922b316
--- /dev/null
+++ b/dialog-information.svg
@@ -0,0 +1,1159 @@
+
+
+
diff --git a/folder.svg b/folder.svg
deleted file mode 100644
index 79b25c3..0000000
--- a/folder.svg
+++ /dev/null
@@ -1,424 +0,0 @@
-
-
-
diff --git a/mail-attachment.svg b/mail-attachment.svg
new file mode 100644
index 0000000..4c7f5f6
--- /dev/null
+++ b/mail-attachment.svg
@@ -0,0 +1,186 @@
+
+
+
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 9bec0ac..cefb83c 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -41,42 +41,48 @@ MainWindow::MainWindow(QWidget *parent) :
// why can't I do this with qtcreator?
/// @bug or a feature? no underline here
- /// @todo solve the shorcuts
- m_doIt = new QAction(QIcon(":/user-trash-full.svg"), "&Do it", this);
-// m_doIt->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_T));
- m_ui->mainToolBar->addAction(m_doIt);
+ m_doIt = new QAction(QIcon(":/applications-system.svg"), "&Do", this);
+ m_doIt->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_D));
connect(m_doIt, SIGNAL(activated()), this, SLOT(insertPicture()));
- m_trash = new QAction(QIcon(":/user-trash-full.svg"), "&Trash it", this);
+ m_trash = new QAction(QIcon(":/user-trash-full.svg"), "&Trash", this);
m_trash->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_T));
- m_ui->mainToolBar->addAction(m_trash);
connect(m_trash, SIGNAL(activated()), this, SLOT(insertPicture()));
- m_info = new QAction(QIcon(":/folder.svg"), "&Reference it", this);
+ m_info = new QAction(QIcon(":/mail-attachment.svg"), "&Refer", this);
m_info->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_R));
- m_ui->mainToolBar->addAction(m_info);
connect(m_info, SIGNAL(activated()), this, SLOT(insertPicture()));
m_blocked = new QAction(QIcon(":/dialog-warning.svg"), tr("&Blocked"), this);
m_blocked->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_B));
- m_ui->mainToolBar->addAction(m_blocked);
connect(m_blocked, SIGNAL(activated()), this, SLOT(insertPicture()));
- m_question = new QAction(QIcon(":/help-browser.svg"), tr("&What is it?"), this);
-// m_question->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q));
- m_ui->mainToolBar->addAction(m_question);
+ m_question = new QAction(QIcon(":/help-browser.svg"), tr("&What?"), this);
+ /// @todo come up with some shortcut
+// m_question->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_W));
connect(m_question, SIGNAL(activated()), this, SLOT(insertPicture()));
- m_postpone = new QAction(QIcon(":/x-office-calendar.svg"), tr("&Postpone it"), this);
+ m_postpone = new QAction(QIcon(":/x-office-calendar.svg"), tr("&Postpone"), this);
m_postpone->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_P));
- m_ui->mainToolBar->addAction(m_postpone);
connect(m_postpone, SIGNAL(activated()), this, SLOT(insertPicture()));
- m_delegate = new QAction(QIcon(":/system-users.svg"), tr("&Delegate it"), this);
- m_delegate->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_D));
- m_ui->mainToolBar->addAction(m_delegate);
+ m_delegate = new QAction(QIcon(":/system-users.svg"), tr("&Comission"), this);
+ m_delegate->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_C));
connect(m_delegate, SIGNAL(activated()), this, SLOT(insertPicture()));
+ m_maybe = new QAction(QIcon(":/dialog-information.svg"), tr("&Maybe"), this);
+ m_maybe->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_M));
+ connect(m_maybe, SIGNAL(activated()), this, SLOT(insertPicture()));
+
+ m_ui->mainToolBar->addAction(m_doIt);
+ m_ui->mainToolBar->addAction(m_trash);
+ m_ui->mainToolBar->addAction(m_info);
+ m_ui->mainToolBar->addAction(m_blocked);
+ m_ui->mainToolBar->addAction(m_question);
+ m_ui->mainToolBar->addAction(m_postpone);
+ m_ui->mainToolBar->addAction(m_delegate);
+ m_ui->mainToolBar->addAction(m_maybe);
+
m_ui->mainToolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
}
@@ -339,7 +345,7 @@ void MainWindow::insertPicture()
// dynamic_cast(QObject::sender())->icon().name());
if (sender == m_doIt)
{
- m_graphicsView->insertPicture(":/user-trash-full.svg");
+ m_graphicsView->insertPicture(":/applications-system.svg");
}
else if (sender == m_trash)
{
@@ -347,7 +353,7 @@ void MainWindow::insertPicture()
}
else if (sender == m_info)
{
- m_graphicsView->insertPicture(":/folder.svg");
+ m_graphicsView->insertPicture(":/mail-attachment.svg");
}
else if (sender == m_blocked)
{
@@ -365,6 +371,10 @@ void MainWindow::insertPicture()
{
m_graphicsView->insertPicture(":/system-users.svg");
}
+ else if (sender == m_maybe)
+ {
+ m_graphicsView->insertPicture(":/dialog-information.svg");
+ }
else
{
return;
diff --git a/mainwindow.h b/mainwindow.h
index a27ffbd..41f43ec 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -55,6 +55,7 @@ private:
QAction *m_question;
QAction *m_postpone;
QAction *m_delegate;
+ QAction *m_maybe;
};
#endif // MAINWINDOW_H
diff --git a/qtmindmap.qrc b/qtmindmap.qrc
index 5093996..3a091e0 100644
--- a/qtmindmap.qrc
+++ b/qtmindmap.qrc
@@ -4,8 +4,10 @@
help-browser.svg
user-trash-full.svg
x-office-calendar.svg
- folder.svg
system-users.svg
dialog-warning.svg
+ mail-attachment.svg
+ applications-system.svg
+ dialog-information.svg