summaryrefslogtreecommitdiff
path: root/src/leap/gui/firstrun/mixins.py
blob: c4731893a53a84b0b1ed7a7f7d52bc9d3c83d360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
mixins used in First Run Wizard
"""


class UserFormMixIn(object):

    def reset_validation_status(self):
        """
        empty the validation msg
        """
        self.validationMsg.setText('')

    def set_validation_status(self, msg):
        """
        set generic validation status
        """
        self.validationMsg.setText(msg)