Mercurial > octave
comparison libgui/src/gui-preferences-global.h @ 29535:0b429d1a4974
fix several gui issues (shown with OCTAVE_SHOW_GUI_MESSAGES=1)
* QTerminal.cc (construct): fix widget for slot for clear window action
* Filter.cpp (request_open_file): signal request_open_file_signal with
third argument
* Filter.h: dito
* QUnixTerminalImpl.cpp (initialize): update connecting this signal
* gui-preferences-global.h: remove invalid items from style sheets
* octave-qscintilla.h: fix interpreter event declaration
* main-window.cc (do_reset_windows): only resize command window when
it is really included in the main window layout
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Thu, 15 Apr 2021 17:48:35 +0200 |
parents | 2a4980872234 |
children | 744bb06fea2a |
comparison
equal
deleted
inserted
replaced
29534:0ff064f09927 | 29535:0b429d1a4974 |
---|---|
47 const gui_pref | 47 const gui_pref |
48 global_style ("style", QVariant ("default")); | 48 global_style ("style", QVariant ("default")); |
49 | 49 |
50 const QString | 50 const QString |
51 global_toolbar_style ("QToolBar {" | 51 global_toolbar_style ("QToolBar {" |
52 "spacing-top: 0px;" | |
53 "spacing-bottom: 0px;" | |
54 "margin-top: 0px;" | 52 "margin-top: 0px;" |
55 "margin-bottom: 0px;" | 53 "margin-bottom: 0px;" |
56 "padding-top: 0px;" | 54 "padding-top: 0px;" |
57 "padding-bottom: 0px;" | 55 "padding-bottom: 0px;" |
58 "border-top: 0px;" | 56 "border-top: 0px;" |
59 "border-bottom: 0px;" | 57 "border-bottom: 0px;" |
60 "}"); | 58 "}"); |
61 | 59 |
62 const QString | 60 const QString |
63 global_menubar_style ("QMenuBar {" | 61 global_menubar_style ("QMenuBar {" |
64 "spacing-top: 0px;" | |
65 "spacing-bottom: 0px;" | |
66 "margin-top: 0px;" | 62 "margin-top: 0px;" |
67 "margin-bottom: 0px;" | 63 "margin-bottom: 0px;" |
68 "padding-top: 0px;" | 64 "padding-top: 0px;" |
69 "padding-bottom: 0px;" | 65 "padding-bottom: 0px;" |
70 "}"); | 66 "}"); |