Matthias Koefferlein
2b60e2f6e9
Preventing overriding of getters by is_.. predicates
2022-10-24 21:06:03 +02:00
Matthias Koefferlein
c8d86f8e73
Improved doc, enough slots for getters and setters for Qt namespace
2022-10-24 20:53:58 +02:00
Matthias Koefferlein
24c6224a84
Do not produce Python methods masked by properties.
2022-10-24 20:31:46 +02:00
Matthias Koefferlein
a39d22c438
Fixed problems with reserved words
2022-10-24 19:44:28 +02:00
Matthias Koefferlein
9011af54ac
Class properties
2022-10-23 23:47:26 +02:00
Matthias Koefferlein
eb31f67aeb
Include .pyi in deployment, scrips enhanced for more compatibility with stubtest
2022-10-23 23:18:09 +02:00
Matthias Koefferlein
daad80d5d5
Synthesize getters from is_... predicates, added getter for RecursiveShapeIterator#shape_flags
2022-10-23 22:08:06 +02:00
Matthias Koefferlein
be6e05da55
WIP: refactoring, added special GSI methods for Python binding
2022-10-23 19:00:41 +02:00
Matthias Koefferlein
2c18bc6c46
WIP: refactoring
2022-10-23 18:31:13 +02:00
Matthias Koefferlein
d3a36e66f2
Fixed a compiler warning
2022-10-20 23:29:35 +02:00
Matthias Koefferlein
fbd4c84d84
Refactoring of pya/rba/expressions
...
Goal is to support "*!" which is a variant of multiplication
without the commutative nature.
The refactoring yields a more consistent handling of
Python specializations. Now this happens when the methods
are collected, rather than later. This way, specific behavior
for identically named synonyms can be implemented for example.
This is the case for the "*" operator in Trans which is partially
commutative and partially not.
2022-10-20 23:26:14 +02:00
Matthias Koefferlein
c012bb846e
Cherry-picked Python type hint enhancements from master
2022-10-19 22:13:03 +02:00
Matthias Koefferlein
c9c9d6198b
Fixed a Qt warning
2022-10-18 01:02:58 +02:00
Matthias Koefferlein
72c71a91a8
Fixed (?) user doc generation
2022-10-16 22:05:40 +02:00
Matthias Koefferlein
6e2c17b8c1
[consider merging] Qt4 compatibility
2022-10-16 22:02:11 +02:00
Matthias Koefferlein
48ec894b1e
Merge remote-tracking branch 'origin/enhanced-tab-widget'
2022-10-13 22:46:46 +02:00
Matthias Koefferlein
456f42972f
Fixed Qt4 builds
2022-10-13 09:28:52 +02:00
Matthias Köfferlein
8d1dcbb04a
Fixed issue-1164 (internal error on delete cells on archlinux) ( #1166 )
...
* Fixed issue-1164 (internal error on delete cells on archlinux)
* Found another location where take_cell would spoil cell_name
Co-authored-by: matthias <matthias@klayout.de>
2022-10-09 21:27:13 +02:00
Matthias Köfferlein
c9cef44108
Merge pull request #1160 from EugeneZelenko/enhanced-tab-widget
...
Use enhanced tab widget for file tabs to easily navigate through larg…
2022-10-09 21:26:04 +02:00
Matthias Koefferlein
95686ea630
Modified 'close all except/left/right' to be effective on the tab the mouse points at.
2022-10-05 22:27:13 +02:00
Matthias Koefferlein
42de46caf2
Added close left/right and clone to view tab's context menu too
2022-09-24 20:48:02 +02:00
Matthias Koefferlein
35aaf63051
As suggested by Eugene: close left/close right added to macro editor's tab tab ... layout views will follow
2022-09-24 19:53:31 +02:00
Matthias Koefferlein
ab9fe57ec3
Modified the original solution somewhat
...
1. Provide a menu icon in SVG (24x24px and 16x16px for later use elsewhere)
2. Proposing a solution based on QTabBar again
- Rationale: the QTabWidget is intended as container for widgets but
in our case it is not (the ViewStack will handle this). I am worried
about the implications, specifically as there are widgets added during
insertTab which are also added to the view stack container.
Apart from that the visual effect is somewhat ugly.
- The menu button is not part of the EnhancedTabBar as it does not
provide a corner widget. But it is available as "visually detached"
sub-widget and the main window can build a HBoxLayout for it.
3. Correspondingly renaming EnhancedTabWidget to EnhancedTabBar
4. I ported the "close all" and "close all except" feature from the
macro editor's tabs to the view tab bar as I think this fits nicely
into this enhancement.
2022-09-23 23:31:23 +02:00
Matthias Koefferlein
c8889504e6
Enabling high-DPI scaling in QApplication
2022-09-23 22:20:14 +02:00
Matthias Koefferlein
1107e5bacc
Added doc and icon to dependencies.
2022-09-23 22:17:50 +02:00
Matthias Koefferlein
836cb9f6f6
Added doc and icon to dependencies.
2022-09-23 22:01:38 +02:00
Eugene Zelenko
ef6b0f52d7
Use enhanced tab widget for file tabs to easily navigate through large number of opened files.
2022-09-22 17:43:32 -07:00
Matthias Koefferlein
db37bdd5e7
Enabling high-DPI scaling in QApplication
2022-09-22 21:13:23 +02:00
Matthias Köfferlein
0993de418e
Merge pull request #1156 from KLayout/resources-rework
...
Resources rework
2022-09-21 22:16:58 +02:00
Matthias Köfferlein
775e9538af
Merge pull request #1158 from Zopolis4/master
...
Restrict overmatching MACH ifdef to only trigger on OSX and Mach
2022-09-21 22:16:39 +02:00
Zopolis4
8f940c1679
Restrict overmatching MACH ifdef to only trigger on OSX and Mach
2022-09-21 16:52:25 +10:00
Matthias Koefferlein
04d0c7f898
Fixed builds
2022-09-19 18:08:34 +02:00
Matthias Koefferlein
4381f29945
Fixed builds
2022-09-19 01:05:45 +02:00
Matthias Koefferlein
c9f4dac931
Fixed builds
2022-09-19 01:02:18 +02:00
Matthias Koefferlein
ee3facfa13
Fixed printout
2022-09-18 21:53:38 +02:00
Matthias Koefferlein
029284f48a
Some refactoring, layer icons are scaled for high DPI too now.
2022-09-18 20:56:37 +02:00
Matthias Koefferlein
a6d4cdd254
More scaled pixmaps for dither pattern icons
2022-09-18 18:02:37 +02:00
Matthias Koefferlein
e5fabb2b13
Using scaled dither pattern pixmaps in the UI elements
2022-09-18 17:37:49 +02:00
Matthias Koefferlein
48e3643a87
Attempting extrapolation of fill pattern
2022-09-18 16:09:11 +02:00
Matthias Koefferlein
ef5cd11629
Properly scaling line width for high-DPI displays
2022-09-18 13:19:52 +02:00
Matthias Koefferlein
f32da6aa87
Properly scaling line width for high-DPI displays
2022-09-18 12:19:06 +02:00
Matthias Koefferlein
86f9fbe9e7
Fixed palette buttons.
2022-09-17 23:11:19 +02:00
Matthias Koefferlein
8e480a0236
Changed pixmaps to 2x versions for high-DPI support
2022-09-17 22:13:16 +02:00
Matthias Koefferlein
cf50b38090
Corrected resource file paths
2022-09-17 21:00:36 +02:00
Matthias Koefferlein
3172c1c4bc
More icons turned into SVG
2022-09-17 17:37:42 +02:00
Matthias Koefferlein
84061b8362
More icons turned into SVG
2022-09-17 16:53:05 +02:00
Matthias Koefferlein
708214fa0d
More icons turned into SVG
2022-09-17 16:19:50 +02:00
Matthias Koefferlein
f0e692f8ed
More icons turned into SVG
2022-09-17 15:55:42 +02:00
Matthias Koefferlein
7fe16df8ef
More icons turned into SVG
2022-09-17 15:33:29 +02:00
Matthias Koefferlein
2635ca06af
More icons turned into SVG
2022-09-17 15:28:06 +02:00