tools/designer/src/lib/shared/filterwidget_p.h
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
    64 class QPushButton;
    64 class QPushButton;
    65 
    65 
    66 namespace qdesigner_internal {
    66 namespace qdesigner_internal {
    67 
    67 
    68 /* A line edit that displays a grayed hintText (like "Type Here to Filter")
    68 /* A line edit that displays a grayed hintText (like "Type Here to Filter")
    69  * when not focussed and empty. When connecting to the changed signals and
    69  * when not focused and empty. When connecting to the changed signals and
    70  * querying text, one has to be aware that the text is set to that hint
    70  * querying text, one has to be aware that the text is set to that hint
    71  * text if isShowingHintText() returns true (that is, does not contain
    71  * text if isShowingHintText() returns true (that is, does not contain
    72  * valid user input). This widget should never have initial focus
    72  * valid user input). This widget should never have initial focus
    73  * (ie, be the first widget of a dialog, else, the hint cannot be displayed.
    73  * (ie, be the first widget of a dialog, else, the hint cannot be displayed.
    74  * For situations, where it is the only focusable control (widget box),
    74  * For situations, where it is the only focusable control (widget box),