setMaximumHeight(document()->size().toSize().height());
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setMaximumHeight(document()->size().toSize().height());
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
void InputLine::showHistoryEntry() {
// if the user changed the history, display the changed line
tempHistory.contains(idx) ? setText(tempHistory[idx]) : setText(history[idx]);
void InputLine::showHistoryEntry() {
// if the user changed the history, display the changed line
tempHistory.contains(idx) ? setText(tempHistory[idx]) : setText(history[idx]);