pulseview.git
9 years agoMoved pv::prop:bindings classes into pv::bindings namespace
Joel Holdsworth [Sat, 17 Jan 2015 21:45:04 +0000 (21:45 +0000)]
Moved pv::prop:bindings classes into pv::bindings namespace

9 years agoStoreSession: Support output formats other than srzip
Joel Holdsworth [Sat, 17 Jan 2015 21:03:37 +0000 (21:03 +0000)]
StoreSession: Support output formats other than srzip

9 years agoStoreSession: Added an OutputFormat parameter
Joel Holdsworth [Sat, 17 Jan 2015 20:00:03 +0000 (20:00 +0000)]
StoreSession: Added an OutputFormat parameter

9 years agoAdded pv::widgets::ExportMenu
Joel Holdsworth [Sat, 17 Jan 2015 19:35:18 +0000 (19:35 +0000)]
Added pv::widgets::ExportMenu

9 years agoMainBar: Removed unused run_stop signal
Joel Holdsworth [Sat, 17 Jan 2015 18:35:55 +0000 (18:35 +0000)]
MainBar: Removed unused run_stop signal

9 years agoSession: Tidied class declarations
Joel Holdsworth [Sat, 17 Jan 2015 18:35:12 +0000 (18:35 +0000)]
Session: Tidied class declarations

9 years agoSession: Use set_device to select session file devices
Joel Holdsworth [Sat, 17 Jan 2015 18:14:41 +0000 (18:14 +0000)]
Session: Use set_device to select session file devices

9 years agoMainWindow: Fixed sampling bar comment
Joel Holdsworth [Sat, 17 Jan 2015 18:03:16 +0000 (18:03 +0000)]
MainWindow: Fixed sampling bar comment

9 years agoSession: Renamed set_file to set_session_file
Joel Holdsworth [Sat, 17 Jan 2015 15:19:13 +0000 (15:19 +0000)]
Session: Renamed set_file to set_session_file

9 years agoLogicSignal: Hide the trigger selector, when there is no trigger support
Joel Holdsworth [Sat, 17 Jan 2015 15:09:57 +0000 (15:09 +0000)]
LogicSignal: Hide the trigger selector, when there is no trigger support

9 years agoLogicSignal: Check the TRIGGER_MATCH key before listing
Joel Holdsworth [Sat, 17 Jan 2015 15:04:57 +0000 (15:04 +0000)]
LogicSignal: Check the TRIGGER_MATCH key before listing

9 years agoMainBar: Don't list keys twice
Joel Holdsworth [Sat, 17 Jan 2015 15:04:17 +0000 (15:04 +0000)]
MainBar: Don't list keys twice

9 years agoicons: Improved application icon quality
Joel Holdsworth [Sun, 11 Jan 2015 20:05:12 +0000 (20:05 +0000)]
icons: Improved application icon quality

9 years agoINSTALL: Update build requirements list.
Uwe Hermann [Sat, 24 Jan 2015 19:55:37 +0000 (20:55 +0100)]
INSTALL: Update build requirements list.

9 years agoFix incorrect glibmm.h #includes.
Uwe Hermann [Sat, 17 Jan 2015 20:36:19 +0000 (21:36 +0100)]
Fix incorrect glibmm.h #includes.

As per upstream docs "#include <glibmm.h>" is the correct usage,
the "glibmm-2.4" directory is handled correctly via pkg-config:

 $ pkg-config --cflags glibmm-2.4
 -I/usr/include/glibmm-2.4 [...]

9 years agoUpdate for libsigrokcxx rename.
Uwe Hermann [Sat, 17 Jan 2015 18:29:12 +0000 (19:29 +0100)]
Update for libsigrokcxx rename.

10 years agoMainWindow: Hide the main menu unless Altt is pressed
Joel Holdsworth [Sat, 10 Jan 2015 17:18:32 +0000 (17:18 +0000)]
MainWindow: Hide the main menu unless Altt is pressed

10 years agoMainBar: Prevent context menu from appearing
Soeren Apel [Mon, 5 Jan 2015 20:28:04 +0000 (21:28 +0100)]
MainBar: Prevent context menu from appearing

A user can remove the main toolbar by using the right-click context
menu and clicking on the single entry in it, effectively hiding the
toolbar this way. There is no way to restore it except for closing
PV and deleting the stored session file in ~/.config/sigrok.

This patch prevents the context menu from appearing, thereby
removing the ability to hide the main tool bar.

10 years agoFix #489 by implementing device tool button tooltip
Soeren Apel [Mon, 5 Jan 2015 17:34:53 +0000 (18:34 +0100)]
Fix #489 by implementing device tool button tooltip

