Commit Graph

160 Commits

Author SHA1 Message Date
Garux 60e3e48dd0 Revert "fix build in ubuntu via using deprecated Qt function"
This reverts commit c618ce39af.
2024-02-04 09:53:31 +06:00
Garux 70c63edd21 fix obscure linux locale override issue (sunplug writing ? in place of -) 2024-02-02 01:28:07 +06:00
Garux df02774ff5 tweak StringOutputStream use
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux 9a13f9ed55 simplify build code 2024-01-24 17:09:04 +06:00
Garux dea7800d3c bobToolz: load all group entities, was hardcoded list of them
fix crash in DEntity::SelectBrushes after DEntity::LoadSelectedBrushes (which may load brushes from other entities)
generalize loading options; fix ignored loadPatches option; use only visible brushes in Find Duplicates
2023-09-04 06:38:59 +06:00
Garux bf4db60613 bobToolz: remove brush ID, store brushes & patches in vector 2023-09-01 17:06:03 +06:00
Garux 7bd11485d0 * bobToolz: new Find Duplicates function: finds & selects duplicate brushes in entire map 2023-08-30 21:16:21 +06:00
Garux 22f017283b change browse file/directory icon from SP_FileDialogStart to semantically correct SP_DialogOpenButton 2023-08-21 15:41:07 +06:00
Garux 5e0d1b789d fix ET sunplug writing spinbox content with prefix 2023-07-06 16:53:36 +06:00
Garux 7396eef067 * fix QComboBox popup leaking shortcuts 2023-07-03 12:26:20 +06:00
Garux f7b9e7e482 fix nonmodal dialogs going behind main window in linux
notes:
was okay in windows
wnd position is not preserved on hiding via Close event now, requires extra handling, as in class RotateDialog or g_guiSettings (no much critical cases exist)
min max buttons aren't shown (when requested) in Ubuntu, shown in Windows; were shown for Qt::Window flag
2022-10-31 15:16:53 +03:00
Garux 9bbb84ea5a fix some clang warnings & errors 2022-10-29 01:07:30 +03:00
Garux b23d84ad6c fix prtview init crash in linux (for unknown reason, PRTVIEW_PATH_MAX was 4096) 2022-10-28 16:55:08 +03:00
Garux c618ce39af fix build in ubuntu via using deprecated Qt function 2022-10-27 09:51:52 +03:00
Garux 9d3d204018 Qt 2022-10-27 09:10:31 +03:00
Garux f366f6cc6e double precision plane points in _QERFaceData 2021-11-23 15:11:43 +03:00
Garux 6c129e546f store winding points in double precision 2021-11-23 14:48:00 +03:00
Garux 522f6f907e rename cmdlib and imagelib to fix name clashes 2021-10-31 14:13:02 +03:00
Garux b0b997e493 manage stl includes 2021-10-31 12:38:53 +03:00
Garux 0c390241c8 fix formatting 2021-10-26 18:16:24 +03:00
Garux bf6389fc26 use #pragma once 2021-10-22 02:19:50 +03:00
Garux 3362f29500 * bobToolz.mergePatch: bruteforce merge all selected patches; keep unaffected patches selected 2021-10-21 22:39:35 +03:00
Garux 03d3dfccad add feedback from bobToolz::patch operations fails 2021-10-21 19:55:37 +03:00
Garux 45c3c4c012 bump prtview reading buffer size 2021-07-22 16:57:37 +03:00
Garux d1c3c838c8 bump bobtoolz::polygon builder::max number of sides 2021-07-11 16:31:55 +03:00
Garux 6c00419653 fix spelling 2021-05-24 20:23:09 +03:00
Garux da98f5f9d9 add and use Entity::getClassName(), Entity::hasKeyValue()
do not return default value from getKeyValue()
2021-05-16 10:13:42 +03:00
Garux 2222100316 indent classes, align by spaces 2021-03-24 00:25:15 +03:00
Garux e62c6f4bb3 fix warnings 2021-01-03 06:24:58 +03:00
Garux 9ec94f25aa fix [-Wignored-qualifiers] 2021-01-01 18:31:20 +03:00
Garux ba1a1b64f6 fix [-Wstringop-truncation] 2021-01-01 18:20:07 +03:00
Garux 9ef4e57518 fix infinite loop in bobtoolz modal dialog after "enter illegal data;ok;get msg box;ok;close dialog window;get msg box" 2020-06-06 12:18:28 +03:00
Garux 35309c8c6c fix Gdk-CRITICAL **: IA__gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed 2020-06-05 23:49:04 +03:00
Garux e357564ff8 remove more of deprecated Gtk stuff 2020-06-05 20:40:12 +03:00
Garux 495e90e6a9 gtk_notebook_set_page -> gtk_notebook_set_current_page
gtk_container_children -> gtk_container_get_children
gtk_notebook_set_page -> gtk_notebook_set_current_page
gtk_widget_hide_all -> gtk_widget_hide
gtk_check_menu_item_set_state -> gtk_check_menu_item_set_active
gtk_radio_menu_item_group -> gtk_radio_menu_item_get_group
2020-05-23 22:54:26 +03:00
Garux 2e71534766 gtk_tooltips_set_tip -> gtk_widget_set_tooltip_text 2020-05-22 01:16:04 +03:00
Garux f14722d36f replace GTK_FILE_SELECTION 2020-05-21 19:16:09 +03:00
Garux ab7eb468ec gtk_widget_set_usize -> gtk_widget_set_size_request
-2 in gtk_widget_set_usize() means 'don't change given dimension'
-2 in gtk_widget_set_size_request() = early quit function w/o an effect, thus change to -1
2020-05-21 16:27:33 +03:00
Garux 790424dbae GTK_OPTION_MENU -> GTK_COMBO_BOX_TEXT 2020-05-21 16:27:29 +03:00
Garux 70cf8c4bdd gtk_widget_ref/gtk_widget_unref -> g_object_ref/g_object_unref 2020-05-21 16:27:28 +03:00
Garux e8998ab4a8 replace gtk_radio_button_group() 2020-05-21 16:27:26 +03:00
Garux a212ff3b27 GtkCombo -> GtkComboBox 2020-05-21 16:27:25 +03:00
Garux 3edde6c857 replace gtk_entry_new_with_max_length() 2020-05-21 16:27:23 +03:00
Garux bc48a22a7b gtk_container_border_width -> gtk_container_set_border_width 2020-05-21 16:27:22 +03:00
Garux 9d34fca65c gtk_entry_set_editable -> gtk_editable_set_editable 2020-05-21 16:27:20 +03:00
Garux 0140da6e72 only #include <gtk/gtk.h> 2020-05-21 16:27:17 +03:00
Garux cd529b4fb0 replace gtk_signal_connect, GTK_OBJECT, GTK_SIGNAL_FUNC, gtk_object_set_data, gtk_object_get_data 2020-05-21 16:27:15 +03:00
Garux 4f8e6e7ee5 fix the rest of errors with CFLAGS+="-DGSEAL_ENABLE" except accel_label->accel_string required hack 2020-05-21 16:27:14 +03:00
Garux 50e1af1a16 update GtkWidget allocation access method 2020-05-21 16:27:03 +03:00
Garux d214be3911 update GtkColorSelectionDialog use 2020-05-21 16:24:52 +03:00