1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

SQLStudio: Add GUI for query results

Add the necessary GUI elements (button, table) so that one can click a
button to run the currently-open script, and see the results in a
user-friendly table.
This commit is contained in:
martinfalisse 2022-06-05 17:52:42 +02:00 committed by Linus Groh
parent 224924885d
commit 4461dad0f3
2 changed files with 18 additions and 0 deletions

View file

@ -47,10 +47,13 @@ private:
RefPtr<GUI::Action> m_paste_action;
RefPtr<GUI::Action> m_undo_action;
RefPtr<GUI::Action> m_redo_action;
RefPtr<GUI::Action> m_run_script_action;
int m_new_script_counter { 1 };
RefPtr<GUI::TabWidget> m_tab_widget;
RefPtr<GUI::Statusbar> m_statusbar;
RefPtr<GUI::GroupBox> m_query_results_widget;
RefPtr<GUI::TableView> m_query_results_table_view;
};
}