File tree Expand file tree Collapse file tree 6 files changed +16
-5
lines changed Expand file tree Collapse file tree 6 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1
1
from PyQt4 import QtGui
2
2
from PyQt4 .QtCore import *
3
3
from PyQt4 .QtGui import *
4
+
4
5
import sys
5
- import gui
6
6
7
- from library import text_handler
7
+
8
+ from .gui import gui
9
+ from .library import text_handler
8
10
9
11
10
12
class NoteExtractor (QtGui .QMainWindow , gui .Ui_MainWindow ):
11
13
def __init__ (self , parent = None ):
12
14
super (NoteExtractor , self ).__init__ (parent )
13
15
self .setupUi (self )
14
- self .button_output .clicked .connect (self .output_function )
16
+ self .button_output . clicked .connect (self .output_function )
15
17
self .button_markdown_output .clicked .connect (
16
18
self .output_markdown_function )
17
19
@@ -23,10 +25,10 @@ def output_markdown_function(self):
23
25
content = self .getcontents ()
24
26
self .setcontents (text_handler .process_content (content , True ))
25
27
26
- def getcontents (self )-> str :
28
+ def getcontents (self ) -> str :
27
29
return self .textEdit_input .toPlainText ()
28
30
29
- def setcontents (self , value : str )-> None :
31
+ def setcontents (self , value : str ) -> None :
30
32
self .textedit_output .setText (value )
31
33
32
34
Original file line number Diff line number Diff line change
1
+ from . import gui
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ from . import text_handler
Original file line number Diff line number Diff line change
1
+ # Note Point Extractor
2
+
3
+ ## Running
4
+
5
+ ```
6
+ python3 -m note_point_extractor
7
+ ```
You can’t perform that action at this time.
0 commit comments