]> sigrok.org Git - pulseview.git/log
pulseview.git
9 years agoMarginWidget: Moved in mousePressEvent
Joel Holdsworth [Sun, 21 Dec 2014 13:51:20 +0000 (13:51 +0000)]
MarginWidget: Moved in mousePressEvent

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

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

9 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

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

9 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>

9 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>

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

9 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

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

9 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()

9 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()

9 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()

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

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

9 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

9 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

9 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

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

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

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

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

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

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

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

9 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

9 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

9 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()

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

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

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

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

9 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

9 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

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

9 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

9 years agoFlag: Added flag time markers
Joel Holdsworth [Sat, 13 Dec 2014 12:56:21 +0000 (12:56 +0000)]
Flag: Added flag time markers

9 years agoTimeMarker: Replaced time_changed signal with View::time_item_apparance_changed
Joel Holdsworth [Sat, 13 Dec 2014 15:52:54 +0000 (15:52 +0000)]
TimeMarker: Replaced time_changed signal with View::time_item_apparance_changed

9 years agoTimeMarker: Fixed position of set_time function
Joel Holdsworth [Sat, 13 Dec 2014 15:45:07 +0000 (15:45 +0000)]
TimeMarker: Fixed position of set_time function

9 years agoRowItemOwner: Renamed appearance_changed to row_item_appearance_changed
Joel Holdsworth [Sat, 13 Dec 2014 15:35:47 +0000 (15:35 +0000)]
RowItemOwner: Renamed appearance_changed to row_item_appearance_changed

9 years agoCursorPair: Paint with ViewItem::paint_fore/paint_back
Joel Holdsworth [Sat, 13 Dec 2014 12:13:43 +0000 (12:13 +0000)]
CursorPair: Paint with ViewItem::paint_fore/paint_back

9 years agoViewItemPaintParams: Fixed height()
Joel Holdsworth [Sun, 28 Dec 2014 18:52:50 +0000 (18:52 +0000)]
ViewItemPaintParams: Fixed height()

9 years agoViewItemPaintParams: Added vertical layout information
Joel Holdsworth [Sat, 13 Dec 2014 12:06:21 +0000 (12:06 +0000)]
ViewItemPaintParams: Added vertical layout information

9 years agoViewItem: Moved in paint_fore, paint_mid and paint_back
Joel Holdsworth [Sat, 13 Dec 2014 11:25:50 +0000 (11:25 +0000)]
ViewItem: Moved in paint_fore, paint_mid and paint_back

9 years agoRowItemPaintParams: Renamed to ViewItemPaintParams
Joel Holdsworth [Sat, 13 Dec 2014 11:08:26 +0000 (11:08 +0000)]
RowItemPaintParams: Renamed to ViewItemPaintParams

9 years agoSelectableItem: Renamed to ViewItem
Joel Holdsworth [Sat, 13 Dec 2014 11:02:01 +0000 (11:02 +0000)]
SelectableItem: Renamed to ViewItem

9 years agoCursorHeader: Made drag position pixel perfect
Joel Holdsworth [Sat, 13 Dec 2014 10:37:43 +0000 (10:37 +0000)]
CursorHeader: Made drag position pixel perfect

9 years agoView: Fixed naming of View::RowItem{H,V}ExtentsChanged
Joel Holdsworth [Sat, 13 Dec 2014 15:01:14 +0000 (15:01 +0000)]
View: Fixed naming of View::RowItem{H,V}ExtentsChanged

9 years agoHeader: Fixed trace labels spilling onto the canvas
Joel Holdsworth [Mon, 15 Dec 2014 12:36:32 +0000 (12:36 +0000)]
Header: Fixed trace labels spilling onto the canvas

9 years agoWellArray: Renamed to avoid namespace collissions, now that QWellArray is public
Joel Holdsworth [Sat, 13 Dec 2014 10:08:05 +0000 (10:08 +0000)]
WellArray: Renamed to avoid namespace collissions, now that QWellArray is public

This fixes bug #525

9 years agoView: Fix #515 by fixing typo and extent handling
Soeren Apel [Sat, 13 Dec 2014 10:20:03 +0000 (10:20 +0000)]
View: Fix #515 by fixing typo and extent handling

