Commit e7d8cb5e authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[ADD] some more icons for some functions

parent 1e22bb46
......@@ -47,4 +47,6 @@
#include "moduleBusy.xpm"
#include "moduleCrashed.xpm"
#include "tango/preferences-system.xpm"
#endif // WICONS_H
Icons in this directory are from the tango project an public domain.
Tango Icon Theme
----------------
This is an icon theme that follows the Tango visual guidelines [1]. Currently
it depends on Imagemagick for creation of 24x24 bitmaps by adding a 1px padding
around the 22x22px version. For GNOME and KDE you will also need
icon-naming-utils that allow the theme to work in these environments before
they follow the new naming scheme [2].
[1] http://tango-project.org/Tango_Icon_Theme_Guidelines
[2] http://tango-project.org/Standard_Icon_Naming_Specification
/* XPM */
static const char * preferences_system_xpm[] = {
"22 22 92 2",
" c None",
". c #7F7F7F",
"+ c #EAE9E8",
"@ c #F9F9F8",
"# c #D8D8D7",
"$ c #F8F7F6",
"% c #F3F2F1",
"& c #8297B2",
"* c #3465A4",
"= c #ECEAE8",
"- c #FFFFFF",
"; c #4E74A4",
"> c #7C7C7C",
", c #BBBBBB",
"' c #EDEBEA",
") c #CCCCCC",
"! c #AFAFAF",
"~ c #6584AC",
"{ c #E8E7E4",
"] c #EAEAEA",
"^ c #ADADAD",
"/ c #E3E3E2",
"( c #FAFAF9",
"_ c #797874",
": c #DCDCDC",
"< c #999999",
"[ c #E8E7E6",
"} c #F2F1EF",
"| c #EDEBE9",
"1 c #EBE9E7",
"2 c #FAFAFA",
"3 c #878787",
"4 c #CFCDCA",
"5 c #F8F8F7",
"6 c #F9F9F7",
"7 c #F9F8F7",
"8 c #FEFEFE",
"9 c #9E9E9E",
"0 c #B5B5B5",
"a c #F6F6F5",
"b c #9F9F9E",
"c c #F8F8F8",
"d c #E7E6E4",
"e c #BBC1C8",
"f c #4571A9",
"g c #F4F4F4",
"h c #9DB0CA",
"i c #DFDFDF",
"j c #597DAB",
"k c #A7A7A6",
"l c #204A87",
"m c #547CAE",
"n c #A4ADB6",
"o c #FBFBFB",
"p c #7590AE",
"q c #A4BAD0",
"r c #90A6BE",
"s c #A7B1BD",
"t c #C1C1C1",
"u c #E3E2E1",
"v c #D3DFEA",
"w c #A2AEBC",
"x c #9DB6CE",
"y c #637B95",
"z c #849CB6",
"A c #D7E2ED",
"B c #8D98A5",
"C c #9DB8D2",
"D c #607791",
"E c #99ADC3",
"F c #DFE7F0",
"G c #8193A9",
"H c #586D84",
"I c #5B7189",
"J c #868686",
"K c #A1B4C8",
"L c #EEF3F6",
"M c #60768F",
"N c #E4E3E1",
"O c #5F5F5E",
"P c #91A6BE",
"Q c #F0F4F7",
"R c #97A5B6",
"S c #F3F3F2",
"T c #F0F0F0",
"U c #B0C6DB",
"V c #EDF2F6",
"W c #818A95",
"X c #919191",
"Y c #7D7D7D",
"Z c #6C85A1",
"` c #C0D1E2",
" . . . ",
" . + @ # . ",
" . $ % # . & * ",
" . = @ . * - ; * ",
" > . . , ' @ . * - ) ! ~ ",
" . { ] . ^ / = ( _ * : ! * ",
" < [ } | = 1 1 1 @ . * 2 * * ",
" 3 4 5 @ 6 @ 1 1 7 . * 8 * ",
" 9 . . . 0 @ = 1 a b * c * ",
" . @ d e f g * ",
" . h * i j k ",
" l l l * g m n o . ",
" l p q r l * s t u 8 . ",
" l p v w x y l . 8 1 1 8 . ",
" l z A B y C D l . 8 = 1 8 . ",
" l E F G H C p I l . 8 1 1 8 J ",
" l K L G M C p I l . 8 N O 8 . ",
" l P Q R M C p I l . 8 S T . ",
" l U V W C p I l X . Y ",
" l Z C ` P I l ",
" l Z Z y l ",
" l l l "};
......@@ -86,6 +86,7 @@ void WMainWindow::setupGUI()
m_iconManager.addIcon( std::string( "moduleBusy" ), moduleBusy_xpm );
m_iconManager.addIcon( std::string( "moduleCrashed" ), moduleCrashed_xpm );
m_iconManager.addIcon( std::string( "remove" ), remove_xpm );
m_iconManager.addIcon( std::string( "config" ), preferences_system_xpm );
m_iconManager.addIcon( std::string( "o" ), o_xpm ); // duumy icon for modules
if( objectName().isEmpty() )
......@@ -140,14 +141,14 @@ void WMainWindow::setupGUI()
fileMenu->addAction( m_iconManager.getIcon( "load" ), "Load Dataset", this, SLOT( openLoadDialog() ), QKeySequence( QKeySequence::Open ) );
fileMenu->addSeparator();
fileMenu->addAction( "Load Project", this, SLOT( projectLoad() ) );
QMenu* saveMenu = fileMenu->addMenu( "Save" );
saveMenu->addAction( "Save Project", this, SLOT( projectSaveAll() ), QKeySequence::Save );
fileMenu->addAction( m_iconManager.getIcon( "loadProject" ), "Load Project", this, SLOT( projectLoad() ) );
QMenu* saveMenu = fileMenu->addMenu( m_iconManager.getIcon( "saveProject" ), "Save" );
saveMenu->addAction("Save Project", this, SLOT( projectSaveAll() ), QKeySequence::Save );
saveMenu->addAction( "Save Modules Only", this, SLOT( projectSaveModuleOnly() ) );
saveMenu->addAction( "Save Camera Only", this, SLOT( projectSaveCameraOnly() ) );
saveMenu->addAction( "Save ROIs Only", this, SLOT( projectSaveROIOnly() ) );
fileMenu->addSeparator();
fileMenu->addAction( "Config", this, SLOT( openConfigDialog() ) );
fileMenu->addAction( m_iconManager.getIcon( "config" ), "Config", this, SLOT( openConfigDialog() ) );
fileMenu->addSeparator();
// TODO(all): If all distributions provide a newer QT version we should use QKeySequence::Quit here
//fileMenu->addAction( m_iconManager.getIcon( "quit" ), "Quit", this, SLOT( close() ), QKeySequence( QKeySequence::Quit ) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment