summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/ProcessChooser.cpp
AgeCommit message (Collapse)Author
2020-09-17LibGUI: Set ProcessChooser key column and sort order after set_model (#3521)Uma Sankar
Need to set the sort order after model was set to sort the table.
2020-08-16LibGUI+DevTools+Applications: Use ModelIndex::data() in many placesAndreas Kling
This way you don't have to keep track of which model it came from.
2020-08-16LibGUI: Move GUI::Model::Role to GUI::ModelRoleAndreas Kling
This is preparation for using ModelRole in the ModelIndex API.
2020-08-16LibGUI: Make model sorting imperative and move order to AbstractViewAndreas Kling
Instead of SortingProxyModel having a column+order, we move that state to AbstractView. When you click on a column header, the view tells the model to resort the relevant column with the new order. This is implemented in SortingProxyModel by simply walking all the reified source/proxy mappings and resorting their row indexes.
2020-08-15LibGUI: Make ProcessChooser accept double clicks on rows as "Ok" clickNico Weber
2020-08-15LibGUI: Remove reference captures of stack variables in ProcessChooserNico Weber
Since all reference-captured variables where pointers to non-stack objects whose owners outlive the lambdas, things were fine in practice, but it's a bit brittle and it makes a change I want to make in this code more difficult.
2020-08-15LibGUI: Add and use Window::center_on_screen()Linus Groh
Various applications were using the same slightly verbose code to center themselves on the screen/desktop: Gfx::IntRect window_rect { 0, 0, width, height }; window_rect.center_within(GUI::Desktop::the().rect()); window->set_rect(window_rect); Which now becomes: window->resize(width, height); window->center_on_screen();
2020-08-15LibGUI: Add a timer in ProcessChooser to get processes for every 1000msUma Sankar
2020-07-28DevTools+LibGUI: Make ProcessChooser a general Dialog in LibGUIthankyouverycool
Moves ProcessChooser and RunningProcessesModel to LibGUI and generalizes their construction for use by other apps. Updates Profiler to reflect the change and use its new icons.