MCPcopy Create free account
hub / github.com/davy7125/polyphone / EditKey

Method EditKey

sources/context/interface/editkey.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include "editkey.h"
26
27EditKey::EditKey(int octave, ConfManager::Key key, QWidget *parent) : QLineEdit(parent),
28 _octave(octave),
29 _key(key)
30{
31 setReadOnly(true);
32 setAlignment(Qt::AlignCenter | Qt::AlignHCenter);
33 this->setStyleSheet("QLineEdit{border: 0px; padding-left: 2px;}");
34
35}
36
37void EditKey::updateText()
38{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected