code: def _create_options_dialog_action(self):
          
          icon = resources_path('img', 'icons', 'configure-inasafe.svg')
          self.action_options = QAction(
              QIcon(icon),
              self.tr('Options'), self.iface.mainWindow())
          self.action_options.setStatusTip(self.tr(
              'Open InaSAFE options dialog'))
          self.action_options.setWhatsThis(self.tr(
              'Open InaSAFE options dialog'))
          self.action_options.triggered.connect(self.show_options)
          self.add_action(self.action_options, add_to_toolbar=self.full_toolbar)
docs: Create action for options dialog.