ProjectFlask/RunServerDialog.py

branch
eric7
changeset 75
7a30d96ea9f6
parent 72
4557829a4acf
child 82
bb14c648099b
equal deleted inserted replaced
74:5dacf5caf3a3 75:7a30d96ea9f6
7 Module implementing a dialog to run the Flask server. 7 Module implementing a dialog to run the Flask server.
8 """ 8 """
9 9
10 import re 10 import re
11 11
12 from PyQt6.QtCore import pyqtSlot, Qt, QProcess, QTimer 12 from PyQt6.QtCore import QProcess, Qt, QTimer, pyqtSlot
13 from PyQt6.QtGui import QTextCharFormat 13 from PyQt6.QtGui import QTextCharFormat
14 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QMenu 14 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QMenu
15 15
16 try: 16 try:
17 from eric7.EricGui import EricPixmapCache 17 from eric7.EricGui import EricPixmapCache
18 except ImportError: 18 except ImportError:
19 from UI import PixmapCache as EricPixmapCache 19 from UI import PixmapCache as EricPixmapCache
20
20 from eric7.EricWidgets import EricMessageBox 21 from eric7.EricWidgets import EricMessageBox
21 from eric7.EricWidgets.EricApplication import ericApp 22 from eric7.EricWidgets.EricApplication import ericApp
22 23
23 from .Ui_RunServerDialog import Ui_RunServerDialog
24
25 from . import AnsiTools 24 from . import AnsiTools
26 from .ServerStartOptionsDialog import ServerStartOptionsDialog 25 from .ServerStartOptionsDialog import ServerStartOptionsDialog
26 from .Ui_RunServerDialog import Ui_RunServerDialog
27 27
28 28
29 # TODO: should this be placed into the sidebar as a sidebar widget? 29 # TODO: should this be placed into the sidebar as a sidebar widget?
30 class RunServerDialog(QDialog, Ui_RunServerDialog): 30 class RunServerDialog(QDialog, Ui_RunServerDialog):
31 """ 31 """

eric ide

mercurial