38 class SimpleConfigDialog;
43 class IceProxyFinderBase;
101 template <
class... ProxyTypes>
108 template <
class ProxyType>
112 SimpleConfigDialogAdder<ProxyType>().addEntries(*
this, 0, {entryData});
115 template <
class ProxyType>
118 const std::string& description,
119 const std::string& mask)
121 addProxyFinder<ProxyType>({name, description, mask});
129 std::string
getProxyName(
const std::string& entryName)
const;
131 std::string
getProxyName(
const std::string& entryName,
const std::string& def)
const;
138 const std::string& label,
139 const std::string& defaultValue =
"");
142 bool hasLineEdit(
const std::string& entryName)
const;
144 std::string
get(
const std::string& entryName)
const;
146 std::string
get(
const std::string& entryName,
const std::string& def)
const;
149 struct SimpleConfigDialogAdderBase
151 virtual ~SimpleConfigDialogAdderBase() =
default;
161 const std::vector<EntryData>& entryData);
164 template <
class... ProxyTs>
173 template <
class ProxyT,
class... ProxyTs>
185 const std::vector<EntryData>& entryData)
187 this->implAddEntries(d,
index, entryData);
192 template <
class... ProxyTs>
195 struct EntryCallbacks
197 std::function<std::string()> proxyName;
201 std::map<std::string, EntryCallbacks> entries;
202 std::map<std::string, QLineEdit*> lineEdits;
206 Ui::SimpleConfigDialog* ui;