-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: Remove enum which is not supported on kicad 6.0 for Ubuntu * fix: Remove minmal max_width * Revert "fix: Remove minmal max_width" This reverts commit 5813cca8ea95337631fce5a1eb9a648d12d8bb49. * feat: Enable resizing the summary panel * feat: Record and restore the sash position * fix: Remove post init window * feat: Enable resizing the left & right panel of the main panel * feat: Show progress bar while generating gerber files * fix: Change the base class for workers * fix: Fix the settings * fix: Fix the size * fix: Donot call pcbnew.refresh from working thread * alpha release * fool test * feat: More detailed progress bar * fix: Add others in order region * fix: Ajust the default height * fix: fix the code to name * alpha release * feat: Remove entry for setting the language Follow the language setting in Kicad * fix: Ajust the preference panel * fix: Adjust the style of progressbar * feat: Add app icon * fix: Remove vertical line in the summary panel * fix: Restore the workflows * feat: Update doc * fix: Restore the workflows * fix: Remove dist files --------- Co-authored-by: liangtie.qian <yihuo0420@gmail.com>
- Loading branch information
1 parent
538e3f1
commit 4a6057e
Showing
21 changed files
with
750 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
from wx import App, Locale | ||
|
||
|
||
class StandAloneApp(App): | ||
def __init__( | ||
self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True | ||
): | ||
super().__init__(redirect, filename, useBestVisual, clearSigInt) | ||
|
||
def OnInit(self): | ||
from kicad_amf_plugin.settings.setting_manager import SETTING_MANAGER | ||
|
||
self.locale = Locale(SETTING_MANAGER.get_language()) | ||
return True | ||
|
||
|
||
if __name__ == "__main__": | ||
from kicad_amf_plugin.plugin._main import _main | ||
from wx import App | ||
app = App() | ||
|
||
app = StandAloneApp() | ||
_main() | ||
app.MainLoop() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.