pv: adjust application source code for Qt6 support Prepare application source code (C++ programming language files) for Qt6 compatibility. Implement alternative code paths where the API has changed compared to Qt5. This unbreaks Mac OSX 12 builds with homebrew. This change is based on work that was submitted by Dominik Sliwa <redacted>.
Rework channel selection popup Change the channel selection popup to make select-multiple more intuitive. * Show select all/none buttons per group * Show select all/none buttons per row of 8 channels https://github.com/sigrokproject/pulseview/pull/18
Channels: Break up logic and analog channels into separate grids This way, a named analog channel (e.g. "SDA analog") won't visually disturb the alignment of the logic channels if there are only ungrouped channels. To see this change in effect, you may compare using sainsmart_dds120_powerup_scl_analog.sr
Channels: Don't use flat buttons and add vertical spacer With the buttons being flat, users may not recognize the labels as buttons intuitively. Hence, make the buttons explicitly appear as such. To make the dialog more aesthetically pleasing, we add some vertical space between the check boxes and the buttons.
fix catching polymorphic types by value Compiling with GCC 8 produces a new warning about catching polymorphic types by value. Proper way is to use references instead. /home/sharkcz/projects/pulseview/main.cpp: In function ‘int main(int, char**)’: /home/sharkcz/projects/pulseview/main.cpp:229:22: error: catching polymorphic type ‘class std::exception’ by value [-Werror=catch-value=] } catch (exception e) { ^ cc1plus: all warnings being treated as errors
Consistenty use auto-generated namespace comments. This patch was generated using clang-tidy: clang-tidy -checks="-*,google-readability-namespace-comments" -fix Switch to the format used by clang-tidy to allow easy, automatic, tool-based maintenance / checking of the comments. This also found a few instances of comments that were out of sync.