10 years agoMainBar: Replaced device selector combo-box with a split button
Joel Holdsworth [Sat, 10 Jan 2015 16:45:55 +0000 (16:45 +0000)]
MainBar: Replaced device selector combo-box with a split button

10 years agoMainBar: Added add-decoder button
Joel Holdsworth [Sat, 10 Jan 2015 16:20:43 +0000 (16:20 +0000)]
MainBar: Added add-decoder button

10 years agoMainWindow: Made menu_decoder_add into a member variable
Joel Holdsworth [Sat, 10 Jan 2015 16:18:33 +0000 (16:18 +0000)]
MainWindow: Made menu_decoder_add into a member variable

10 years agoMainWindow: Removed old main toolbar
Joel Holdsworth [Sat, 10 Jan 2015 16:04:41 +0000 (16:04 +0000)]
MainWindow: Removed old main toolbar

10 years agoMainBar: Added show cursors icon
Joel Holdsworth [Sat, 10 Jan 2015 16:01:57 +0000 (16:01 +0000)]
MainBar: Added show cursors icon

10 years agoMainWindow: Added icon to action_view_show_cursors
Joel Holdsworth [Sat, 10 Jan 2015 16:00:29 +0000 (16:00 +0000)]
MainWindow: Added icon to action_view_show_cursors

10 years agoMainBar: Added menu button
Joel Holdsworth [Sat, 10 Jan 2015 15:53:58 +0000 (15:53 +0000)]
MainBar: Added menu button

10 years agoMainBar: Make toolbar fixed
Joel Holdsworth [Sat, 10 Jan 2015 15:53:41 +0000 (15:53 +0000)]
MainBar: Make toolbar fixed

10 years agoMainWindow: Made QActions into member variables
Joel Holdsworth [Sat, 10 Jan 2015 15:30:52 +0000 (15:30 +0000)]
MainWindow: Made QActions into member variables

10 years agoMainWindow: Moved static constants to top of class definitions
Joel Holdsworth [Sat, 10 Jan 2015 14:57:03 +0000 (14:57 +0000)]
MainWindow: Moved static constants to top of class definitions

10 years agoMainBar: Renamed from SamplingBar
Joel Holdsworth [Tue, 30 Dec 2014 14:37:29 +0000 (14:37 +0000)]
MainBar: Renamed from SamplingBar

10 years agoicons: Added menu icon
Joel Holdsworth [Tue, 6 Jan 2015 22:49:11 +0000 (22:49 +0000)]
icons: Added menu icon

10 years agoSamplingBar: Handle a failure to list the LIMIT_SAMPLES key
Joel Holdsworth [Mon, 5 Jan 2015 20:11:12 +0000 (20:11 +0000)]
SamplingBar: Handle a failure to list the LIMIT_SAMPLES key

10 years agoSamplingBar: Handle a failure to list the SAMPLERATE key
Joel Holdsworth [Mon, 5 Jan 2015 20:10:44 +0000 (20:10 +0000)]
SamplingBar: Handle a failure to list the SAMPLERATE key

This fixes #529

10 years agoConnect: List available serial ports in a combobox.
Aurelien Jacobs [Sat, 6 Dec 2014 23:59:52 +0000 (00:59 +0100)]
Connect: List available serial ports in a combobox.

10 years agoicons: Resized icons to 24x24
Joel Holdsworth [Wed, 31 Dec 2014 10:47:13 +0000 (10:47 +0000)]
icons: Resized icons to 24x24

10 years agoutil: Fixed assertion
Joel Holdsworth [Wed, 31 Dec 2014 09:24:35 +0000 (09:24 +0000)]
util: Fixed assertion

10 years agoUse <cmath> in favor of <math.h> everywhere.
Uwe Hermann [Thu, 1 Jan 2015 19:45:59 +0000 (20:45 +0100)]
Use <cmath> in favor of <math.h> everywhere.

This is both for consistency reasons, as well as to reduce the
likelyhood of issues that may occur due to <math.h> / <cmath> mixups.

10 years agoFix an isnan() issue on (at least) MinGW and Mac OS X.
Uwe Hermann [Thu, 1 Jan 2015 19:43:53 +0000 (20:43 +0100)]
Fix an isnan() issue on (at least) MinGW and Mac OS X.

This closes bug #531.

10 years agoViewport: Mouse wheel scrolls vertically when the control key is pressed
Joel Holdsworth [Tue, 30 Dec 2014 14:22:30 +0000 (14:22 +0000)]
Viewport: Mouse wheel scrolls vertically when the control key is pressed

