Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hugo Hörnquist
Stupan
Commits
b86fbb25
Commit
b86fbb25
authored
Apr 13, 2018
by
Hugo Hörnquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cleanup on money account list
parent
df2dd777
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
admin/mainwindow.cpp
admin/mainwindow.cpp
+2
-0
admin/mainwindow.ui
admin/mainwindow.ui
+3
-0
No files found.
admin/mainwindow.cpp
View file @
b86fbb25
...
...
@@ -318,7 +318,9 @@ MainWindow::MainWindow(QWidget *parent) :
accModel
->
select
();
accModel
->
setHeaderData
(
0
,
Qt
::
Horizontal
,
"Namn"
);
accModel
->
setHeaderData
(
1
,
Qt
::
Horizontal
,
"Kronor"
);
// Don't actualy try to submit on this table
accModel
->
setEditStrategy
(
QSqlTableModel
::
OnManualSubmit
);
ui
->
accTreeView
->
header
()
->
setSectionResizeMode
(
QHeaderView
::
ResizeToContents
);
setMoneyAccountValues
();
...
...
admin/mainwindow.ui
View file @
b86fbb25
...
...
@@ -778,6 +778,9 @@
<property
name=
"editTriggers"
>
<set>
QAbstractItemView::NoEditTriggers
</set>
</property>
<property
name=
"alternatingRowColors"
>
<bool>
true
</bool>
</property>
<property
name=
"rootIsDecorated"
>
<bool>
false
</bool>
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment