-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Move plot code into a separate set of files #925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -356,7 +356,7 @@ | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>473</width> | |||
<width>607</width> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think it's related.
@@ -866,7 +866,7 @@ | |||
</widget> | |||
<widget class="QMenu" name="menuRemote"> | |||
<property name="title"> | |||
<string>Remote</string> | |||
<string>Re&mote</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, will look into those tomorrow or so! By the way, does anyone know how to prevent Qt Creator from adding keyboard shortcuts like these automatically?
@@ -1966,7 +1712,7 @@ | |||
</action> | |||
<action name="fileExportJsonAction"> | |||
<property name="text"> | |||
<string>Table(s) to JSON...</string> | |||
<string>Table(&s) to JSON...</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
@@ -1977,12 +1723,12 @@ | |||
</action> | |||
<action name="actionOpen_Remote"> | |||
<property name="text"> | |||
<string>Open from Remote</string> | |||
<string>&Open from Remote</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
</property> | ||
</action> | ||
<action name="actionSave_Remote"> | ||
<property name="text"> | ||
<string>Save to Remote</string> | ||
<string>&Save to Remote</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
Not me. If we need to, we could ask on the Qt IRC channel. |
0e68015
to
fbb3228
Compare
This cleans up the main window class a bit which was getting quite large and a bit harder to maintain than necessary. This commit also includes two minor fixes to the plot system: - The plot widgets are now disabled when no database file is opened. - The progress bar shown when fetching all data is now initialised with the correct row numbers. Other than that this commit should in theory not change any functionality.
fbb3228
to
a6f2a7d
Compare
Just updated the PR as requested 😃 Has anybody done some testing yet to check if it breaks some plotting functionality? |
@MKleusberg never touched plots, sorry. @revolter @chrisjlocke are you up for some testing? |
Initial thoughts:
The above issues (apart from the widget not being disabled) are nothing much to do with this actual pull request, so can be ignored if required... ;) |
Thanks for the tests, @chrisjlocke! :D I'll open a new issue for these problems, so they won't get lost. |
This cleans up the main window class a bit which was getting quite large
and a bit harder to maintain than necessary.
This commit also includes two minor fixes to the plot system:
the correct row numbers.
Other than that this commit should in theory not change any
functionality.
I'm opening a PR for this, so hopefully some of you will test this before merging. In theory everything should behave just as before but I wouldn't want to count on it just yet 😃 Please let me know if you find any problems with this.