21 QString tooltip =
"TMS images can be displayed at varying resolutions.\n"
22 "This setting allows for manual resolution selection.";
31 VAssert(rp &&
"Params must be ImageParams");
35 _vComboBox->setEnabled(
true);
37 _vComboBox->setEnabled(
false);
41 std::vector<std::string> options{
"default"};
43 for (
int i = 0; i < lods; i++) { options.push_back(std::to_string(i)); }
44 _vComboBox->SetOptions(options);
45 _vComboBox->SetIndex(rp->
GetTMSLOD() + 1);
49 void dropdownIndexChanged(
int i)
52 VAssert(rp &&
"Params must be ImageParams");
int GetNumTMSLODs() const
std::string GetImagePath() const
void IndexChanged(int index)
COMMON_API bool IsTMSFile(std::string path)