MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / setDialog

Method setDialog

source/ui/widget/QFileEdit.h:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 connect(&m_system, &QAction::triggered, this, [this] { QString file = QFileDialog::getOpenFileName(this, m_title, m_dir, m_type); if (!file.isEmpty()) QLineEdit::setText(QDir::toNativeSeparators(file)); });
30 }
31
32 void setDialog(const QString& title, const QString type, const QString dir)
33 {
34 m_system.setText(title);
35 m_title = title;
36 m_type = type;
37 m_dir = dir;
38 }
39
40 void setFiles(const QList<QString>& sounds)

Callers 2

InitMethod · 0.80
InitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected