Cleaned up the source files in the gui folder a bit.
This commit is contained in:
16 files changed
+22
-18
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -17,11 +17,13 @@ from time import time
|
|||||||
|
|
||||||
from PyQt5.QtCore import Qt, QTimer, QSizeF
|
from PyQt5.QtCore import Qt, QTimer, QSizeF
|
||||||
from PyQt5.QtWidgets import qApp, QTextEdit, QAction, QMenu, QShortcut
|
from PyQt5.QtWidgets import qApp, QTextEdit, QAction, QMenu, QShortcut
|
||||||
from PyQt5.QtGui import QTextCursor, QTextOption, QIcon, QKeySequence, QFont, QColor, QPalette, QTextDocument
|
from PyQt5.QtGui import (
|
||||||
|
QTextCursor, QTextOption, QIcon, QKeySequence, QFont, QColor, QPalette, QTextDocument
|
||||||
|
)
|
||||||
|
|
||||||
from nw.project.document import NWDoc
|
from nw.project.document import NWDoc
|
||||||
from nw.gui.dochighlight import GuiDocHighlighter
|
from nw.gui.tools.dochighlight import GuiDocHighlighter
|
||||||
from nw.gui.wordcounter import WordCounter
|
from nw.gui.tools.wordcounter import WordCounter
|
||||||
from nw.tools.spellcheck import NWSpellCheck
|
from nw.tools.spellcheck import NWSpellCheck
|
||||||
from nw.constants import nwFiles, nwUnicode
|
from nw.constants import nwFiles, nwUnicode
|
||||||
from nw.enum import nwDocAction, nwAlert
|
from nw.enum import nwDocAction, nwAlert
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+12
-11
@@ -15,6 +15,7 @@ import time
|
|||||||
import nw
|
import nw
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
|
|
||||||
from PyQt5.QtCore import Qt, QTimer
|
from PyQt5.QtCore import Qt, QTimer
|
||||||
from PyQt5.QtGui import QIcon, QPixmap, QColor
|
from PyQt5.QtGui import QIcon, QPixmap, QColor
|
||||||
from PyQt5.QtWidgets import (
|
from PyQt5.QtWidgets import (
|
||||||
@@ -22,19 +23,19 @@ from PyQt5.QtWidgets import (
|
|||||||
QShortcut, QMessageBox, QProgressDialog, QDialog
|
QShortcut, QMessageBox, QProgressDialog, QDialog
|
||||||
)
|
)
|
||||||
|
|
||||||
from nw.gui.doctree import GuiDocTree
|
|
||||||
from nw.gui.doceditor import GuiDocEditor
|
|
||||||
from nw.gui.docviewer import GuiDocViewer
|
|
||||||
from nw.gui.docdetails import GuiDocDetails
|
|
||||||
from nw.gui.searchbar import GuiSearchBar
|
|
||||||
from nw.gui.mainmenu import GuiMainMenu
|
from nw.gui.mainmenu import GuiMainMenu
|
||||||
from nw.gui.configeditor import GuiConfigEditor
|
|
||||||
from nw.gui.projecteditor import GuiProjectEditor
|
|
||||||
from nw.gui.export import GuiExport
|
|
||||||
from nw.gui.itemeditor import GuiItemEditor
|
|
||||||
from nw.gui.statusbar import GuiMainStatus
|
from nw.gui.statusbar import GuiMainStatus
|
||||||
from nw.gui.timelineview import GuiTimeLineView
|
from nw.gui.elements.doctree import GuiDocTree
|
||||||
from nw.gui.sessionlog import GuiSessionLogView
|
from nw.gui.elements.doceditor import GuiDocEditor
|
||||||
|
from nw.gui.elements.docviewer import GuiDocViewer
|
||||||
|
from nw.gui.elements.docdetails import GuiDocDetails
|
||||||
|
from nw.gui.elements.searchbar import GuiSearchBar
|
||||||
|
from nw.gui.dialogs.configeditor import GuiConfigEditor
|
||||||
|
from nw.gui.dialogs.projecteditor import GuiProjectEditor
|
||||||
|
from nw.gui.dialogs.export import GuiExport
|
||||||
|
from nw.gui.dialogs.itemeditor import GuiItemEditor
|
||||||
|
from nw.gui.dialogs.timelineview import GuiTimeLineView
|
||||||
|
from nw.gui.dialogs.sessionlog import GuiSessionLogView
|
||||||
from nw.project.project import NWProject
|
from nw.project.project import NWProject
|
||||||
from nw.project.document import NWDoc
|
from nw.project.document import NWDoc
|
||||||
from nw.project.item import NWItem
|
from nw.project.item import NWItem
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<novelWriterXML appVersion="0.3.2" fileVersion="1.0" timeStamp="2019-10-31 13:36:33">
|
<novelWriterXML appVersion="0.3.2" fileVersion="1.0" timeStamp="2019-10-31 13:54:16">
|
||||||
<project>
|
<project>
|
||||||
<name>Sample Project</name>
|
<name>Sample Project</name>
|
||||||
<title>Sample Project</title>
|
<title>Sample Project</title>
|
||||||
|
|||||||
+4
-3
@@ -8,9 +8,10 @@ from nwtools import *
|
|||||||
from os import path, unlink
|
from os import path, unlink
|
||||||
from PyQt5.QtCore import Qt
|
from PyQt5.QtCore import Qt
|
||||||
|
|
||||||
from nw.gui.projecteditor import GuiProjectEditor
|
from nw.gui.dialogs.projecteditor import GuiProjectEditor
|
||||||
from nw.gui.timelineview import GuiTimeLineView
|
from nw.gui.dialogs.timelineview import GuiTimeLineView
|
||||||
from nw.gui.itemeditor import GuiItemEditor
|
from nw.gui.dialogs.itemeditor import GuiItemEditor
|
||||||
|
|
||||||
from nw.enum import *
|
from nw.enum import *
|
||||||
|
|
||||||
keyDelay = 10
|
keyDelay = 10
|
||||||
|
|||||||
Reference in new issue
Block a user