a9080ceb3c
* Proof of Concept for Quick Switcher
* Fix crash when suggestions are empty
* QuickSwitcher: Use tab name instead of a single channel
* Rebase later
* Add missing include for <functional>
* Move QuickSwitcher related classes into own subfolder
* Refactor switcher list items
Now, items are responsible for taking the right action when selected in
the switcher list. This should allow for more focused code and
responsibilities.
* Add note about memory management
* Add option to open channel in a new tab
* Add support for using the mouse
* Spawn switcher popup in the middle of the window
Works reliably on i3 at least. Might need some additional testing on
other WMs (and especially on Windows!).
* Add some icons for switcher items
Note that the final design of the list is not final but I do plan to
incorporate these in the future.
* Set Qt::Dialog window flag on switcher popup
Prevents tiling window managers like i3 from trying to tile the window.
* Rename "SwitcherItem" to "AbstractSwitcherItem"
* Add comments about what items are inserted
* Use custom model and view
Still missing: Currently selected item is not highlighted yet. You can
move between selected items with tab and arrow keys though.
* Add helper function to convert QVariant to AbstractSwitcherItem *
* Remove useless constant
* Highlight currently selected switcher item
* Use a different method for centering QuickSwitcherPopup window
* QuickSwitcherModel: Add documentation
* Add default parameter to QuickSwitcherModel::rowCount
* QuickSwitcherPopup: Add comments
* Remove outdated TODO
* QuickSwitcherModel: Init vector with default capacity
* Remove outdated comment
* Add comment about 0 ms timeout interval
* NewTabItem: Simplify interface
* Only fetch opened splits once
This is better than the prior approach since opened splits cannot change
anyways while the switcher is open.
* Use SplitContainer to pass information instead of custom type
* Allow searching for tab titles as well
Before this commit, only channel names could be searched.
* Refactor switcher item interface to be more flexible
Also show tab name and channel name in the switcher list.
* Add documentation for AbstractSwitcherItem
* Add documentation for NewTabItem
* Add comments about {begin,end}{Insert,Remove}Rows
* Remove unused method
* Replace magic size with named constant
* Add change log entry
Co-authored-by: fourtf <tf.four@gmail.com>
97 lines
3.5 KiB
Plaintext
97 lines
3.5 KiB
Plaintext
<RCC>
|
|
<qresource prefix="/"> <file>.gitignore</file>
|
|
<file>avatars/fourtf.png</file>
|
|
<file>avatars/pajlada.png</file>
|
|
<file>buttons/addSplit.png</file>
|
|
<file>buttons/addSplitDark.png</file>
|
|
<file>buttons/ban.png</file>
|
|
<file>buttons/banRed.png</file>
|
|
<file>buttons/copyDark.png</file>
|
|
<file>buttons/copyDark.svg</file>
|
|
<file>buttons/copyDarkTheme.png</file>
|
|
<file>buttons/copyLight.png</file>
|
|
<file>buttons/copyLight.svg</file>
|
|
<file>buttons/emote.svg</file>
|
|
<file>buttons/emoteDark.svg</file>
|
|
<file>buttons/menuDark.png</file>
|
|
<file>buttons/menuLight.png</file>
|
|
<file>buttons/mod.png</file>
|
|
<file>buttons/modModeDisabled.png</file>
|
|
<file>buttons/modModeDisabled2.png</file>
|
|
<file>buttons/modModeEnabled.png</file>
|
|
<file>buttons/modModeEnabled2.png</file>
|
|
<file>buttons/search.png</file>
|
|
<file>buttons/timeout.png</file>
|
|
<file>buttons/trashCan.png</file>
|
|
<file>buttons/trashcan.svg</file>
|
|
<file>buttons/unban.png</file>
|
|
<file>buttons/unmod.png</file>
|
|
<file>buttons/update.png</file>
|
|
<file>buttons/updateError.png</file>
|
|
<file>chatterino.icns</file>
|
|
<file>com.chatterino.chatterino.appdata.xml</file>
|
|
<file>com.chatterino.chatterino.desktop</file>
|
|
<file>contributors.txt</file>
|
|
<file>emoji.json</file>
|
|
<file>emojidata.txt</file>
|
|
<file>error.png</file>
|
|
<file>examples/moving.gif</file>
|
|
<file>examples/splitting.gif</file>
|
|
<file>icon.ico</file>
|
|
<file>icon.png</file>
|
|
<file>licenses/boost_boost.txt</file>
|
|
<file>licenses/emoji-data-source.txt</file>
|
|
<file>licenses/libcommuni_BSD3.txt</file>
|
|
<file>licenses/openssl.txt</file>
|
|
<file>licenses/pajlada_settings.txt</file>
|
|
<file>licenses/pajlada_signals.txt</file>
|
|
<file>licenses/qt_lgpl-3.0.txt</file>
|
|
<file>licenses/qtkeychain.txt</file>
|
|
<file>licenses/rapidjson.txt</file>
|
|
<file>licenses/websocketpp.txt</file>
|
|
<file>pajaDank.png</file>
|
|
<file>qss/settings.qss</file>
|
|
<file>scrolling/downScroll.png</file>
|
|
<file>scrolling/downScroll.svg</file>
|
|
<file>scrolling/neutralScroll.png</file>
|
|
<file>scrolling/neutralScroll.svg</file>
|
|
<file>scrolling/upScroll.png</file>
|
|
<file>scrolling/upScroll.svg</file>
|
|
<file>settings/about.svg</file>
|
|
<file>settings/aboutlogo.png</file>
|
|
<file>settings/accounts.svg</file>
|
|
<file>settings/advanced.svg</file>
|
|
<file>settings/behave.svg</file>
|
|
<file>settings/browser.svg</file>
|
|
<file>settings/commands.svg</file>
|
|
<file>settings/emote.svg</file>
|
|
<file>settings/externaltools.svg</file>
|
|
<file>settings/ignore.svg</file>
|
|
<file>settings/keybinds.svg</file>
|
|
<file>settings/moderation.svg</file>
|
|
<file>settings/notification2.svg</file>
|
|
<file>settings/notifications.svg</file>
|
|
<file>settings/theme.svg</file>
|
|
<file>sounds/ping2.wav</file>
|
|
<file>split/down.png</file>
|
|
<file>split/left.png</file>
|
|
<file>split/move.png</file>
|
|
<file>split/right.png</file>
|
|
<file>split/up.png</file>
|
|
<file>switcher/plus.svg</file>
|
|
<file>switcher/switch.svg</file>
|
|
<file>tlds.txt</file>
|
|
<file>twitch/admin.png</file>
|
|
<file>twitch/automod.png</file>
|
|
<file>twitch/broadcaster.png</file>
|
|
<file>twitch/cheer1.png</file>
|
|
<file>twitch/globalmod.png</file>
|
|
<file>twitch/moderator.png</file>
|
|
<file>twitch/prime.png</file>
|
|
<file>twitch/staff.png</file>
|
|
<file>twitch/subscriber.png</file>
|
|
<file>twitch/turbo.png</file>
|
|
<file>twitch/verified.png</file>
|
|
<file>twitch/vip.png</file>
|
|
</qresource>
|
|
</RCC> |