9 * @brief UiSelector class
23 UiSelector(UiSelector &selector);
25 // UiSelector(const UiSelector &src);
26 // UiSelector &operator= (const UiSelector& src);
33 UiSelector *id(std::string text);
39 UiSelector *text(std::string text);
45 UiSelector *pkg(std::string text);
51 UiSelector *type(std::string text);
57 UiSelector *style(std::string text);
63 UiSelector *depth(int depth);
69 UiSelector *depth(int minDepth, int maxDepth);
75 UiSelector *minDepth(int depth);
81 UiSelector *maxDepth(int depth);
87 UiSelector *isChecked(bool cond);
93 UiSelector *isCheckable(bool cond);
99 UiSelector *isClickable(bool cond);
105 UiSelector *isEnabled(bool cond);
111 UiSelector *isFocused(bool cond);
117 UiSelector *isFocusable(bool cond);
123 UiSelector *isScrollable(bool cond);
129 UiSelector *isSelected(bool cond);
135 UiSelector *isShowing(bool cond);
141 UiSelector *isActive(bool cond);
147 UiSelector *res(std::string text);
153 UiSelector *desc(std::string text);
159 UiSelector *hasChild(std::shared_ptr<UiSelector> child);
166 std::unique_ptr<std::string> mId;
172 std::unique_ptr<std::string> mText;
178 std::unique_ptr<std::string> mPkg;
184 std::unique_ptr<std::string> mType;
190 std::unique_ptr<std::string> mStyle;
196 std::unique_ptr<int> mMinDepth;
202 std::unique_ptr<int> mMaxDepth;
208 std::unique_ptr<bool> mIschecked;
214 std::unique_ptr<bool> mIscheckable;
220 std::unique_ptr<bool> mIsclickable;
226 std::unique_ptr<bool> mIsenabled;
232 std::unique_ptr<bool> mIsfocused;
238 std::unique_ptr<bool> mIsfocusable;
244 std::unique_ptr<bool> mIsscrollable;
250 std::unique_ptr<bool> mIsselected;
256 std::unique_ptr<bool> mIsshowing;
262 std::unique_ptr<bool> mIsactive;
268 std::unique_ptr<std::string> mRes;
274 std::vector<std::shared_ptr<UiSelector>> mChild;