Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port the MainWindow ui to a .ui file #724

Merged
merged 16 commits into from
Jan 27, 2023

Commits on Jan 20, 2023

  1. feat: add Widebar::InsertWidgetBefore method

    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    3da1d6a View commit details
    Browse the repository at this point in the history
  2. refactor: Port the main window to a .ui file

    some stuff still needs to be done in the c++ side because qt designer is dumb >:(
    
    the instance toolbar icon and instance name buttons are still added manually inside MainWindow.cpp
    
    looks almost identical, with some minor tweaks:
    - the instance toolbar is now a WideBar, so you can customize what actions you want :D
    - the instance toolbar buttons are now fullwidth
    - the close window button is now at the end of the file menu
    - the help menu has some layout changes
    
    this also fixes some stuff:
    - menus not having tooltips
    - the top toolbar not connecting to the title bar in kde
    - the instance toolbar separators looking weird after you move the toolbar
    
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    f3acf35 View commit details
    Browse the repository at this point in the history
  3. feat(WideBar): Allow disabling alt shortcuts

    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    b2de01b View commit details
    Browse the repository at this point in the history
  4. fix(widebar): fix insertSeparator

    WideBar::insertSeparator was adding the separator to the end of the toolbar
    
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    ada5956 View commit details
    Browse the repository at this point in the history
  5. Fix: translate NoAccountsAdded text

    Co-authored-by: flow <flowlnlnln@gmail.com>
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu and flowln committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    3b38a4c View commit details
    Browse the repository at this point in the history
  6. Fix: translate actionNoDefaultAcount text

    Co-authored-by: flow <flowlnlnln@gmail.com>
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu and flowln committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    55d4064 View commit details
    Browse the repository at this point in the history
  7. feat(WideBar): custom context menu actions

    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    f16989b View commit details
    Browse the repository at this point in the history
  8. remove useless setEnabled calls

    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    4ed4fb2 View commit details
    Browse the repository at this point in the history
  9. Fix status bar name

    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    6c5f6e8 View commit details
    Browse the repository at this point in the history
  10. Fix: make the newsLabel toolbutton fullwidth again

    this reverts it to how it was before the MainWindow .ui port
    
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    670cf8e View commit details
    Browse the repository at this point in the history
  11. Fix main window icon and stuff

    i forgor 💀
    
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    5a25ce8 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. refactor: clean up some MainWindow stuff

    this makes the accounts button and menubar item share the same QMenu
    and also refactors some code
    
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    4d2b5c2 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Update launcher/ui/MainWindow.ui

    Co-authored-by: flow <flowlnlnln@gmail.com>
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu and flowln committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    357b6ee View commit details
    Browse the repository at this point in the history
  2. Update launcher/ui/MainWindow.ui

    Co-authored-by: flow <flowlnlnln@gmail.com>
    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu and flowln committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    d5a0d4b View commit details
    Browse the repository at this point in the history
  3. Remove unused BarEntry variable

    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    df8df41 View commit details
    Browse the repository at this point in the history
  4. better fix for WideBar::insertSeparator

    Signed-off-by: leo78913 <leo3758@riseup.net>
    leia-uwu committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    a27564e View commit details
    Browse the repository at this point in the history