mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
Spreadsheet: Display a detailed view of a cell error on hover
With this, Spreadsheet can now show an almost full stack trace for the error (which is infintely better than just the error message).
This commit is contained in:
parent
64ef808aeb
commit
db4a5aafc8
6 changed files with 62 additions and 1 deletions
|
@ -13,6 +13,11 @@ namespace Spreadsheet {
|
|||
|
||||
class SheetModel final : public GUI::Model {
|
||||
public:
|
||||
enum class Role : UnderlyingType<GUI::ModelRole> {
|
||||
_Custom = to_underlying(GUI::ModelRole::Custom),
|
||||
Tooltip,
|
||||
};
|
||||
|
||||
static NonnullRefPtr<SheetModel> create(Sheet& sheet) { return adopt_ref(*new SheetModel(sheet)); }
|
||||
virtual ~SheetModel() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue