<commit_before>#include "VoiceStickUI.h"
#include <vector>

VoiceStickUI::VoiceStickUI(const QStringList& phonemNames, QWidget *parent)
    : QMainWindow(parent)
{
    //Init widgets
    m_menuBar = new QMenuBar(this);
        m_fileMenu = new QMenu("File", this);
            m_openAction                = new QAction("Open...", this);
            m_saveAction                = new QAction("Save", this);
            m_saveAsAction              = new QAction("Save As...", this);
            m_exitAction                = new QAction("Exit", this);
        m_editMenu= new QMenu("Edit", this);
            m_undoAction                = new QAction("Undo", this);
            m_redoAction                = new QAction("Redo", this);
            m_undoAllAction             = new QAction("Undo All...", this);
        m_profileMenu= new QMenu("Profile", this);
            m_newProfileAction          = new QAction("New Profile...", this);
            m_deleteProfileAction       = new QAction("Delete Profile...", this);
            m_deleteAllProfilesAction   = new QAction("Delete All Profiles...", this);
        m_helpMenu= new QMenu("Help", this);
            m_userManualAction          = new QAction("User Manual...", this);
            m_aboutVoiceStickAction     = new QAction("About VoiceStick...", this);<commit_msg>Open menus with keyboard (ALT+F to open file menu for example)<commit_after>#include "VoiceStickUI.h"
#include <vector>

VoiceStickUI::VoiceStickUI(const QStringList& phonemNames, QWidget *parent)
    : QMainWindow(parent)
{
    //Init widgets
    m_menuBar = new QMenuBar(this);
        m_fileMenu = new QMenu("&File", this);
            m_openAction                = new QAction("Open...", this);
            m_saveAction                = new QAction("Save", this);
            m_saveAsAction              = new QAction("Save As...", this);
            m_exitAction                = new QAction("Exit", this);
        m_editMenu= new QMenu("&Edit", this);
            m_undoAction                = new QAction("Undo", this);
            m_redoAction                = new QAction("Redo", this);
            m_undoAllAction             = new QAction("Undo All...", this);
        m_profileMenu= new QMenu("&Profile", this);
            m_newProfileAction          = new QAction("New Profile...", this);
            m_deleteProfileAction       = new QAction("Delete Profile...", this);
            m_deleteAllProfilesAction   = new QAction("Delete All Profiles...", this);
        m_helpMenu= new QMenu("&Help", this);
            m_userManualAction          = new QAction("User Manual...", this);
            m_aboutVoiceStickAction     = new QAction("About VoiceStick...", this);
{'fraction_non_alphanumeric': 0.12301440709272257, 'fraction_numerical': 0.0, 'mean_word_length': 1.985667034178611, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3615974', 'n_tokens_mistral': 777, 'n_tokens_neox': 751, 'n_words': 183}