Commit Graph
100 Commits
Author SHA1 Message Date
Sakamoto Shiina 74e28ca101 [Refactor] Remove the code that is no longer in use. 2023-11-09 15:33:31 +09:00
Sakamoto Shiina 76e86c64ab [Chore/fix] Config Window: Appearance theme 文言修正(en) 2023-11-09 15:25:49 +09:00
Sakamoto Shiina 02acc4a191 Merge branch 'view' into develop 2023-11-08 16:16:00 +09:00
Sakamoto Shiina 9768f3e724 [Refactor] 使ってないimageファイルの削除 2023-11-08 16:14:39 +09:00
Sakamoto Shiina 9905a4f2d0 [Update] Add Light Theme 2023-11-08 15:52:43 +09:00
Sakamoto Shiina f8db9c927b [bugfix] Config Window: Current Active Config Titleに縦1pxの線が入っていたバグを修正。
(1pxバグ修正がバグを生んでいました。消した分、代わりに端っこ1pxバグ発生しそうな気はするけど)
2023-11-06 14:03:21 +09:00
Sakamoto Shiina fc4bf7648f Merge branch 'view' into develop 2023-11-06 13:14:40 +09:00
Sakamoto Shiina c8415d8370 [Refactor] Config Window: _SettingBoxGenerator ボタン系サイズと色指定の汎用化 2023-11-06 13:10:55 +09:00
Sakamoto Shiina f21ffea568 [Update] Config Window: Advanced Settings Tab: add Open Config File. add item open file(config.json) button. 2023-11-06 12:54:02 +09:00
Sakamoto Shiina 5d6902c196 [Update] Config Window: Auto Export Message Logs. add open file(logs) button. 2023-11-06 12:31:49 +09:00
Sakamoto Shiina d396a56721 Merge branch 'ui_update_swap_languages' into develop 2023-11-06 06:24:25 +09:00
Sakamoto Shiina 74c8a253e8 [Update] Main Window: add feature. Swap Languages. when hover the label 'Translate Each Other', 'Swap Languages Button' appear. and It can swap 'Your language' and 'Target Language'. 2023-11-06 06:21:43 +09:00
Sakamoto Shiina ef747a2f40 Merge branch 'ui_update_message_format' into develop 2023-11-05 11:38:37 +09:00
Sakamoto Shiina 72877ab98b [Update] Message Format: [message]と[translation]は一意かつそれぞれ一つだけの使用に。それに伴いエラー表示や初期値の挿入など。 2023-11-05 11:30:34 +09:00
Sakamoto Shiina 44baaa84b8 [Update] Message Format: UI改善、[message]や[translation]など必須なものは固定(入れ替え可能)し、ユーザーは編集できないように。不完全な気はしているが、表示の例を追加し、直感的にメッセージフォーマットを使えるように。 2023-11-05 08:03:52 +09:00
Sakamoto Shiina f5b3b503e4 [Update] config.py: Message Format. 設定された文字列に"[message]"と"[translation]"の両方が入っていなければ初期値を設定するように。 2023-11-01 09:19:40 +09:00
Sakamoto Shiina 8d90ca0cc6 Merge branch 'update_ui_word_filter' into develop 2023-11-01 02:55:28 +09:00
Sakamoto Shiina c98912f31b [Update] Mic Word Filter: UI改善、リスト表記にし、追加や削除も直感的に行えるように。※_SettingBoxGenerator.py内に追加された関数が、汎用的ではなく、ワードフィルター専用状態です。
config.py: 登録された単語は一意になるように、順序を保持しつつ重複削除処理。
その他ワードフィルターの説明文言調整など。
2023-11-01 02:49:10 +09:00
Sakamoto Shiina 266b809353 Merge branch 'view' into develop 2023-10-29 19:05:57 +09:00
Sakamoto Shiina c85b312504 [bugfix/Update] Config Window: ToolTip. 角丸を無くしました。
理由, OS側でライトテーマなど選択された時に影響されて周りが白くなってしまい、消そうにもTkinterの透過が不完全すぎて見えちゃうのでもう角丸をなくすことにしました。
2023-10-29 19:02:04 +09:00
Sakamoto Shiina 6e54b541dd [Chore] ColorThemeManager: 変数名変更やコメント追加など。ダークテーマの基本テキストカラーを、元々Lightテーマから持ってきていたのをDarkテーマ固有のものに(中身は今のところ同じでf2f2f2だけど)。
SENTやRECEIVEDも変数化。参考にしたサイトのコメント記述など。
2023-10-29 01:12:06 +09:00
Sakamoto Shiina 1efd7d0330 [Refactor] ColorThemeManager: カラーテーマごとにファイル分け。ImageFileManager廃止、ColorThemeManagerに統合。 2023-10-28 16:05:18 +09:00
Sakamoto Shiina 20f48999d1 [bugfix] ColorThemeManager: 指定ミス修正。 2023-10-27 19:59:58 +09:00
Sakamoto Shiina 2707332ec8 [Update] ColorThemeManager: (WIP)Lightテーマ選択時、カラー指定がない時に、Darkテーマとマージして値を持ってくるように。 2023-10-27 19:56:22 +09:00
Sakamoto Shiina 5fd156545f [Refactor] ColorThemeManager: SimpleNamespaceを使った記述に切り替えて可読性と利便性アップ。 2023-10-27 10:37:22 +09:00
Sakamoto Shiina 161e4b9543 Merge branch 'view' into develop 2023-10-26 19:59:29 +09:00
Sakamoto Shiina b4479e570a [Update] Config Window: Mic/Speaker Energy Threshold Check. しきい値を超えると色が変わるように。
ProgressBar Widgetを変化させるのは問題ないが、entry widgetなど、他のwidgetだとスタックして?遅延が発生するので、できるのは今のところここまで。
2023-10-26 19:58:56 +09:00
Sakamoto Shiina 0ac41060ac Merge branch 'fix_filename_problem' into develop 2023-10-24 21:31:58 +09:00
Sakamoto Shiina a6f5e30e39 [fix] _PrintToTextbox: ファイル名の変更がトラッキングされておらず、読込み時にエラーがでていたのを無理やり修正。 2023-10-24 21:30:37 +09:00
Sakamoto Shiina 6119e254a6 [fix/tmp] copy _printToTextbox 2023-10-24 21:29:19 +09:00
Sakamoto Shiina 5132e6252a Merge branch 'view' into develop 2023-10-24 20:36:40 +09:00
Sakamoto Shiina b7af569996 [Update] Config Window: slider tooltips. ステップを1ずつにして、さらにパーセンテージ表記するように。 2023-10-24 20:31:05 +09:00
Sakamoto Shiina c6d52f05c5 [Update] Config Window: Slider系にtooltip追加。Thanks of Akascape. 2023-10-24 19:39:32 +09:00
Sakamoto Shiina 8f2934e510 [Update] テキストボックスのフォントサイズを、UI全体のサイズとは別でユーザーが変えられるように。
(UI size, scalingを基準とした倍率)
2023-10-24 18:33:32 +09:00
Sakamoto Shiina 8cffee569a [Refactor] TextboxのUi Sizeを独立させるための準備でリファクタリング。クラスなど。 2023-10-24 16:07:29 +09:00
Sakamoto Shiina 64ac7d2c61 Merge branch 'view' into develop 2023-10-24 10:00:03 +09:00
Sakamoto Shiina 7bbf539f14 [bugfix] Word filterで検出された際に、テキストボックスにログが送信されないバグを修正。i18nの指定の仕方が悪かったみたい。 2023-10-24 09:43:04 +09:00
Sakamoto Shiina 78c9a290cc [Refactor] メイン画面の閉じるボタンを押したときの処理をCALLBACK関数にしてview.pyに移動。 2023-10-23 15:35:25 +09:00
Sakamoto Shiina 4526c2a28e [Refactor] view.pyのリファクタリング。不要なコードの削除や並び替え、コメント追加など。 2023-10-23 15:24:16 +09:00
Sakamoto Shiina bea88879af [Chore] Config Window: 設定項目のラベル名変更 2023-10-21 00:02:50 +09:00
Sakamoto Shiina e1d927cfae Merge branch 'view' into UI_2.0 2023-10-20 18:27:55 +09:00
Sakamoto Shiina c001e5c069 [Update] add(move) UI Language Korean. that was used in v1.3.x too. 2023-10-20 18:26:28 +09:00
Sakamoto Shiina d9e9c4d2ba Merge branch 'view' into UI_2.0 2023-10-20 06:25:52 +09:00
Sakamoto Shiina e8ee8891b0 [Update] Remove the background color that was for testing. 2023-10-20 06:21:08 +09:00
Sakamoto Shiina 55db1c2e75 [bugfix] Main Window, Cover Window: メイン画面に追従しないバグなど修正。追従する関数やイベント登録もcover windowクラス内に押し込み。 2023-10-20 06:00:18 +09:00
Sakamoto Shiina f668686daf [Update] add Information Modal. This is for displaying when reached translation limit that 429 too many requests. 2023-10-20 04:30:30 +09:00
Sakamoto Shiina 780bd32cf4 [bugfix] 色の指定漏れ修正。OSの設定でライトテーマにしている場合に、色指定していない部分が自動的にライトテーマ用(Tkinter側で)に指定されてしまうので指定漏れがあった部分を指定。その際にVRCT上のダークテーマでの色が一部微妙に変わっている。 2023-10-19 17:33:31 +09:00
Sakamoto Shiina 6207d5a807 Merge branch 'ui_restore_deepl_auth' into UI_2.0 2023-10-19 15:37:28 +09:00
Sakamoto Shiina 7aefe652e5 [Update] Config Window: Restore DeepL Auth Key UI 2023-10-19 15:36:04 +09:00
Sakamoto Shiina d6dfd0ae9a Merge branch 'view' into UI_2.0 2023-10-19 15:26:47 +09:00
Sakamoto Shiina 40f999f556 [bugfix] Config Window: Dropdown Menu Window. 幅を内容に合わせて可変的に。長いテキストが入っても見きれないように修正。 2023-10-19 15:18:10 +09:00
Sakamoto Shiina b007fb1c55 [bugfix] Selectable Language Window: Focusイベントが意図しないところで発生してウィンドウ閉じてしまうのを修正。 2023-10-19 09:32:06 +09:00
Sakamoto Shiina 2b0476c8b9 [bugfix] VRCTウィンドウUI Size40%でもOSウィンドウサイズを超える場合は、確認モーダルが永遠出てしまうのを修正。そういう環境を作れずテストはできていないが、まぁ想定外すぎるディスプレイサイズなので。 2023-10-19 09:06:40 +09:00
Sakamoto Shiina 7eee38f107 [Chore] Remove the python print code that forgot to remove. 2023-10-19 08:58:47 +09:00
Sakamoto Shiina 8e55a5426c [Update] Config Window: 各項目のエラーメッセージを追加(仮置きじゃなくなりました。) 2023-10-19 08:53:44 +09:00
Sakamoto Shiina 62652dccd4 Merge branch 'view' into UI_2.0 2023-10-18 18:50:24 +09:00
Sakamoto Shiina 7cc7b5a7c3 [Update] 使用ディスプレイサイズの大きさ(高さ)より、VRCT起動時のウィンドウの方が大きい場合の対応。UI Scalingを20%下げて再起動するかどうかの確認モーダルを表示。
それにともない確認モーダルの汎用化。
さらにそれに伴い計算の都合上UI Scalingが40%から200%で10%刻みに対応(選択できるように)しました。
2023-10-18 18:46:10 +09:00
Sakamoto Shiina 5abfe3c20b [Update] add Update Software Confirmation Modal Window. 2023-10-18 14:54:18 +09:00
Sakamoto Shiina 98ac2232a3 [Refactor] Main Window: メイン画面カバーのgeometry計算をshow時に変更。 2023-10-17 23:24:41 +09:00
Sakamoto Shiina 7430bd25f8 [Update] Config Window: Mic/Speaker Record Timeoutなどの説明文追加と修正。 2023-10-17 17:31:45 +09:00
Sakamoto Shiina 239b0acce3 [Update] Config Window: message format's description. add sentence for mentioning that will be used Notification XSOverlay too.
[Update] Config Window: Notification XSOverlay's label. 日本語版での文言変更。
2023-10-17 15:03:17 +09:00
Sakamoto Shiina f5f635cac4 Merge branch 'show_error_when_no_device' into UI_2.0 2023-10-17 05:40:07 +09:00
Sakamoto Shiina 314e0c86b6 [Update] No Device時の処理。スピーカー/マイクを使う処理時に表示するエラーメッセージの実装。表示方法は改善予定。 2023-10-17 05:36:29 +09:00
Sakamoto Shiina 785f9b5c7f Merge branch 'view' into UI_2.0 2023-10-16 21:03:45 +09:00
Sakamoto Shiina 6714833b0f [Update] Config Window: showRestartButton関数の調整。前回の設定と同じで、再起動が必要なければ再起動ボタンを表示しないように。選択中の言語での表示も対応。 2023-10-16 20:49:39 +09:00
Sakamoto Shiina 29b30bba92 [Chore] Remove the code that is useless. and change the function getLongestText for somehow. 2023-10-16 20:00:31 +09:00
Sakamoto Shiina 4a62b31db0 Merge branch 'view' into UI_2.0 2023-10-16 12:42:31 +09:00
Sakamoto Shiina bd71a96ccb [Update] Main Window: メッセージボックスからフォーカスが外れると、VRChat上ででるチャット入力中をstopするように。
それに伴ってfocus in/outイベントをcontroller.pyで管理。
[Refactor] 関数名を適切な名前へ変更。
2023-10-16 12:34:41 +09:00
Sakamoto Shiina a054f05b1b [Remove] Config Window: Speaker Device自動設定により、UIから選択項目を削除。また、config.CHOICE_SPEAKER_DEVICE が "NoDevice"だったときの初期処理も必要なくなったのでview.pyからも削除。 2023-10-16 11:40:57 +09:00
Sakamoto Shiina 0519a2bbfb [Remove] DeepL Authキー廃止によりUIから削除。Translationタブ自体はコメントアウトで削除(将来的にまた必要になると予想して)」 2023-10-16 11:00:49 +09:00
Sakamoto Shiina 91cc9802a3 [Chore] Remove the code ctypes from requirements.txt. 2023-10-16 10:29:25 +09:00
Sakamoto Shiina 574a84cdb2 Merge remote-tracking branch 'origin/UI_2.0' into UI_2.0 2023-10-16 10:20:58 +09:00
Sakamoto Shiina de1c0a5c96 Merge branch 'bugfix_ui_corruption_by_windowz_scaling' into UI_2.0 2023-10-16 10:20:28 +09:00
Sakamoto Shiina 16cac0d557 [bugfix] Main Window: Main Window Cover: UI崩壊修正続き。SetProcessDpiAwareness 1 -> 0
[bugfix] 設定画面を開いた時にカバーするWindowがずれるのを修正するため、メイン画面を移動した時に毎回lift(最前面に表示)する機能を削除。
[Update] Main Window: ウィンドウサイズの幅を縮めた時に、テキストボックスのサイズが一定以上縮まず、ログが折り返されなかったので、折り返されるように改善。それにより幅固定を外したので、起動時にgeometryを指定するなどしている。
※上記相互に影響しているためまとめて編集しました。
2023-10-16 10:15:02 +09:00
Sakamoto Shiina 465f9f9628 [bugfix] Main Window: UI崩壊修正 Windows本体でスケーリングを変更している場合にUIが崩れるのを修正。DPIを固定するためにctypesを使っているため、requirements.txtに追加。 2023-10-15 11:32:38 +09:00
Sakamoto Shiina e5238fd4a7 Merge branch 'bugfix_xsoverlay_message' into UI_2.0 2023-10-15 10:57:55 +09:00
Sakamoto Shiina 808007ece6 [bufgix] XSOverlayへの受信メッセージ送信機能で、翻訳をオフにした場合にもメッセージフォーマットが適用されて括弧が入っていたのを修正。 2023-10-15 10:55:20 +09:00
Sakamoto Shiina 38b3bc22e1 Merge branch 'view' into UI_2.0 2023-10-14 19:52:49 +09:00
Sakamoto Shiina 8f0ccdda5b [bugfix/tmp] Config Window: デバイス系の設定、ドロップダウンメニューの幅を基本500pxと広く。間に合わせです。 2023-10-14 19:49:43 +09:00
Sakamoto Shiina f8ce0ee0e6 [Update] Config Window: Transcriptionタブ、Mic/Speaker Max Phrasesなどの数値入力系の説明に「単位」を表記。yml内に追加されたコメントアウトdesc文章は制作中。 2023-10-14 19:16:55 +09:00
Sakamoto Shiina 6ed59df596 [Update] Config Window: 再起動ボタンの表示言語。UI Languageが変更された場合は、変更先の言語で表示。 2023-10-14 17:48:15 +09:00
Sakamoto Shiina c0fb949a38 [Update] Main Window: Textbox log内のシステムメッセージの英語、日本語対応追加。
help and infoボタンをクリックし、VRCTドキュメントページが開いたときの文言をさらに追加。
2023-10-14 17:16:18 +09:00
Sakamoto Shiina 6d6e678f72 [bugfix] Typo 2023-10-14 15:59:08 +09:00
Sakamoto Shiina ff675330c6 [Update] Main Window: Textbox log内のシステムメッセージを英語と日本語に対応。文言調整。
[Refactor] Commented out the code that is no longer in use in view.py (osc error message)
2023-10-14 15:57:01 +09:00
Sakamoto Shiina fb67930ed1 [Refactor] Remove the code that is no longe in use. 2023-10-14 08:58:01 +09:00
Sakamoto Shiina 31ea7ebf8a [Refactor] view以下の引数系のインデント調整
※だいぶ感覚的な独自ルール
2023-10-14 08:33:54 +09:00
Sakamoto Shiina 6968f81366 [Refactor] 変数名変更。 2023-10-14 08:10:57 +09:00
Sakamoto Shiina db97346752 Merge branch 'view' into UI_2.0 2023-10-13 21:57:26 +09:00
Sakamoto Shiina 5283741f30 [Update] Config Window: 文言の調整、日本語と英語。
スレッショルドの設定項目 手動自動切り替え時にそれぞれの文章を入れ込む方式に変更。柔軟性はあるが、今のところ切替時にスイッチの位置が変わってしまう。
2023-10-13 21:44:18 +09:00
Sakamoto Shiina 9ae3bf3530 [bugfix] Config Window: 再起動ボタンのUI Size対応漏れを修正。 2023-10-13 20:03:38 +09:00
Sakamoto Shiina 1bd98c7769 [Update] Config Window: 再起動が必要な変更がある場合に、再起動ボタンを表示。(現状、設定が変わらなくても変更しようとすると表示される状態ではある。例: UI size 100%からもう一度100%を選択した場合など) 2023-10-13 19:56:30 +09:00
Sakamoto Shiina 869654084f Merge branch 'view' into UI_2.0 2023-10-13 18:44:28 +09:00
Sakamoto Shiina bfc5ff04f8 [Update] Config Window: UI Theme Darkモード固定。設定項目からテーマ選択をできなくして、config.jsonを編集したとしても常にDarkモードに固定。※項目として残しているのは、Lightモード実装予定で開発中という事を見せたいため。 2023-10-13 18:23:55 +09:00
Sakamoto Shiina f24ca9c30d [bugfix] Splash Window: toolwindowをTrueにし忘れていて、起動時にタスクバーに見えてしまっていたのを修正。 2023-10-13 17:58:49 +09:00
Sakamoto Shiina 708bcea533 [bugfix] Config Window: Setting Box Labels. fix the position to the center that was a bit above before. 2023-10-13 17:32:23 +09:00
Sakamoto Shiina 376f5e7b5a [Update] ソフトのバージョン情報を設定画面に移動、UI Size変更、色の変数化、表記を英語と日本語に対応。 2023-10-13 16:56:49 +09:00
Sakamoto Shiina a2c090f234 Merge branch 'bugfix' into UI_2.0 2023-10-13 16:11:13 +09:00
Sakamoto Shiina 0ea376df10 [bugfix] controller.py: 各設定項目、Entry系で空文字を受け取ったときはエラーではなく処理をスルー(return)するように。 これによりUIとしては、ユーザーがdelete keyを押して中身を空にした時のエラーメッセージを出さないように。 2023-10-13 16:09:33 +09:00
Sakamoto Shiina 84ef79e598 Merge branch 'view' into UI_2.0 2023-10-13 16:07:06 +09:00
Sakamoto Shiina a49f382b16 [Update] remove the items that is about startup_osc_enabled_check in localize 2023-10-13 15:49:07 +09:00