This fixes #497

10 years agoView: Added set_v_offset
Joel Holdsworth [Tue, 30 Dec 2014 14:21:24 +0000 (14:21 +0000)]
View: Added set_v_offset

10 years agoView: Use the slider value for the v-offset
Joel Holdsworth [Tue, 30 Dec 2014 14:20:56 +0000 (14:20 +0000)]
View: Use the slider value for the v-offset

10 years agoCursorPair: Added frequency indication
Joel Holdsworth [Tue, 30 Dec 2014 11:43:47 +0000 (11:43 +0000)]
CursorPair: Added frequency indication

This fixes #502

10 years agoutil: Added a space between the value and prefix
Joel Holdsworth [Tue, 30 Dec 2014 11:43:00 +0000 (11:43 +0000)]
util: Added a space between the value and prefix

10 years agoutil: Added support for more SI prefixes
Joel Holdsworth [Tue, 30 Dec 2014 10:49:43 +0000 (10:49 +0000)]
util: Added support for more SI prefixes

10 years agoutil: Added format_si_value
Joel Holdsworth [Tue, 30 Dec 2014 09:56:49 +0000 (09:56 +0000)]
util: Added format_si_value

10 years agoViewport: Removed broken using std::isnan
Joel Holdsworth [Tue, 30 Dec 2014 11:51:29 +0000 (11:51 +0000)]
Viewport: Removed broken using std::isnan

10 years agoMinGW: Fix a compile error due to missing std::isnan.
Uwe Hermann [Tue, 30 Dec 2014 10:10:10 +0000 (11:10 +0100)]
MinGW: Fix a compile error due to missing std::isnan.

pv/view/viewport.cpp: In member function 'virtual void pv::view::Viewport::drag_by(const QPoint&)':
pv/view/viewport.cpp:85:24: error: 'isnan' was not declared in this scope
  if (isnan(drag_offset_))
                        ^
pv/view/viewport.cpp:85:24: note: suggested alternative:
In file included from pv/view/viewport.cpp:22:0:
[...]/usr/lib/gcc/i686-w64-mingw32.static/4.9.2/include/c++/cmath:632:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^

10 years agodialogs::Connect: Adds shortcut keys for "Driver", "Serial Port" and "Scan for device...
Uffe Jakobsen [Sun, 28 Dec 2014 09:07:53 +0000 (09:07 +0000)]
dialogs::Connect: Adds shortcut keys for "Driver", "Serial Port" and "Scan for devices" GUI items.

10 years agoViewport: Implemented item hover cursors
Joel Holdsworth [Mon, 29 Dec 2014 11:18:37 +0000 (11:18 +0000)]
Viewport: Implemented item hover cursors

10 years agoViewWidget: Fixed glitching when drag is within the manhattan distance
Joel Holdsworth [Mon, 29 Dec 2014 10:55:02 +0000 (10:55 +0000)]
ViewWidget: Fixed glitching when drag is within the manhattan distance

10 years agoViewport: Implemented on-canvas drag
Joel Holdsworth [Mon, 29 Dec 2014 10:15:26 +0000 (10:15 +0000)]
Viewport: Implemented on-canvas drag

10 years agoViewport: Use fabs instead of branch
Joel Holdsworth [Sun, 28 Dec 2014 21:00:33 +0000 (21:00 +0000)]
Viewport: Use fabs instead of branch

10 years agoViewWidget: Moved in event and touch_event
Joel Holdsworth [Sun, 28 Dec 2014 19:55:46 +0000 (19:55 +0000)]
ViewWidget: Moved in event and touch_event

10 years agoViewWidget: Added mouse_down
Joel Holdsworth [Sun, 28 Dec 2014 16:31:07 +0000 (16:31 +0000)]
ViewWidget: Added mouse_down

10 years agoViewWidget: Renamed dragging_ to item_dragging_
Joel Holdsworth [Sat, 27 Dec 2014 20:07:21 +0000 (20:07 +0000)]
ViewWidget: Renamed dragging_ to item_dragging_

10 years agoViewWidget: Moved in mouse handlers
Joel Holdsworth [Fri, 26 Dec 2014 23:42:53 +0000 (23:42 +0000)]
ViewWidget: Moved in mouse handlers

10 years agoViewItem: Added hit_box_rect
Joel Holdsworth [Sat, 27 Dec 2014 19:05:45 +0000 (19:05 +0000)]
ViewItem: Added hit_box_rect

10 years agoViewWidget: Moved in drag_items
Joel Holdsworth [Tue, 23 Dec 2014 19:24:47 +0000 (19:24 +0000)]
ViewWidget: Moved in drag_items

