Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
f06512d5
Commit
f06512d5
authored
Sep 23, 2010
by
Tobias Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ExistingCommand in PathChooser where it makes sense
parent
37c641e6
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
+1
-1
src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
+1
-1
src/plugins/cvs/settingspage.cpp
src/plugins/cvs/settingspage.cpp
+1
-1
src/plugins/debugger/gdb/gdbchooserwidget.cpp
src/plugins/debugger/gdb/gdbchooserwidget.cpp
+1
-1
src/plugins/mercurial/optionspage.cpp
src/plugins/mercurial/optionspage.cpp
+1
-1
src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp
src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp
+1
-1
src/plugins/subversion/settingspage.cpp
src/plugins/subversion/settingspage.cpp
+1
-1
src/plugins/vcsbase/commonsettingspage.cpp
src/plugins/vcsbase/commonsettingspage.cpp
+2
-2
No files found.
src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
View file @
f06512d5
...
...
@@ -300,7 +300,7 @@ void CMakeRunPage::initWidgets()
fl
->
addRow
(
new
QLabel
(
text
,
this
));
// Show a field for the user to enter
m_cmakeExecutable
=
new
Utils
::
PathChooser
(
this
);
m_cmakeExecutable
->
setExpectedKind
(
Utils
::
PathChooser
::
Command
);
m_cmakeExecutable
->
setExpectedKind
(
Utils
::
PathChooser
::
Existing
Command
);
fl
->
addRow
(
"CMake Executable"
,
m_cmakeExecutable
);
}
...
...
src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
View file @
f06512d5
...
...
@@ -280,7 +280,7 @@ QWidget *CMakeSettingsPage::createPage(QWidget *parent)
QWidget
*
outerWidget
=
new
QWidget
(
parent
);
QFormLayout
*
formLayout
=
new
QFormLayout
(
outerWidget
);
m_pathchooser
=
new
Utils
::
PathChooser
;
m_pathchooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Command
);
m_pathchooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Existing
Command
);
formLayout
->
addRow
(
tr
(
"Executable:"
),
m_pathchooser
);
formLayout
->
addItem
(
new
QSpacerItem
(
0
,
0
,
QSizePolicy
::
Ignored
,
QSizePolicy
::
MinimumExpanding
));
m_pathchooser
->
setPath
(
cmakeExecutable
());
...
...
src/plugins/cvs/settingspage.cpp
View file @
f06512d5
...
...
@@ -47,7 +47,7 @@ SettingsPageWidget::SettingsPageWidget(QWidget *parent) :
QWidget
(
parent
)
{
m_ui
.
setupUi
(
this
);
m_ui
.
commandPathChooser
->
setExpectedKind
(
PathChooser
::
Command
);
m_ui
.
commandPathChooser
->
setExpectedKind
(
PathChooser
::
Existing
Command
);
m_ui
.
commandPathChooser
->
setPromptDialogTitle
(
tr
(
"CVS Command"
));
}
...
...
src/plugins/debugger/gdb/gdbchooserwidget.cpp
View file @
f06512d5
...
...
@@ -521,7 +521,7 @@ BinaryToolChainDialog::BinaryToolChainDialog(QWidget *parent) :
setWindowFlags
(
windowFlags
()
&
~
Qt
::
WindowContextHelpButtonHint
);
setWindowTitle
(
tr
(
"Select binary and toolchains"
));
m_pathChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Command
);
m_pathChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Existing
Command
);
m_pathChooser
->
setPromptDialogTitle
(
tr
(
"Gdb binary"
));
connect
(
m_pathChooser
,
SIGNAL
(
validChanged
()),
this
,
SLOT
(
slotValidChanged
()));
m_mainLayout
->
addRow
(
tr
(
"Path:"
),
m_pathChooser
);
...
...
src/plugins/mercurial/optionspage.cpp
View file @
f06512d5
...
...
@@ -44,7 +44,7 @@ OptionsPageWidget::OptionsPageWidget(QWidget *parent) :
QWidget
(
parent
)
{
m_ui
.
setupUi
(
this
);
m_ui
.
commandChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Command
);
m_ui
.
commandChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Existing
Command
);
m_ui
.
commandChooser
->
setPromptDialogTitle
(
tr
(
"Mercurial Command"
));
}
...
...
src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp
View file @
f06512d5
...
...
@@ -161,7 +161,7 @@ QWidget *QmlProjectRunConfiguration::createConfigurationWidget()
connect
(
ProjectExplorer
::
ProjectExplorerPlugin
::
instance
(),
SIGNAL
(
fileListChanged
()),
SLOT
(
updateFileComboBox
()));
Utils
::
PathChooser
*
qmlViewer
=
new
Utils
::
PathChooser
;
qmlViewer
->
setExpectedKind
(
Utils
::
PathChooser
::
Command
);
qmlViewer
->
setExpectedKind
(
Utils
::
PathChooser
::
Existing
Command
);
qmlViewer
->
setPath
(
m_qmlViewerCustomPath
);
connect
(
qmlViewer
,
SIGNAL
(
changed
(
QString
)),
this
,
SLOT
(
onViewerChanged
()));
...
...
src/plugins/subversion/settingspage.cpp
View file @
f06512d5
...
...
@@ -47,7 +47,7 @@ SettingsPageWidget::SettingsPageWidget(QWidget *parent) :
QWidget
(
parent
)
{
m_ui
.
setupUi
(
this
);
m_ui
.
pathChooser
->
setExpectedKind
(
PathChooser
::
Command
);
m_ui
.
pathChooser
->
setExpectedKind
(
PathChooser
::
Existing
Command
);
m_ui
.
pathChooser
->
setPromptDialogTitle
(
tr
(
"Subversion Command"
));
}
...
...
src/plugins/vcsbase/commonsettingspage.cpp
View file @
f06512d5
...
...
@@ -50,10 +50,10 @@ CommonSettingsWidget::CommonSettingsWidget(QWidget *parent) :
m_ui
(
new
Ui
::
CommonSettingsPage
)
{
m_ui
->
setupUi
(
this
);
m_ui
->
submitMessageCheckScriptChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Command
);
m_ui
->
submitMessageCheckScriptChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Existing
Command
);
m_ui
->
nickNameFieldsFileChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
File
);
m_ui
->
nickNameMailMapChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
File
);
m_ui
->
sshPromptChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Command
);
m_ui
->
sshPromptChooser
->
setExpectedKind
(
Utils
::
PathChooser
::
Existing
Command
);
}
CommonSettingsWidget
::~
CommonSettingsWidget
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment