Commit Graph

30 Commits

Author SHA1 Message Date
Micah Lee
b80fc5be17
Only reload settings if a mode has been selected 2019-11-28 15:46:55 -08:00
Micah Lee
780340b3e4
Stop using set_server_active, because all it was used for was to hide the buttons at the top, and we don't need that now that there are tabs 2019-11-28 15:06:19 -08:00
Micah Lee
a0197e49d7
Cleanup tabs on cleanup 2019-11-28 14:58:04 -08:00
Micah Lee
8530321e5d
When Tor settings change, make sure the tabs know 2019-11-28 14:57:01 -08:00
Micah Lee
28bc37d16f
Start refactoring Onion to allow for managing a separate onion service for each tab 2019-11-10 17:55:07 -08:00
Micah Lee
f0fd0857ae
Fix bug when handling a broken tor connection 2019-11-08 21:36:54 +08:00
Micah Lee
6d75468aaa
Start writing tab tests, and figure out how to test the modal dialogs 2019-11-07 13:25:47 +08:00
Micah Lee
1787adabc7
Start writing tabs tests 2019-11-03 00:47:55 -07:00
Micah Lee
7819a894be
Make it so when you open the GUI, all of the persistent tabs automatically open as well 2019-11-02 22:55:22 -07:00
Micah Lee
a5f8fee065
Starting to make persistent tabs persistent 2019-11-02 21:45:55 -07:00
Micah Lee
1286dfa2f9
Change size of persistent image to 20x20 2019-11-02 19:10:41 -07:00
Micah Lee
c426cfceb2
Rename mode_settings_widget to be more clear, and fix one place that was still using tab_settings 2019-11-02 11:43:05 -07:00
Micah Lee
9534a44051
Make a new ModeSettings class in onionshare, and use this instead of tab_settings 2019-11-02 10:43:20 -07:00
Micah Lee
2984577f28
Get/set tab settings using a getter and setter function 2019-11-02 10:24:12 -07:00
Micah Lee
f2d4bddc23
When any setting is changed, update the tab settings dict 2019-11-02 10:15:18 -07:00
Micah Lee
b017b3268c
Make the persistent button an image label instead, and only show it whne the persistent checkbox is checked 2019-10-27 18:41:24 -07:00
Micah Lee
784d6e8144
Show settings at the top of each mode, both mode-specific settings and setting that exist for all mode types 2019-10-27 18:16:48 -07:00
Micah Lee
f4e3f92c7b
Fix a few issues related to opening settings and quitting 2019-10-27 16:36:32 -07:00
Micah Lee
a14464d834
Show the server status in the tab as an icon 2019-10-27 16:32:12 -07:00
Micah Lee
b7a095d64d
Show warning when quitting while any tabs are active 2019-10-27 16:18:56 -07:00
Micah Lee
654fccc009
Add warning about closing a persistent tab 2019-10-27 16:01:30 -07:00
Micah Lee
216fbd4e87
Add persistent pin 2019-10-27 15:52:45 -07:00
Micah Lee
656d3d1564
Add settings button to the status bar 2019-10-27 15:26:56 -07:00
Micah Lee
cb83fca6bc
Add purple headers to each mode 2019-10-27 15:21:46 -07:00
Micah Lee
df658a0e70
Allow closing tabs, and throw warning when trying to close tabs that contain an active server 2019-10-27 15:01:14 -07:00
Micah Lee
fd2046b976
After choosing the tab type, the title of the tab changes 2019-10-27 14:35:11 -07:00
Micah Lee
f83d88b29e
Make new tab button login in the QTabWidget instead of QTabBar 2019-10-27 14:21:40 -07:00
Micah Lee
144985b1c1
Tabs start out with new tab options, and remove the mode switcher from tabs 2019-10-26 21:56:57 -07:00
Micah Lee
6449e5183e
Add a single tab, and fix several issues with moving all the tab code into its own object 2019-10-26 21:14:47 -07:00
Micah Lee
c77db82e67
Move all of the normal onionshare logic into Tab, and make a new placeholder GUI for the main window 2019-10-20 22:08:47 -07:00