Typo: extents.first instead of extents.second

The extra scoll height was too large and could result in all
traces being removed from view. To avoid this, the user now has
half of the view height as extra scroll height.

9 years agoRowItem: Fixed v_extents initial conditions
Soeren Apel [Sat, 13 Dec 2014 10:19:16 +0000 (10:19 +0000)]
RowItem: Fixed v_extents initial conditions

Using (0, 0) as initializers for the global extent calculation
is suboptimal as it causes the lowest y coordinate to always be 0
when all traces have positive y offsets. When moving all traces
down, the scroll area becomes too large as a result. Using
(INT_MAX, INT_MIN) instead fixes this.

9 years agoView: Fix #513 by scrolling 1/8th the view height per step
Soeren Apel [Fri, 12 Dec 2014 16:41:08 +0000 (17:41 +0100)]
View: Fix #513 by scrolling 1/8th the view height per step

9 years agoSamplingBar: Use DeviceManager::get_display_name() directly
Soeren Apel [Fri, 12 Dec 2014 16:38:55 +0000 (17:38 +0100)]
SamplingBar: Use DeviceManager::get_display_name() directly

9 years agoDeviceManager: Minor tidyup in build_display_name
Joel Holdsworth [Sat, 13 Dec 2014 10:16:17 +0000 (10:16 +0000)]
DeviceManager: Minor tidyup in build_display_name

9 years agoDeviceManager: Use boost::algorithm::string::join to do concatenation
Joel Holdsworth [Sat, 13 Dec 2014 10:13:42 +0000 (10:13 +0000)]
DeviceManager: Use boost::algorithm::string::join to do concatenation

9 years agoDeviceManager: Introduce full device names
Soeren Apel [Fri, 12 Dec 2014 16:36:02 +0000 (17:36 +0100)]
DeviceManager: Introduce full device names

9 years agoDecodeTrace: Correct row calculation/tooltip position for row 0
Soeren Apel [Fri, 12 Dec 2014 16:32:06 +0000 (17:32 +0100)]
DecodeTrace: Correct row calculation/tooltip position for row 0

9 years agotest/CMakeLists.txt: Add missing #includes.
Uwe Hermann [Wed, 10 Dec 2014 16:53:15 +0000 (17:53 +0100)]
test/CMakeLists.txt: Add missing #includes.

This fixes the build with enabled unit tests.

9 years agoDecodeTrace: Remove hide_hover_annotation() as it's only used once
Soeren Apel [Sun, 7 Dec 2014 16:29:02 +0000 (17:29 +0100)]
DecodeTrace: Remove hide_hover_annotation() as it's only used once

9 years agoMarginWidget: Moved in dragging_, mouse_point_, and mouse_down_point_
Joel Holdsworth [Tue, 9 Dec 2014 00:13:50 +0000 (00:13 +0000)]
MarginWidget: Moved in dragging_, mouse_point_, and mouse_down_point_

9 years agoCursorHeader: Paint by the labels by the time item list
Joel Holdsworth [Tue, 9 Dec 2014 00:32:51 +0000 (00:32 +0000)]
CursorHeader: Paint by the labels by the time item list

9 years agoView: Added CursorPair to time_items list
Joel Holdsworth [Mon, 8 Dec 2014 23:47:02 +0000 (23:47 +0000)]
View: Added CursorPair to time_items list

This solves bug #514

9 years agoTimeItem: Made paint_label a mandatory field
Joel Holdsworth [Mon, 8 Dec 2014 23:45:05 +0000 (23:45 +0000)]
TimeItem: Made paint_label a mandatory field

9 years agoCursorPair: Draw highlight when selected
Joel Holdsworth [Mon, 8 Dec 2014 23:26:03 +0000 (23:26 +0000)]
CursorPair: Draw highlight when selected

9 years agoCursorHeader: Accept TimeItems not providing a Popup
Joel Holdsworth [Mon, 8 Dec 2014 23:25:26 +0000 (23:25 +0000)]
CursorHeader: Accept TimeItems not providing a Popup

9 years agoCursorHeader: Handle all TimeItems instead of TimeMarkers
Joel Holdsworth [Mon, 8 Dec 2014 22:48:10 +0000 (22:48 +0000)]
CursorHeader: Handle all TimeItems instead of TimeMarkers

