Changeset View
Changeset View
Standalone View
Standalone View
src/ksaneviewer.h
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 105 | private: | |||
---|---|---|---|---|---|
110 | 110 | | |||
111 | // fromRow is the row to start the iterations from. fromRow can be grater than toRow. | 111 | // fromRow is the row to start the iterations from. fromRow can be grater than toRow. | ||
112 | // rowStart is the x1 coordinate of the row | 112 | // rowStart is the x1 coordinate of the row | ||
113 | // all parameters are corrected to be valid pixel indexes, | 113 | // all parameters are corrected to be valid pixel indexes, | ||
114 | // but start must be < end | 114 | // but start must be < end | ||
115 | int refineRow(int fromRow, int toRow, int rowStart, int rowEnd); | 115 | int refineRow(int fromRow, int toRow, int rowStart, int rowEnd); | ||
116 | int refineColumn(int fromCol, int toCol, int colStart, int colEnd); | 116 | int refineColumn(int fromCol, int toCol, int colStart, int colEnd); | ||
117 | 117 | | |||
118 | QPointF scenePos(QMouseEvent *e) const; | ||||
119 | | ||||
118 | struct Private; | 120 | struct Private; | ||
119 | Private *const d; | 121 | Private *const d; | ||
120 | 122 | | |||
121 | }; | 123 | }; | ||
122 | 124 | | |||
123 | } // NameSpace KSaneIface | 125 | } // NameSpace KSaneIface | ||
124 | 126 | | |||
125 | #endif | 127 | #endif | ||
126 | 128 | |