Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use PyQt5 for GUI #105

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Optional, Union

import pydot
from python_qt_binding.QtGui import QStandardItem, QStandardItemModel
from PyQt5.QtGui import QStandardItem, QStandardItemModel
from rclpy.node import Node
from rclpy.qos import DurabilityPolicy, QoSProfile
from std_msgs.msg import String
Expand Down Expand Up @@ -254,9 +254,6 @@ def _append_debug_data_to_item(
):
"""
Appends debug_data of a given element and its children to a QStandardItem.

:type parent_item: python_qt_binding.QtGui.QStandardItem
:type debug_data: dict or list or int or float or str or bool
"""
if isinstance(debug_data, list):
for i, data in enumerate(debug_data):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@

import pydot
from ament_index_python import get_package_share_directory
from python_qt_binding import loadUi
from python_qt_binding.QtCore import Qt
from python_qt_binding.QtGui import QIcon, QPainter, QStandardItemModel
from python_qt_binding.QtSvg import QSvgGenerator
from python_qt_binding.QtWidgets import QFileDialog, QGraphicsScene, QWidget
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon, QPainter, QStandardItemModel
from PyQt5.QtSvg import QSvgGenerator
from PyQt5.QtWidgets import QFileDialog, QGraphicsScene, QWidget
from PyQt5.uic import loadUi
from qt_dotgraph.dot_to_qt import DotToQtGenerator
from qt_dotgraph.pydotfactory import PydotFactory
from rclpy.node import Node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
# POSSIBILITY OF SUCH DAMAGE.


from python_qt_binding.QtCore import QPointF, QRectF, Qt
from python_qt_binding.QtGui import QTransform
from python_qt_binding.QtWidgets import QGraphicsView
from PyQt5.QtCore import QPointF, QRectF, Qt
from PyQt5.QtGui import QTransform
from PyQt5.QtWidgets import QGraphicsView


# ruff: noqa: N802
Expand Down
9 changes: 4 additions & 5 deletions dynamic_stack_decider_visualization/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@

<license>MIT</license>

<exec_depend version_gte="0.2.19">python_qt_binding</exec_depend>
<exec_depend>python_qt_binding</exec_depend>
<exec_depend>dynamic_stack_decider</exec_depend>
<exec_depend>python3-pyqt5</exec_depend>
<exec_depend>qt_dotgraph</exec_depend>
<exec_depend>rosgraph_msgs</exec_depend>
<exec_depend>rclpy</exec_depend>
<exec_depend>rqt_gui</exec_depend>
<exec_depend>rosgraph_msgs</exec_depend>
<exec_depend>rqt_gui_py</exec_depend>
<exec_depend>dynamic_stack_decider</exec_depend>
<exec_depend>rqt_gui</exec_depend>

<depend>python3-pydot</depend>

Expand Down
Loading