wxMaxima
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
test_SymbolShortcutsPanel.cpp File Reference

Keyboard shortcuts for sidebar symbols (GH #2578), from the configuration dialogue's table to the worksheet: the table, the configuration, the shortcut dialog, a sidebar button with a symbol of several characters, and the worksheet typing the symbol when its shortcut is pressed. More...

#include <wx/app.h>
#include <wx/bitmap.h>
#include <wx/dcmemory.h>
#include <wx/frame.h>
#include <wx/log.h>
#include <wx/menu.h>
#include "Configuration.h"
#include "cells/EditorCell.h"
#include "cells/GroupCell.h"
#include "dialogs/SymbolShortcutDialog.h"
#include "dialogs/SymbolShortcutsPanel.h"
#include "sidebars/CharButton.h"
#include "sidebars/UnicodeSidebar.h"
#include "worksheet/Worksheet.h"
#include <catch2/catch.hpp>
Include dependency graph for test_SymbolShortcutsPanel.cpp:

Data Structures

class  TestApp
 

Functions

 wxDECLARE_APP (TestApp)
 
 SCENARIO ("The table lists the extra symbols and every symbol with a shortcut")
 
 SCENARIO ("Editing the table changes the configuration only when written")
 
 SCENARIO ("A shortcut belongs to one symbol")
 
 SCENARIO ("The shortcut dialog records keys and warns about clashes")
 
 SCENARIO ("The worksheet types a symbol when its shortcut is pressed")
 
 SCENARIO ("A sidebar button can enter a letter with an accent")
 
int main (int argc, char **argv)
 

Detailed Description

Keyboard shortcuts for sidebar symbols (GH #2578), from the configuration dialogue's table to the worksheet: the table, the configuration, the shortcut dialog, a sidebar button with a symbol of several characters, and the worksheet typing the symbol when its shortcut is pressed.