Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_counter.cpp


Ignore:
Timestamp:
Mar 19, 2021, 9:15:03 AM (3 years ago)
Author:
stoecker
Message:

update to qwt verion 6.1.1 to fix build with newer Qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_counter.cpp

    r8127 r9383  
    5151
    5252/*!
    53   The counter is initialized with a range is set to [0.0, 1.0] with 
     53  The counter is initialized with a range is set to [0.0, 1.0] with
    5454  0.01 as single step size. The value is invalid.
    5555
     
    8383        layout->addWidget( btn );
    8484
    85         connect( btn, SIGNAL( released() ), SLOT( btnReleased() ) );
    86         connect( btn, SIGNAL( clicked() ), SLOT( btnClicked() ) );
     85        connect( btn, SIGNAL(released()), SLOT(btnReleased()) );
     86        connect( btn, SIGNAL(clicked()), SLOT(btnClicked()) );
    8787
    8888        d_data->buttonDown[i] = btn;
     
    9494    layout->addWidget( d_data->valueEdit );
    9595
    96     connect( d_data->valueEdit, SIGNAL( editingFinished() ),
    97          SLOT( textChanged() ) );
     96    connect( d_data->valueEdit, SIGNAL(editingFinished()), SLOT(textChanged()) );
    9897
    9998    layout->setStretchFactor( d_data->valueEdit, 10 );
     
    107106        layout->addWidget( btn );
    108107
    109         connect( btn, SIGNAL( released() ), SLOT( btnReleased() ) );
    110         connect( btn, SIGNAL( clicked() ), SLOT( btnClicked() ) );
     108        connect( btn, SIGNAL(released()), SLOT(btnReleased()) );
     109        connect( btn, SIGNAL(clicked()), SLOT(btnClicked()) );
    111110
    112111        d_data->buttonUp[i] = btn;
     
    131130}
    132131
    133 /*! 
     132/*!
    134133  Set the counter to be in valid/invalid state
    135134
     
    137136  the buttons are disabled.
    138137
    139   \param on If true the counter will be set as valid 
     138  \param on If true the counter will be set as valid
    140139
    141140  \sa setValue(), isValid()
     
    156155        else
    157156        {
    158             d_data->valueEdit->setText( QString::null );
    159         }
    160     }   
    161 }   
    162 
    163 /*! 
     157            d_data->valueEdit->setText( QString() );
     158        }
     159    }
     160}
     161
     162/*!
    164163  \return True, if the value is valid
    165164  \sa setValid(), setValue()
     
    168167{
    169168    return d_data->isValid;
    170 }   
     169}
    171170
    172171/*!
     
    181180}
    182181
    183 /*! 
     182/*!
    184183   \return True, when the line line edit is read only. (default is no)
    185184  \sa setReadOnly()
     
    335334  \brief En/Disable wrapping
    336335
    337   If wrapping is true stepping up from maximum() value will take 
    338   you to the minimum() value and vice versa. 
     336  If wrapping is true stepping up from maximum() value will take
     337  you to the minimum() value and vice versa.
    339338
    340339  \param on En/Disable wrapping
Note: See TracChangeset for help on using the changeset viewer.