Exemplo n.º 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))
Exemplo n.º 2
0
 def on_browseButton_pressed(self):
     path = KFileDialog.getExistingDirectory(self.parentWidget(), i18n("Choose Directory"))
     if path != '':
Exemplo n.º 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)
Exemplo n.º 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)