Mercurial > hg > octave-nkf
comparison libgui/src/files-dock-widget.h @ 16525:e192525236ad
configurable size of toolbar icons
* settings-dialog.ui: new spin box for icon sizes
* settings-dialog.cc: new setting toolbar_icon_size
* file-editor.cc(notice_settings): read toolbar icon size from settings
* files-dock-widget.cc/h: make toolbar a class variable
(notice-settings): read toolbar icon size from settings and reduce by 4 pixels
* main-window.cc/h: make toolbar a class variable
(notice-settings): read toolbar icon size from settings
author | Torsten <ttl@justmail.de> |
---|---|
date | Tue, 16 Apr 2013 21:34:39 +0200 |
parents | 14045b872a3d |
children | 016073c0cb94 |
comparison
equal
deleted
inserted
replaced
16524:6a8e63dadfad | 16525:e192525236ad |
---|---|
113 | 113 |
114 /** set a new directory or open a file **/ | 114 /** set a new directory or open a file **/ |
115 void display_directory (const QString& dir, bool set_octave_dir = true); | 115 void display_directory (const QString& dir, bool set_octave_dir = true); |
116 | 116 |
117 /** Variables for the actions **/ | 117 /** Variables for the actions **/ |
118 QToolBar * _navigation_tool_bar; | |
118 QAction * _sync_octave_directory_action; | 119 QAction * _sync_octave_directory_action; |
119 QAction * _sync_browser_directory_action; | 120 QAction * _sync_browser_directory_action; |
120 | 121 |
121 /** The file system model. */ | 122 /** The file system model. */ |
122 QFileSystemModel *_file_system_model; | 123 QFileSystemModel *_file_system_model; |