~tigefa/retext/retext

« back to all changes in this revision

Viewing changes to ReText/config.py

  • Committer: Dmitry Shachnev
  • Date: 2014-05-03 11:51:15 UTC
  • Revision ID: git-v1:ace0e1991b43c97a9879361bca0b371020f46b82
Drop Qt 4.x support

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from ReText import QtCore, QtGui, QtWidgets, globalSettings
 
1
from ReText import globalSettings
2
2
from markups.common import CONFIGURATION_DIR
3
3
from os.path import join
4
4
 
5
 
Qt = QtCore.Qt
6
 
QIcon = QtGui.QIcon
7
 
(QCheckBox, QDialog, QDialogButtonBox, QGridLayout, QLabel, QLineEdit, QSpinBox) = (
8
 
 QtWidgets.QCheckBox, QtWidgets.QDialog, QtWidgets.QDialogButtonBox,
9
 
 QtWidgets.QGridLayout, QtWidgets.QLabel, QtWidgets.QLineEdit, QtWidgets.QSpinBox)
 
5
from PyQt5.QtCore import Qt
 
6
from PyQt5.QtGui import QIcon
 
7
from PyQt5.QtWidgets import QCheckBox, QDialog, QDialogButtonBox, \
 
8
 QGridLayout, QLabel, QLineEdit, QSpinBox
 
9
 
10
10
MKD_EXTS_FILE = join(CONFIGURATION_DIR, 'markdown-extensions.txt')
11
11
 
12
12
class ConfigDialog(QDialog):