This fixes the issue where items were always dragged to the x-coordinate of
the mouse. This patch makes the drag relative to the grab point.

9 years agoTimeItem: Added mandatory get_x virtual method
Joel Holdsworth [Mon, 8 Dec 2014 22:46:37 +0000 (22:46 +0000)]
TimeItem: Added mandatory get_x virtual method

9 years agoTimeItem: Added mandatory set_time virtual method
Joel Holdsworth [Mon, 8 Dec 2014 22:36:54 +0000 (22:36 +0000)]
TimeItem: Added mandatory set_time virtual method

9 years agoSelectableItem: Moved in label_rect
Joel Holdsworth [Sun, 7 Dec 2014 11:02:54 +0000 (11:02 +0000)]
SelectableItem: Moved in label_rect

9 years agoTimeMarker: Renamed get_label_rect, and made it take a const QRectF&
Joel Holdsworth [Sun, 7 Dec 2014 10:59:52 +0000 (10:59 +0000)]
TimeMarker: Renamed get_label_rect, and made it take a const QRectF&

9 years agoRowItem: Pass rect into label_rect
Joel Holdsworth [Sun, 7 Dec 2014 10:34:40 +0000 (10:34 +0000)]
RowItem: Pass rect into label_rect

9 years agoView: Store CursorPair in a shared_ptr
Joel Holdsworth [Sun, 7 Dec 2014 00:38:07 +0000 (00:38 +0000)]
View: Store CursorPair in a shared_ptr

9 years agoCursorPair: Derived from TimeItem
Joel Holdsworth [Sun, 7 Dec 2014 00:00:53 +0000 (00:00 +0000)]
CursorPair: Derived from TimeItem

9 years agoView: Added time_markers
Joel Holdsworth [Sat, 6 Dec 2014 23:14:51 +0000 (23:14 +0000)]
View: Added time_markers

9 years agoTimeItem: Added new class - a base of TimeMarker, derived from SelectableItem
Joel Holdsworth [Sat, 6 Dec 2014 23:40:07 +0000 (23:40 +0000)]
TimeItem: Added new class - a base of TimeMarker, derived from SelectableItem

9 years agoTimeMarker: Clamp to minimum size
Joel Holdsworth [Sun, 30 Nov 2014 16:36:31 +0000 (16:36 +0000)]
TimeMarker: Clamp to minimum size

9 years agoSelectableItem: Moved in enabled(), and added to TriggerMarkers
Joel Holdsworth [Sat, 6 Dec 2014 23:11:29 +0000 (23:11 +0000)]
SelectableItem: Moved in enabled(), and added to TriggerMarkers

9 years agoTimeMarker: Added get_text
Joel Holdsworth [Sun, 30 Nov 2014 15:31:10 +0000 (15:31 +0000)]
TimeMarker: Added get_text

9 years agoTimeMarker: Added default get_label_rect implementation
Joel Holdsworth [Sun, 30 Nov 2014 13:48:37 +0000 (13:48 +0000)]
TimeMarker: Added default get_label_rect implementation

9 years agoCursor: Moved paint_label into TimeMarker
Joel Holdsworth [Sun, 30 Nov 2014 13:04:12 +0000 (13:04 +0000)]
Cursor: Moved paint_label into TimeMarker

9 years agoTrace: Moved get_text_colour into SelectableItem
Joel Holdsworth [Sun, 30 Nov 2014 12:57:31 +0000 (12:57 +0000)]
Trace: Moved get_text_colour into SelectableItem

9 years agoDecodeTrace: Removed incorrect use of get_text_colour
Joel Holdsworth [Sun, 30 Nov 2014 12:52:38 +0000 (12:52 +0000)]
DecodeTrace: Removed incorrect use of get_text_colour

9 years agoSnapshot: Renamed to Segment
Joel Holdsworth [Sun, 30 Nov 2014 10:46:23 +0000 (10:46 +0000)]
Snapshot: Renamed to Segment

9 years agoSignalData: Moved samplerate into Snapshot
Joel Holdsworth [Sun, 30 Nov 2014 10:29:54 +0000 (10:29 +0000)]
SignalData: Moved samplerate into Snapshot

