Changeset 16467


Ignore:
Timestamp:
Aug 2, 2016, 5:04:12 PM (3 years ago)
Author:
dcorreia
Message:

Updated gui learning attempts

Location:
internals/2016/linuxloginsmartcardwizard/trunk/guilearning/qtdesigner/seriouswiz
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • internals/2016/linuxloginsmartcardwizard/trunk/guilearning/qtdesigner/seriouswiz/carduser.py

    r16450 r16467  
    6666        self.cardVLayout.addWidget(self.cardErrorLabel)
    6767
    68         self.setTitle("Screen 3 / Insert Smart Card")
    69         self.setSubTitle("Reading smartcard information")
     68        self.setTitle("Add User Login")
     69        self.setSubTitle("Configuration of smartcard and username")
    7070        self.userTextLabel.setText("Please select a username from the list")
    7171        self.cardTextLabel.setText("Please insert the smartcard")
     
    9797        return self.checkSelectedBox()
    9898
    99     def runScripts(self):
     99    def runInitScripts(self):
    100100        print("Run card+user scripts...")
    101101       
  • internals/2016/linuxloginsmartcardwizard/trunk/guilearning/qtdesigner/seriouswiz/final.py

    r16450 r16467  
    2121        self.finalVLayout.addWidget(self.finalTextLabel)
    2222
    23         self.setTitle("Screen 4 / Final Screen")
     23        self.setTitle("Add User Login")
    2424        self.setSubTitle("Conclusion")
    2525        self.resultTextLabel.setText("Added login configuration for username X with smartcard Y.")
    2626        self.finalTextLabel.setText("Application finished.")
    2727
    28     def runScripts(self):
     28    def runInitScripts(self):
    2929        print("Run final scripts...")
  • internals/2016/linuxloginsmartcardwizard/trunk/guilearning/qtdesigner/seriouswiz/system.py

    r16450 r16467  
    3737        self.systemVLayout.addWidget(self.systemErrorLabel)
    3838
    39         self.setTitle("Screen 2 / Check configurations")
    40         self.setSubTitle("Verify system packages and username")
     39        self.setTitle("Add User Login")
     40        self.setSubTitle("Verification system packages")
    4141        self.systemTextLabel.setText("Checking system for necessary packages...")
    4242        self.systemErrorLabel.setText("(system error messages or sucess)")
     
    4848        return self.checkSystem()
    4949
    50     def runScripts(self):
     50    def runInitScripts(self):
    5151        print("Run system scripts...")
    5252        print("Checking system stuff...")
  • internals/2016/linuxloginsmartcardwizard/trunk/guilearning/qtdesigner/seriouswiz/w4pages.py

    r16450 r16467  
    2525        self.setOptions(QtWidgets.QWizard.HaveHelpButton|QtWidgets.QWizard.NoBackButtonOnLastPage|QtWidgets.QWizard.NoBackButtonOnStartPage)
    2626        self.setTitleFormat(QtCore.Qt.AutoText)
    27         self.setWindowTitle("Add User Login")
     27        self.setWindowTitle("SmartCard Login")
    2828
    2929        self.wizardPage1 = welcome.WelcomePage()
     
    4444
    4545    def test(self):
    46         self.currentPage().runScripts()
     46        self.currentPage().runInitScripts()
    4747
    4848if __name__ == "__main__":
  • internals/2016/linuxloginsmartcardwizard/trunk/guilearning/qtdesigner/seriouswiz/welcome.py

    r16450 r16467  
    2828        self.welcomeVLayout.addWidget(self.welcomeTextLabel3)
    2929
    30         self.setTitle("Screen 1 / Welcome Screen")
    31         self.setSubTitle("Introduction to wizard")
     30        self.setTitle("Add User Login")
     31        self.setSubTitle("Introduction to the wizard")
    3232        self.welcomeTextLabel1.setText("This is the Welcome Screen for the application.")
    3333        self.welcomeTextLabel2.setText("Press Next to go to the next step.")
    3434        self.welcomeTextLabel3.setText("Press Cancel to close the application.")
    3535
    36     def runScripts(self):
     36    def runInitScripts(self):
    3737        print("Run welcome scripts...")
Note: See TracChangeset for help on using the changeset viewer.