  #include <QGridLayout>
  
  #include "keyboard.hpp"
  
  class InputField : public QWidget {
    Q_OBJECT
  
  public:
    explicit InputField(QWidget* parent = 0, int minTextLength = 0);
    void setPromptText(QString text);
 
</s> remove   explicit InputField(QWidget* parent = 0, int minTextLength = 0);
  void setPromptText(QString text);
  int minTextLength;
 </s> add   explicit InputDialog(QString prompt_text, QWidget* parent = 0);
  static QString getText(QString prompt);
  QString text(); </s> remove #include <QGridLayout>
 </s> add #include <QVBoxLayout> </s> remove   explicit Networking(QWidget* parent = 0);
 </s> add   explicit Networking(QWidget* parent = 0, bool show_advanced = true); </s> remove class Keyboard : public QWidget {
 </s> add class Keyboard : public QFrame { </s> remove const int DEFAULT_WIDTH = 1;
const int SPACEBAR_WIDTH = 3;
 </s> add const int DEFAULT_STRETCH = 1;
const int SPACEBAR_STRETCH = 3;
class InputDialog : public QDialog {
  #include <QGridLayout>
  
  #include "keyboard.hpp"
  
class InputDialog : public QDialog {
    Q_OBJECT
  
  public:
    explicit InputField(QWidget* parent = 0, int minTextLength = 0);
    void setPromptText(QString text);
keep keep keep keep replace keep keep keep keep keep
 Qt UI refactoring + improvements (#20033) 
selfdrive/ui/qt/widgets/input_field.hpp