Example #1
0
 def addDir(self):
     path = KFileDialog.getExistingDirectory(
         KUrl('')
       , self
       , i18nc('@title:window', 'Select a Directory with CMake Modules')
       )
     kate.kDebug('CMakeCC: got path={}'.format(path))
     self.moduleDirs.addItem(str(path))
Example #2
0
 def on_browseButton_pressed(self):
     path = KFileDialog.getExistingDirectory(self.parentWidget(), i18n("Choose Directory"))
     if path != '':
Example #3
0
 def on_browseButton_pressed(self):
     path = KFileDialog.getExistingDirectory(self.parentWidget(),
                                             i18n("Choose Directory"))
     if path != '':
         self.path = path
         self.folderLabel.setText(self.path)
Example #4
0
 def on_browseButton_pressed(self):
     path = KFileDialog.getExistingDirectory(self.parentWidget(), i18n("Choose Directory"))
     if path != '':
         self.path = path
         self.folderLabel.setText(self.path)