38 class SimpleConfigDialog;
43 class IceProxyFinderBase;
103 template<
class...ProxyTypes>
109 template<
class ProxyType>
112 SimpleConfigDialogAdder<ProxyType>().addEntries(*
this, 0, {entryData});
115 template<
class ProxyType>
117 const std::string& description,
118 const std::string& mask)
120 addProxyFinder<ProxyType>({name, description, mask});
128 std::string
getProxyName(
const std::string& entryName)
const;
130 std::string
getProxyName(
const std::string& entryName,
const std::string& def)
const;
137 const std::string& label,
138 const std::string& defaultValue =
"");
141 bool hasLineEdit(
const std::string& entryName)
const;
143 std::string
get(
const std::string& entryName)
const;
145 std::string
get(
const std::string& entryName,
const std::string& def)
const;
148 struct SimpleConfigDialogAdderBase
150 virtual ~SimpleConfigDialogAdderBase() =
default;
159 template<
class...ProxyTs>
167 template<
class ProxyT,
class...ProxyTs>
176 this->implAddEntries(d,
index, entryData);
183 struct EntryCallbacks
185 std::function<std::string()> proxyName;
189 std::map<std::string, EntryCallbacks> entries;
190 std::map<std::string, QLineEdit*> lineEdits;
194 Ui::SimpleConfigDialog* ui;