Subject | Hash | Author | Date (UTC) |
---|---|---|---|
qt_gui: prepare qt_box_functions module | c500fcd20e7b296262a0566d04aabb7bd1ae9cfa | Aleksei Gerasimov | 2021-10-25 15:39:56 |
shapeshare: keep empty file to reserve the name | b11f17e13dafc3d58db5ad9f101c0126e0bfd871 | Aleksei Gerasimov | 2021-10-21 14:48:03 |
delete sball_old :( | 792d9d83fde0f38e7396162788ec8aa922b0fd0c | Aleksei Gerasimov | 2021-10-21 14:47:06 |
whitebox: add Z_sum, Z_prod, small clean up | faec934bb03c20906c9091fc196cc0daf824b54f | Aleksei Gerasimov | 2021-10-21 13:48:07 |
g_models: add neverfall, add sign parameter to Z_prod | 129abf19da15a5dfcb5a02614d92a233f914d146 | Aleksei Gerasimov | 2021-10-21 13:45:47 |
mplot: add one more qhull plot | 32e7003aac4887bd83bfff640093f755b4f6cffe | I am | 2021-09-14 11:42:56 |
mplot: add ESREL-related figures | cba805ba8e7f3c2337027eec6e760aa9234dfdc2 | I am | 2021-09-12 10:17:21 |
mplot.mart: allow set up fill keyword | cf94410513091b5f96e0e17e8de2f7a3feee1a03 | I am | 2021-09-12 10:15:55 |
mplot: add qhull&density figure | a36fb606e9f425742925aa4953c0ae07d6b51409 | I am | 2021-09-10 15:17:58 |
qt_plot: send sliced sample box to matplotlib | fda486b90c56e77bc88b38d0d94d08a751277cfb | I am | 2021-09-10 15:01:55 |
mplot: include Axes3d patch | 8f5dc7f04b6c804b5ec169ec7b744a8618b3bb69 | I am | 2021-09-10 11:05:20 |
rework mplot module considerably | 5343602c63032f6f7fd06701b0883eaabb4fc6c1 | I am | 2021-09-09 13:24:45 |
convex_hull: reduce max R to that not overflows everything everytime | 2108df698e4d45bfae9d9882d4b4cc62340b03cc | Aleksei Gerasimov | 2021-07-21 13:56:41 |
sball: make Sball a little bit more scipy.stats-compatible | 9414aceedf826e7fc6e35c722b2eecee81dead1e | Aleksei Gerasimov | 2021-07-21 13:40:28 |
convex_hull: fire() function has been reworked. shot() function is introduced | 4e6b7546f163a9a32fdb4bf5790f416300b2c1ec | Aleksei Gerasimov | 2021-07-21 13:11:52 |
ghull: 1DS integration scheme has been implemented. convex_hull has been divided into convex_hull itself and separated ghull module. | 29b21b4fc1396384bf8c9bb21b91f82005850574 | Aleksei Gerasimov | 2021-07-20 13:26:47 |
IS_stat: add 1D IS-like helpful sampling function | 58416707171522e8129333e8bd93f512c7578879 | Aleksei Gerasimov | 2021-07-20 11:06:27 |
convex_hull: orth estimation is ready. Uses QR decomposition. | 75f20d8771021b037c360df9c7207b8f46f65d91 | Aleksei Gerasimov | 2021-07-20 08:25:20 |
convex_hull: 2FORM za mně je Ready. Orth potřebuje Gram-Schmidtovou ortogonalizaci. Oboje jsou otestovany ve 2D. There is some weirdness with candidates inherited from WIP recent commit. It need to be fixed. | ffae78d5a15884476760b8ab759963d7ef8ff5fc | Aleksei Gerasimov | 2021-07-19 14:48:34 |
convex_hull: 2FORM estimation WIP | a0f04ef282d6dacbda52c9734f36f9e7ec9b46da | I am | 2021-07-19 06:14:54 |
File | Lines added | Lines deleted |
---|---|---|
qt_gui/qt_box_functions.py | 43 | 0 |
File qt_gui/qt_box_functions.py added (mode: 100644) (index 0000000..c0452d6) | |||
1 | #!/usr/bin/env python | ||
2 | # coding: utf-8 | ||
3 | |||
4 | import sys | ||
5 | import pyqtgraph as pg | ||
6 | from pyqtgraph.Qt import QtGui, QtCore | ||
7 | |||
8 | |||
9 | app = pg.mkQApp() | ||
10 | |||
11 | csv_filter = "CSV files (*.csv)" | ||
12 | |||
13 | #print(pg.FileDialog.Options.Union.__dict__) | ||
14 | filename, __filter = pg.FileDialog.getSaveFileName( | ||
15 | parent=None, | ||
16 | caption="open/store", | ||
17 | directory="", | ||
18 | filter=csv_filter + ";;All files(*)", | ||
19 | initialFilter=csv_filter, | ||
20 | options=pg.FileDialog.Option.DontConfirmOverwrite | ||
21 | ) | ||
22 | |||
23 | print(filename) | ||
24 | |||
25 | def export_to_excel(self): | ||
26 | #č já bych nechtěl, aby mně export najednou spadl | ||
27 | #č z jakéhokoliv důvodu | ||
28 | try: | ||
29 | proposal_filename = self.dice_box.guessbox.filename | ||
30 | if proposal_filename: | ||
31 | proposal_filename += '.xlsx' | ||
32 | else: | ||
33 | proposal_filename = self.dice_box.gm_signature + '.xlsx' | ||
34 | filename, *__ = pg.FileDialog.getSaveFileName(self.stream, 'Export to Excel',\ | ||
35 | proposal_filename, initialFilter='*.xlsx') | ||
36 | |||
37 | |||
38 | |||
39 | self.df.to_excel(filename) | ||
40 | except BaseException as e: | ||
41 | print(self.__class__.__name__ + ":", repr(e)) | ||
42 | |||
43 |