10 years agoView: Removed signals_moved signals
Joel Holdsworth [Tue, 23 Dec 2014 14:27:47 +0000 (14:27 +0000)]
View: Removed signals_moved signals

10 years agoViewWidget: Moved in unified accept_drag
Joel Holdsworth [Tue, 23 Dec 2014 11:06:20 +0000 (11:06 +0000)]
ViewWidget: Moved in unified accept_drag

10 years agoAdded ViewWidget as a common ancestor of all view widgets
Joel Holdsworth [Sun, 21 Dec 2014 17:56:31 +0000 (17:56 +0000)]
Added ViewWidget as a common ancestor of all view widgets

10 years agoMarginWidget: Moved in mouseMoveEvent
Joel Holdsworth [Sun, 21 Dec 2014 15:47:01 +0000 (15:47 +0000)]
MarginWidget: Moved in mouseMoveEvent

10 years agoMarginWidget: Moved in mouseReleaseEvent
Joel Holdsworth [Sun, 21 Dec 2014 14:29:54 +0000 (14:29 +0000)]
MarginWidget: Moved in mouseReleaseEvent

10 years agoMarginWidget: Moved in keyPressEvent
Joel Holdsworth [Sun, 21 Dec 2014 14:07:53 +0000 (14:07 +0000)]
MarginWidget: Moved in keyPressEvent

10 years agoMarginWidget: Moved in mousePressEvent
Joel Holdsworth [Sun, 21 Dec 2014 13:51:20 +0000 (13:51 +0000)]
MarginWidget: Moved in mousePressEvent

10 years agoMarginWidget: Moved in clear_selection
Joel Holdsworth [Sun, 21 Dec 2014 13:41:28 +0000 (13:41 +0000)]
MarginWidget: Moved in clear_selection

10 years agoMarginWidget: Moved in contextMenuEvent
Joel Holdsworth [Sun, 21 Dec 2014 13:01:18 +0000 (13:01 +0000)]
MarginWidget: Moved in contextMenuEvent

10 years agoMarginWidget: Added pure-virtual get_mouse_over_item
Joel Holdsworth [Sun, 21 Dec 2014 12:55:11 +0000 (12:55 +0000)]
MarginWidget: Added pure-virtual get_mouse_over_item

10 years agoMarginWidget: Added item() method
Joel Holdsworth [Sun, 21 Dec 2014 13:28:16 +0000 (13:28 +0000)]
MarginWidget: Added item() method

10 years agoRuler: Make get_mouse_over_item return shared_ptr<ViewItem>
Joel Holdsworth [Sun, 21 Dec 2014 11:38:25 +0000 (11:38 +0000)]
Ruler: Make get_mouse_over_item return shared_ptr<ViewItem>

10 years agoHeader: Make get_mouse_over_item return shared_ptr<ViewItem>
Joel Holdsworth [Sun, 21 Dec 2014 11:36:46 +0000 (11:36 +0000)]
Header: Make get_mouse_over_item return shared_ptr<ViewItem>

10 years agoMarginWidget: Moved in leaveEvent
Joel Holdsworth [Sun, 21 Dec 2014 11:07:53 +0000 (11:07 +0000)]
MarginWidget: Moved in leaveEvent

10 years agoMarginWidget: Moved mouse_down_item_ in
Joel Holdsworth [Sun, 21 Dec 2014 10:58:30 +0000 (10:58 +0000)]
MarginWidget: Moved mouse_down_item_ in

10 years agoMarginWidget: Moved in create_popup
Joel Holdsworth [Sat, 20 Dec 2014 22:56:35 +0000 (22:56 +0000)]
MarginWidget: Moved in create_popup

10 years agoViewItem: Use drag_point() with drag_by()
Joel Holdsworth [Sun, 28 Dec 2014 18:33:51 +0000 (18:33 +0000)]
ViewItem: Use drag_point() with drag_by()

10 years agoRowItem: Fix y-offset in point()
Joel Holdsworth [Tue, 23 Dec 2014 18:43:23 +0000 (18:43 +0000)]
RowItem: Fix y-offset in point()

10 years agoViewItem: Added rect parameter to point()
Joel Holdsworth [Sat, 20 Dec 2014 22:39:18 +0000 (22:39 +0000)]
ViewItem: Added rect parameter to point()

10 years agoFlag: Added context menu
Joel Holdsworth [Sat, 20 Dec 2014 18:44:58 +0000 (18:44 +0000)]
Flag: Added context menu

10 years agoRuler: Added context menu support
Joel Holdsworth [Sat, 20 Dec 2014 18:44:44 +0000 (18:44 +0000)]
Ruler: Added context menu support

