Commit Graph
100 Commits
Author SHA1 Message Date
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
Sakamoto Shiina 1b5515cc95 [bugfix] Main Window: サイドバーコンパクトモードにして、VRCTを終了し、次回起動時にコンパクトモードでのroot geometry計算になるためWindowが小さくなるのを修正。 2023-10-13 14:56:23 +09:00
Sakamoto Shiina 1380d66da1 [Refactor] Main Window: 起動時はサイドバーが開いた状態で、もしconfig.IS_MAIN_WINDOW_SIDEBAR_COMPACT_MODEがTrueなら閉じるという動作に。(ユーザーに見えるまでにしている処理なので見た目は変わらない) 2023-10-13 14:44:20 +09:00
Sakamoto Shiina 638b5c25ec Merge branch 'comment_out__startup_osc_enabled_check' into UI_2.0 2023-10-13 14:26:52 +09:00
Sakamoto Shiina bd851ac8d3 [Update] comment out and disable the feature that startup osc enabled check 2023-10-13 14:22:44 +09:00
Sakamoto Shiina 949813da8a Merge branch 'view' into UI_2.0 2023-10-13 13:49:45 +09:00
Sakamoto Shiina 508cca8215 [Update] 設定画面から透明度変更時に、メイン画面のカバーを一時的に外すように。
スライダークリック時(ドラッグ時)にカバーを外し、リリース時に戻す。
リリースはCTkSlider側で設定されていないのでうまくいくけど、
CTkSliderはbind ButtonPress(クリック)はオーバーライドされるので引数command(クリックイベント)に無理やり挟み込み。
2023-10-13 13:41:10 +09:00
Sakamoto Shiina 77500adb8d [bugfix] Main Window: 設定画面を開いた時に、メイン画面に被せるモーダル型ウィンドウが、メイン画面最小化時はそれに従って消し、メイン画面をまた開いた時に表示するように修正。
[Refactor] そのモーダル型ウィンドウの表示関数を移動
2023-10-13 12:24:53 +09:00
Sakamoto Shiina 36d750501e [bugfix] Config Window: fix 1px bug. 2023-10-13 09:04:26 +09:00
Sakamoto Shiina bdb9023f89 Merge branch 'view' into UI_2.0 2023-10-13 06:00:27 +09:00
Sakamoto Shiina 717a56a580 [bugfix] fix 1px bugs. (まだ発生する) 2023-10-13 05:59:14 +09:00
Sakamoto Shiina f185b2f475 [Refactor] Remove the code that is no longer in use. 2023-10-12 17:03:26 +09:00
Sakamoto Shiina 67611af116 Merge branch 'view' into UI_2.0 2023-10-12 16:19:31 +09:00
Sakamoto Shiina 0bad71decc [Update] Config Window: combine Mic/Speaker Dynamic Energy Threshold and Mic/Speaker Energy Threshold. change the label and description for it. 2023-10-12 16:08:51 +09:00
Sakamoto Shiina 2d43061f8e [bugfix] Config Window: スレッショルドチェックボタンDisabled処理が、コンパクトモードや設定画面閉じる際に解除されてしまうのを修正。 2023-10-12 14:27:12 +09:00
Sakamoto Shiina 01ade68d4e [Update] Config Window: スレッショルドチェックボタンのDisabled処理追加や変更。Disabledなボタンそのものを追加。 2023-10-12 13:41:14 +09:00
Sakamoto Shiina 46e406bfc4 [Update] Config Window: スレッショルドチェック周りの文言変更(間に合わせ) 2023-10-12 12:22:35 +09:00
Sakamoto Shiina 17b33d57df [Update] Config Window: Mic/Speaker Dynamic Energy Thresholdのオンオフで、Mic/Speaker Energy ThresholdのWidgetを折りたたんだり開いたり。初期値に合わせた動作も含めて実装。
[bugfix] Speaker Dynamic Energy ThresholdにMicのctk variableを設定していたのを修正。
2023-10-12 11:50:39 +09:00
Sakamoto Shiina fd433754fc [Update] Config Window: デバイスがなかった場合、オプションメニューにはNo Mic Device Detectedなどの表示に。 2023-10-12 10:19:03 +09:00
Sakamoto Shiina a7644fce23 [Update] Config Window: デバイスが検出されなかった場合のdisabled表示一部実装(Mic Host, Mic Device, Speaker Deviceのオプションメニューのみ) そしてその関数の汎用化。
[Chore] Appearance Themeを開発中としてラベル編集。
2023-10-12 09:40:01 +09:00
Sakamoto Shiina 243492ac91 [bugfix] Config Window: オプションメニュー系で、矢印画像とラベルの隙間px指定がテスト用に大きく指定していたままだったのを修正。 2023-10-12 06:37:25 +09:00
Sakamoto Shiina 475da85b51 Merge branch 'view' into UI_2.0 2023-10-12 00:21:27 +09:00
Sakamoto Shiina 3e6bce367c [Update] 各Window表示時に画面の中央に配置するように。(それによって一瞬再配置が見えるので、誤魔化し用でもある)フェードインアニメーション追加とそれら関数の汎用化。 2023-10-11 23:11:59 +09:00
Sakamoto Shiina 8185050ea2 [Update] Config Window: UI Size変更対応(指定していたものは全て対応したはず)。コンパクトモードのラベル日本語対応。
[Refactor] CTkScrollableFrameを使用しているwidgetのUI Size変更対応やCTKのheight bug修正をui_utils.pyへ関数切り出し。
2023-10-11 15:28:54 +09:00
Sakamoto Shiina 1a7cf32dc6 Merge branch 'splash_screen' into UI_2.0 2023-10-11 13:37:39 +09:00
Sakamoto Shiina 379e916428 [Update] Add Splash Screen: 起動中に何かしらの表示をして、ユーザーへのフィードバック。画像は仮置き。 2023-10-11 13:34:58 +09:00
Sakamoto Shiina 1b554c7c0c Merge branch 'separate_create_and_show_GUI' into UI_2.0 2023-10-11 13:22:17 +09:00
Sakamoto Shiina 61ecbe1e84 [Refactor] createGUIを、createGUIとshowGUIに分割。createGUIでは画面を表示せず中身の組み立てや関数登録。showGUIで表示するように。
その他関数名変更(vrct_gui. から呼ぶ関数はすべてアンダーバーをつける。view.pyで呼ばれる関数と区別するため。)
2023-10-11 13:20:09 +09:00
Sakamoto Shiina 61fed5d898 Merge branch 'view' into UI_2.0 2023-10-10 19:49:18 +09:00
Sakamoto Shiina 153764f48a [bugfix] Main Window: サイドバーを閉じた時に、root geometry(Windowサイズ)の高さが変わってしまうのを修正。
(コンパクトではあるが、機能としてはサイドバーの開閉なので、意図したサイズ変更ではなかった。)
2023-10-10 19:46:25 +09:00