@@ -44,6 +44,12 @@ namespace rmv
4444 // / @param [in] max The maximum size.
4545 void SetSizeFilter (uint64_t min, uint64_t max);
4646
47+ // / @brief Specify range to use as mip level filter.
48+ // /
49+ // / @param [in] min The minimum mip level.
50+ // / @param [in] max The maximum mip level.
51+ void SetMipLevelFilter (uint64_t min, uint64_t max);
52+
4753 // / @brief Get content from proxy model.
4854 // /
4955 // / @param [in] row The row where the data is located.
@@ -98,6 +104,15 @@ namespace rmv
98104 // / @return true if the table item at row,column is to be shown, false if not.
99105 bool FilterSizeSlider (int row, int column, const QModelIndex& source_parent) const ;
100106
107+ // / @brief Filter the mip level slider.
108+ // /
109+ // / @param [in] row The row to apply the mip level filter to.
110+ // / @param [in] column The column to apply the mip level filter to.
111+ // / @param [in] source_parent The parent model index in the source model.
112+ // /
113+ // / @return true if the table item at row,column is to be shown, false if not.
114+ bool FilterMipLevelSlider (int row, int column, const QModelIndex& source_parent) const ;
115+
101116 // / @brief Filter the search string.
102117 // /
103118 // / @param [in] row The row to apply the size filter to.
@@ -117,6 +132,8 @@ namespace rmv
117132 QString search_filter_; // /< The current search string.
118133 uint64_t min_size_; // /< The minimum size of the size filter.
119134 uint64_t max_size_; // /< The maximum size of the size filter.
135+ uint64_t min_mip_level_; // /< The minimum size of the mip level filter.
136+ uint64_t max_mip_level_; // /< The maximum size of the mip level filter.
120137 };
121138} // namespace rmv
122139
0 commit comments