Mercurial > minori
comparison src/gui/pages/anime_list.cpp @ 46:d0adc4aedfc8
*: update...
this commit:
1. consolidates dark theme stuff to dark_theme.cpp
2. creates a new widgets folder to store all of our
custom widgets
3. creates the list settings page in the information
dialog, although much of it is nonfunctional: it
doesn't save, and the status doesn't even get filled
in... we'll fix this later!
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sat, 23 Sep 2023 01:02:15 -0400 |
| parents | d05b1be2f3a6 |
| children | d8eb763e6661 |
comparison
equal
deleted
inserted
replaced
| 45:4b05bc7668eb | 46:d0adc4aedfc8 |
|---|---|
| 393 QSize t(0, tree_view->frameWidth()); | 393 QSize t(0, tree_view->frameWidth()); |
| 394 if (tab_bar->isVisibleTo(this)) { | 394 if (tab_bar->isVisibleTo(this)) { |
| 395 t = tab_bar->sizeHint(); | 395 t = tab_bar->sizeHint(); |
| 396 t.setWidth(width()); | 396 t.setWidth(width()); |
| 397 } | 397 } |
| 398 | |
| 398 option->tabBarSize = t; | 399 option->tabBarSize = t; |
| 399 | 400 |
| 400 QRect selected_tab_rect = tab_bar->tabRect(tab_bar->currentIndex()); | 401 QRect selected_tab_rect = tab_bar->tabRect(tab_bar->currentIndex()); |
| 401 selected_tab_rect.moveTopLeft(selected_tab_rect.topLeft() + option->tabBarRect.topLeft()); | 402 selected_tab_rect.moveTopLeft(selected_tab_rect.topLeft() + option->tabBarRect.topLeft()); |
| 402 option->selectedTabRect = selected_tab_rect; | 403 option->selectedTabRect = selected_tab_rect; |
