Debian Codegraph @

src/plot.cpp

raw symbols SCIP
1 /*
2 * Copyright (C) 2016, Mike Walters <[email protected]>
3 *
4 * This file is part of inspectrum.
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #include "plot.h"cxx . . $ `<file>/src/plot.h`/
21
22 Plotcxx . . $ Plot#::Plotcxx . . $ Plot#Plot(22d84a47a7b53cf1).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> src) : sampleSourcecxx . . $ Plot#sampleSource.(src)
23 {
24 sampleSourcecxx . . $ Plot#sampleSource.->cxx . . $ std/__shared_ptr_access#`operator->`(5a2a78a048fb49a8).subscribecxx . . $ AbstractSampleSource#subscribe(9fd1f6ac7dfa1247).(this);
25 }
26
27 Plotcxx . . $ Plot#::~cxx . . $ Plot#`~Plot`(49f6e7a06ebc5aa8).Plotcxx . . $ Plot#()
28 {
29 sampleSourcecxx . . $ Plot#sampleSource.->cxx . . $ std/__shared_ptr_access#`operator->`(5a2a78a048fb49a8).unsubscribecxx . . $ AbstractSampleSource#unsubscribe(9fd1f6ac7dfa1247).(this);
30 }
31
32 void Plotcxx . . $ Plot#::invalidateEventcxx . . $ Plot#invalidateEvent(49f6e7a06ebc5aa8).()
33 {
34
35 }
36
37 bool Plotcxx . . $ Plot#::mouseEventcxx . . $ Plot#mouseEvent(bf65bbe40893342c).(QEventcxx . . $ QEvent#::Typecxx . . $ QEvent#Type# type, QMouseEventcxx . . $ QMouseEvent# *event)
38 {
39 return false;
40 }
41
42 void Plotcxx . . $ Plot#::leaveEventcxx . . $ Plot#leaveEvent(49f6e7a06ebc5aa8).()
43 {
44
45 }
46
47 stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> Plotcxx . . $ Plot#::outputcxx . . $ Plot#output(aad09d7b1d4b04e1).()
48 {
49 return sampleSourcecxx . . $ std/shared_ptr#shared_ptr(c44ffe56f5110b84).;
50 }
51
52 void Plotcxx . . $ Plot#::paintBackcxx . . $ Plot#paintBack(dba2c6533854c69f).(QPaintercxx . . $ QPainter# &painter, QRectcxx . . $ QRect# &rect, range_tcxx . . $ range_t#<size_t> sampleRange)
53 {
54 painter.savecxx . . $ QPainter#save(49f6e7a06ebc5aa8).();
55 QPencxx . . $ QPen# pencxx . . $ QPen#QPen(c1f9b1cc0228302b).(Qtcxx . . $ QBrush#QBrush(1975e3c608654284).::whitecxx . . $ Qt/white., 1, Qtcxx . . $ Qt/::DashLinecxx . . $ Qt/DashLine.);
56 painter.setPencxx . . $ QPainter#setPen(af0a25dfda3214db).(pen);
57 painter.drawLinecxx . . $ QPainter#drawLine(748afa4755bc9595).(rect.leftcxx . . $ QRect#left(455f465bc33b4cdf).(), rect.centercxx . . $ QRect#center(75d69cfbd3c4b2dd).().ycxx . . $ QPoint#y(455f465bc33b4cdf).(), rect.rightcxx . . $ QRect#right(455f465bc33b4cdf).(), rect.centercxx . . $ QRect#center(75d69cfbd3c4b2dd).().ycxx . . $ QPoint#y(455f465bc33b4cdf).());
58 painter.restorecxx . . $ QPainter#restore(49f6e7a06ebc5aa8).();
59 }
60
61 void Plotcxx . . $ Plot#::paintMidcxx . . $ Plot#paintMid(dba2c6533854c69f).(QPaintercxx . . $ QPainter# &painter, QRectcxx . . $ QRect# &rect, range_tcxx . . $ range_t#<size_t> sampleRange)
62 {
63
64 }
65
66 void Plotcxx . . $ Plot#::paintFrontcxx . . $ Plot#paintFront(dba2c6533854c69f).(QPaintercxx . . $ QPainter# &painter, QRectcxx . . $ QRect# &rect, range_tcxx . . $ range_t#<size_t> sampleRange)
67 {
68
69 }