X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fstandardbar.hpp;h=7a76a639289aebf70c4a15a8b8bdb49485a52c11;hp=e41beebc79448d41ccfed7927b33ee5c2e5214fc;hb=c063290ac7189bdd15221450f598504f43286b43;hpb=e0ba4f6fb263b4cc1dae96df2a0ff1e1ef8984ce diff --git a/pv/views/trace/standardbar.hpp b/pv/views/trace/standardbar.hpp index e41beebc..7a76a639 100644 --- a/pv/views/trace/standardbar.hpp +++ b/pv/views/trace/standardbar.hpp @@ -15,14 +15,13 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP #define PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP -#include +#include #include #include @@ -49,9 +48,9 @@ class StandardBar : public QToolBar public: StandardBar(Session &session, QWidget *parent, - TraceView::View *view, bool add_default_widgets=true); + TraceView::View *view, bool add_default_widgets = true); - Session &session(void) const; + Session &session() const; QAction* action_view_zoom_in() const; QAction* action_view_zoom_out() const; @@ -76,7 +75,7 @@ protected Q_SLOTS: void on_actionViewZoomOut_triggered(); - void on_actionViewZoomFit_triggered(); + void on_actionViewZoomFit_triggered(bool checked); void on_actionViewZoomOneToOne_triggered();