9 years agoSignalData: Moved start_time into Snapshot
Joel Holdsworth [Sat, 29 Nov 2014 18:48:06 +0000 (18:48 +0000)]
SignalData: Moved start_time into Snapshot

9 years agoSignalData: Added snapshots accessor method
Joel Holdsworth [Sat, 29 Nov 2014 18:40:46 +0000 (18:40 +0000)]
SignalData: Added snapshots accessor method

9 years agoDecoderStack: Emancipate from SignalData
Joel Holdsworth [Sat, 29 Nov 2014 18:39:39 +0000 (18:39 +0000)]
DecoderStack: Emancipate from SignalData

9 years agoRenamed pv::data::Analog::get_snapshots and Logic::get_snapshots
Joel Holdsworth [Sat, 29 Nov 2014 18:23:57 +0000 (18:23 +0000)]
Renamed pv::data::Analog::get_snapshots and Logic::get_snapshots

9 years agoRowItemParams: Added font and text_height
Joel Holdsworth [Mon, 24 Nov 2014 23:45:17 +0000 (23:45 +0000)]
RowItemParams: Added font and text_height

9 years agoRowItemPaintParams: Bundled scale and offset
Joel Holdsworth [Mon, 24 Nov 2014 19:28:34 +0000 (19:28 +0000)]
RowItemPaintParams: Bundled scale and offset

9 years agoTrace: Make paint_axis take RowItemPaintParams
Joel Holdsworth [Mon, 24 Nov 2014 19:17:27 +0000 (19:17 +0000)]
Trace: Make paint_axis take RowItemPaintParams

9 years agoRowItem: Bundled painting parameters into RowItemPaintParams
Joel Holdsworth [Sun, 23 Nov 2014 19:53:59 +0000 (19:53 +0000)]
RowItem: Bundled painting parameters into RowItemPaintParams

9 years agomingw: Drop libusb0.dll, always use libusb-1.0.
Uwe Hermann [Sun, 7 Dec 2014 16:50:16 +0000 (17:50 +0100)]
mingw: Drop libusb0.dll, always use libusb-1.0.

9 years agoSignal: Save and load signal names as UTF-8 strings.
Jens Steinhauser [Wed, 26 Nov 2014 17:32:38 +0000 (18:32 +0100)]
Signal: Save and load signal names as UTF-8 strings.

This fixes bug #498.

9 years agoCMakeLists.txt: mingw: Simplify by using Boost_THREADAPI.
Uwe Hermann [Thu, 4 Dec 2014 13:54:24 +0000 (14:54 +0100)]
CMakeLists.txt: mingw: Simplify by using Boost_THREADAPI.

9 years agoconnect: Fix filtering of supported devices.
Aurelien Jacobs [Thu, 4 Dec 2014 00:14:09 +0000 (01:14 +0100)]
connect: Fix filtering of supported devices.

Now that driver options are split from device options, it is not
possible to check the SAMPLERATE option on a driver as it is a device
only option. The SAMPLERATE test still works on some drivers that
didn't have their options split yet, but this won't hold true for long.
The proper way is to check the driver class, which is the only option
you can expect at the driver level for now.

9 years agotest: Add a dummy unit test to fix 'make test'.
Uwe Hermann [Wed, 3 Dec 2014 23:08:09 +0000 (00:08 +0100)]
test: Add a dummy unit test to fix 'make test'.

This should be dropped again when the real unit tests
are working again.

9 years agoView: Make horizontal arrow-key scrolling useful
Soeren Apel [Wed, 3 Dec 2014 09:39:41 +0000 (10:39 +0100)]
View: Make horizontal arrow-key scrolling useful

Currently, the horizontal scroll bar scrolls by a very small amount
of time when the arrow keys on the keyboard are used. This is because
View::horizontalScrollBar's single step size is never set.

In order to make the arrow keys become useful, this patch sets this
step size equal to the major tick width of the ruler. This results
in scrolling by a fair amount of time without losing track of the
context and also preserving the positions of the major ticks on
the ruler when scrolling.

9 years agoRuler: Moved calculate_tick_spacing into View
Joel Holdsworth [Sun, 30 Nov 2014 12:33:18 +0000 (12:33 +0000)]
Ruler: Moved calculate_tick_spacing into View