Skip to content

Commit

Permalink
Fixed Login form
Browse files Browse the repository at this point in the history
Updated icons size, corrected logic of Login form
  • Loading branch information
rompik committed Jul 7, 2022
1 parent 8e6dd68 commit 605dcf4
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Python/Login.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,19 +176,14 @@ def setupUi( self ):
self.buttonChange.clicked.connect( self.changePassword )
self.groupButtonsModule.buttonClicked.connect( self.accept )
self.buttonCreate.clicked.connect( self.createProject )
self.groupButtonsProject.buttonClicked.connect( self.selectProject )
#self.groupButtonsProject.buttonClicked.connect( self.selectProject )

# Deactive widgets before selecting project
self.btnDesign.setEnabled(False)
self.btnParagon.setEnabled(False)
self.btnAdmin.setEnabled(False)
self.btnProjectPrevious.setEnabled(False)

# if len( PipeCad.Projects ) == 1:
# self.btnProjectNext.setEnabled(False)
# else:
# self.btnProjectNext.setEnabled(True)

self.selectProject()

# setupUi
Expand Down Expand Up @@ -270,13 +265,13 @@ def selectUser(self):
# if
# selectUser

def accept( self ):
def accept( self, theButton ):

if self.selectedProject is None:
return
# if

aSession = self.selectedProject.CreateSession( self.comboBoxMdb.currentText, self.comboBoxUser.currentText, self.lineEditPassword.text, str(theButton.objectName) )
aSession = self.selectedProject.CreateSession( self.comboBoxMdb.currentText, self.comboBoxUser.currentText, self.lineEditPassword.text, str(theButton.objectName) )
if aSession is None:
return
# if
Expand Down
Binary file modified Python/icons/common/32x32_arrow_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Python/icons/common/32x32_arrow_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Python/icons/common/32x32_explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Python/icons/login/128x128_arrow_left.png
Binary file not shown.
Binary file removed Python/icons/login/128x128_arrow_right.png
Binary file not shown.
Binary file modified Python/icons/login/128x128_select_admin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Python/icons/login/128x128_select_design.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Python/icons/login/128x128_select_paragon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Python/icons/login/128x128_select_project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 605dcf4

Please sign in to comment.