* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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 <http://www.gnu.org/licenses/>.
private:
static const QColor SignalColours[4];
static const QColor GridMajorColor, GridMinorColor;
private:
static const QColor SignalColours[4];
static const QColor GridMajorColor, GridMinorColor;
static const int MaxScaleIndex, MinScaleIndex;
static const int InfoTextMarginRight, InfoTextMarginBottom;
static const int MaxScaleIndex, MinScaleIndex;
static const int InfoTextMarginRight, InfoTextMarginBottom;
- AnalogSignal(pv::Session &session,
- std::shared_ptr<sigrok::Channel> channel,
- std::shared_ptr<pv::data::Analog> data);
+ AnalogSignal(pv::Session &session, shared_ptr<data::SignalBase> base);
/**
* Computes the vertical extents of the contents of this row item.
* @return A pair containing the minimum and maximum y-values.
*/
/**
* Computes the vertical extents of the contents of this row item.
* @return A pair containing the minimum and maximum y-values.
*/
void paint_grid(QPainter &p, int y, int left, int right);
void paint_trace(QPainter &p,
void paint_grid(QPainter &p, int y, int left, int right);
void paint_trace(QPainter &p,
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);
void paint_envelope(QPainter &p,
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);
void paint_envelope(QPainter &p,
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);