我写了一个记事本,看起来像Windows中的记事本。如何设置为在 QTextEdit 为空时禁用查找操作,但在其中有内容时启用查找操作
qt-creator qt-designer qt5
qt-creator ×1
qt-designer ×1
qt5 ×1