10 years agoRuler: Factored out get_mouse_over_item
Joel Holdsworth [Sat, 20 Dec 2014 18:34:03 +0000 (18:34 +0000)]
Ruler: Factored out get_mouse_over_item

10 years agoCursor: Don't draw cursors over each other when they have equal time
Joel Holdsworth [Sat, 20 Dec 2014 18:33:35 +0000 (18:33 +0000)]
Cursor: Don't draw cursors over each other when they have equal time

10 years agoHeader: Renamed get_mouse_over_row_item to get_mouse_over_item
Joel Holdsworth [Sat, 20 Dec 2014 18:17:55 +0000 (18:17 +0000)]
Header: Renamed get_mouse_over_row_item to get_mouse_over_item

10 years agoCursorPair: Simplified label_rect
Joel Holdsworth [Sat, 20 Dec 2014 17:51:13 +0000 (17:51 +0000)]
CursorPair: Simplified label_rect

10 years agoRuler: Removed Padding
Joel Holdsworth [Sat, 20 Dec 2014 17:42:06 +0000 (17:42 +0000)]
Ruler: Removed Padding

10 years agoTimeMarker: Simplified label_rect
Joel Holdsworth [Sat, 20 Dec 2014 16:34:53 +0000 (16:34 +0000)]
TimeMarker: Simplified label_rect

10 years agoViewItem: Moved in LabelPadding
Joel Holdsworth [Sat, 20 Dec 2014 15:59:06 +0000 (15:59 +0000)]
ViewItem: Moved in LabelPadding

10 years agoCursorPair: Moved in ViewportFillColour
Joel Holdsworth [Sat, 20 Dec 2014 15:53:58 +0000 (15:53 +0000)]
CursorPair: Moved in ViewportFillColour

10 years agoTimeMarker: Removed Offset
Joel Holdsworth [Sat, 20 Dec 2014 15:38:02 +0000 (15:38 +0000)]
TimeMarker: Removed Offset

10 years agoRuler: Removed BaselineOffset
Joel Holdsworth [Sat, 20 Dec 2014 12:31:42 +0000 (12:31 +0000)]
Ruler: Removed BaselineOffset

10 years agoRuler: Made HoverArrowSize proportional to text size
Joel Holdsworth [Sat, 20 Dec 2014 12:28:27 +0000 (12:28 +0000)]
Ruler: Made HoverArrowSize proportional to text size

10 years agoRuler: Make RulerHeight proportional to text size
Joel Holdsworth [Sat, 20 Dec 2014 12:07:55 +0000 (12:07 +0000)]
Ruler: Make RulerHeight proportional to text size

10 years agoReplaced use of QFontMetrics::boundingRect with height() and ascent()
Joel Holdsworth [Sat, 20 Dec 2014 11:58:16 +0000 (11:58 +0000)]
Replaced use of QFontMetrics::boundingRect with height() and ascent()

10 years agoRuler: Removed text_height_
Joel Holdsworth [Sat, 20 Dec 2014 10:56:12 +0000 (10:56 +0000)]
Ruler: Removed text_height_

10 years agoDecodeTrace: Removed text_height_
Joel Holdsworth [Sat, 20 Dec 2014 10:51:38 +0000 (10:51 +0000)]
DecodeTrace: Removed text_height_

10 years agoViewItem: Moved in paint_label
Joel Holdsworth [Thu, 18 Dec 2014 21:16:20 +0000 (21:16 +0000)]
ViewItem: Moved in paint_label

10 years agoRuler: Recombined with CursorHeader
Joel Holdsworth [Sat, 20 Dec 2014 09:26:30 +0000 (09:26 +0000)]
Ruler: Recombined with CursorHeader

10 years agoCursorPair: Set font before calling compute_text_size
Joel Holdsworth [Sat, 20 Dec 2014 10:38:40 +0000 (10:38 +0000)]
CursorPair: Set font before calling compute_text_size

10 years agoViewItem: Make HighlightRadius truly a radius
Joel Holdsworth [Sat, 20 Dec 2014 09:53:33 +0000 (09:53 +0000)]
ViewItem: Make HighlightRadius truly a radius

10 years agoFlag: Added delete key support
Joel Holdsworth [Sat, 20 Dec 2014 08:50:26 +0000 (08:50 +0000)]
Flag: Added delete key support

10 years agoCursorHeader: Hit test time items from front to back
Joel Holdsworth [Sat, 13 Dec 2014 16:24:26 +0000 (16:24 +0000)]
CursorHeader: Hit test time items from front to back