Trying an editable table
This commit is contained in:
@@ -314,7 +314,9 @@ class GuiProjectEditReplace(QWidget):
|
||||
self.mainModel = QStandardItemModel()
|
||||
self.mainTable.setModel(self.mainModel)
|
||||
self.mainTable.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch)
|
||||
self.mainTable.setEditTriggers(QAbstractItemView.DoubleClicked)
|
||||
self.mainTable.setEditTriggers(
|
||||
QAbstractItemView.DoubleClicked | QAbstractItemView.SelectedClicked | QAbstractItemView.AnyKeyPressed
|
||||
)
|
||||
|
||||
self.mainModel.setHorizontalHeaderLabels(["Keyword","Value"])
|
||||
self.mainModel.setRowCount(3)
|
||||
|
||||
@@ -153,3 +153,21 @@ Start: 2019-05-31 19:58:24 End: 2019-05-31 19:59:04 Words: 0
|
||||
Start: 2019-05-31 20:11:22 End: 2019-05-31 20:11:56 Words: 0
|
||||
Start: 2019-05-31 20:23:06 End: 2019-05-31 20:23:18 Words: 0
|
||||
Start: 2019-05-31 20:23:56 End: 2019-05-31 20:27:02 Words: 7
|
||||
Start: 2019-06-03 21:19:48 End: 2019-06-03 21:20:32 Words: 0
|
||||
Start: 2019-06-04 20:40:13 End: 2019-06-04 21:06:44 Words: 0
|
||||
Start: 2019-06-04 21:24:03 End: 2019-06-04 21:24:38 Words: 0
|
||||
Start: 2019-06-04 21:24:42 End: 2019-06-04 21:25:04 Words: 0
|
||||
Start: 2019-06-04 21:25:09 End: 2019-06-04 21:25:18 Words: 0
|
||||
Start: 2019-06-04 21:25:31 End: 2019-06-04 21:25:36 Words: 0
|
||||
Start: 2019-06-04 21:25:44 End: 2019-06-04 21:26:07 Words: 0
|
||||
Start: 2019-06-04 21:55:47 End: 2019-06-04 21:59:57 Words: 0
|
||||
Start: 2019-06-04 22:00:21 End: 2019-06-04 22:00:29 Words: 0
|
||||
Start: 2019-06-04 22:00:54 End: 2019-06-04 22:01:03 Words: 0
|
||||
Start: 2019-06-04 22:01:21 End: 2019-06-04 22:01:36 Words: 0
|
||||
Start: 2019-06-04 22:02:48 End: 2019-06-04 22:02:55 Words: 0
|
||||
Start: 2019-06-04 22:08:26 End: 2019-06-04 22:08:33 Words: 0
|
||||
Start: 2019-06-04 23:00:20 End: 2019-06-04 23:00:35 Words: 0
|
||||
Start: 2019-06-04 23:01:25 End: 2019-06-04 23:02:29 Words: 0
|
||||
Start: 2019-06-04 23:09:01 End: 2019-06-04 23:10:26 Words: 0
|
||||
Start: 2019-06-04 23:12:15 End: 2019-06-04 23:16:42 Words: 0
|
||||
Start: 2019-06-04 23:18:50 End: 2019-06-04 23:19:16 Words: 0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<novelWriterXML appVersion="0.1.4" fileVersion="1.0" timeStamp="2019-05-31 20:26:54">
|
||||
<novelWriterXML appVersion="0.1.4" fileVersion="1.0" timeStamp="2019-06-04 23:19:16">
|
||||
<project>
|
||||
<name>Sample Project</name>
|
||||
<title>Sample Project</title>
|
||||
@@ -8,7 +8,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<spellCheck>True</spellCheck>
|
||||
<lastEdited>bc0cbd2a407f3</lastEdited>
|
||||
<lastEdited>636b6aa9b697b</lastEdited>
|
||||
<lastViewed>None</lastViewed>
|
||||
<lastWordCount>565</lastWordCount>
|
||||
<status>
|
||||
@@ -76,7 +76,7 @@
|
||||
<charCount>656</charCount>
|
||||
<wordCount>121</wordCount>
|
||||
<paraCount>5</paraCount>
|
||||
<cursorPos>77</cursorPos>
|
||||
<cursorPos>442</cursorPos>
|
||||
</item>
|
||||
<item handle="bc0cbd2a407f3" order="2" parent="e7ded148d6e4a">
|
||||
<name>New File</name>
|
||||
|
||||
Reference in New Issue
Block a user