<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def showAddColumnDialog(self, triggered):
 """Display the dialog to add a column to the model. This method is also a slot. Args: triggered (bool):
 If the corresponding button was activated, the dialog will be created and shown. """

        if triggered:
            dialog = AddAttributesDialog(self)
            dialog.accepted.connect(self.addColumn)
            dialog.rejected.connect(self.uncheckButton)
            dialog.show()