Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/KOMETA/qtSimpleGraph/commit/d42f303afed912aa71aa0a1003e0754aa4fdda3f?style=unified&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

Исправление сетки координат, скриншоты

main
Артём Проскурнёв 4 years ago
parent a2dd5b77c4
commit d42f303afe
  1. 2
      qtsgraph.cpp
  2. BIN
      screenshots/coord-swap-yex.png
  3. BIN
      screenshots/wincoordex.png

@ -305,7 +305,7 @@ void QTSGraph::paintEvent(QPaintEvent *event)
p.drawText(2, Canvas.height() / 4 - 2, QString::number(mult * Canvas.height() / 4));
p.drawLine(3 * Canvas.width() / 4, 0, 3 * Canvas.width() / 4, Canvas.height() - 1);
p.drawLine(0, 3 * Canvas.height() / 4 - 1, Canvas.width() - 1, 3 * Canvas.height() / 4 - correctY);
p.drawLine(0, 3 * Canvas.height() / 4 - correctY, Canvas.width() - 1, 3 * Canvas.height() / 4 - correctY);
p.drawText(3 * Canvas.width() / 4 + 2, 12, QString::number(3 * Canvas.width() / 4));
mult = correctY ? 1 : 3;
p.drawText(2, 3 * Canvas.height() / 4 - 2, QString::number(mult * Canvas.height() / 4));

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Loading…
Cancel
Save