Qt4: Hide buttons not matching typed command

There are way too many buttons on the extended command window.
Let the user type a letter or two, and hide the buttons that don't
match.
This commit is contained in:
Ray Chason
2018-09-10 21:13:32 +03:00
committed by Pasi Kallinen
parent 25f770509a
commit c13eed7369
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -21,6 +21,8 @@ public:
private:
QLabel *prompt;
QVector<QPushButton *> buttons;
void enableButtons();
private slots:
void cancel();