summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/sessiondialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Session Manager: fix capitalization of UI textLeena Miettinen2014-07-161-4/+4
| | | | | Change-Id: Ic9b73f694ceeff7dbefc02126551124818e7a358 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Session: Make Switch to button work when cloning sessionsTobias Hunger2013-11-121-17/+17
| | | | | | | | | Make Switch to button work in dialog shown when cloning sessions in the session manager. Task-number: QTCREATORBUG-10701 Change-Id: I6901a6cb842eabbfa38b25f3cc4925bec43c61a4 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* ProjectExplorer: Clean up remaining SessionManager useshjk2013-09-051-19/+19
| | | | | Change-Id: I170edc81cc2bcb4de4168c5ec38d3897c2e7c7e8 Reviewed-by: David Schulz <david.schulz@digia.com>
* SessionManager: Ask the user before deleting a sesion.Daniel Teske2013-05-271-1/+5
| | | | | | Task-number: QTCREATORBUG-9272 Change-Id: I636be81544cf114405fbf70e4ee5724c4fd43685 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Remove braces for single lines of conditionsOrgad Shaneh2013-01-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by: hjk <qthjk@ovi.com>
* | Add whitespace after control keywordsOrgad Shaneh2012-11-281-1/+1
|/ | | | | | | | find -name \*.cpp -o -name \*.h | \ xargs sed -Ei 's/ (for|foreach|if|switch|while)\(/ \1 (/g' Change-Id: I9efdff4bf0c8c01a52baaaeb75198483c77b0390 Reviewed-by: hjk <qthjk@ovi.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Normalized connect()sRobert Loehning2012-03-061-2/+2
| | | | | | Change-Id: Id353ab140a46e06ffc3abf667ab3b234e749e17c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* WelcomePage: Add tooltip for sessionsThomas Hartmann2012-02-231-22/+0
| | | | | | | | | | | | | | | | | | | | | | The tooltip allows renaming, cloning and deleting and shows included projects. The following method was added to Session: QStringList projectsForSessionName(const QString &session) const; I moved the SessionNameInputDialog into the header to reuse it. I added new roles to SessionModel (ProjectsPathRole, ProjectsDisplayRole). The following slots were added to SessionModel to expose the backend functionality: void cloneSession(const QString &session); void deleteSession(const QString &session); void renameSession(const QString &session); Change-Id: I0182a26dc63b4f051ea948756decd5413c832c60 Reviewed-by: hjk <qthjk@ovi.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-2/+2
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII.Friedemann Kleint2012-01-091-6/+6
| | | | | | | | - Add missing translations - Remove some unneeded conversions. Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Give SessionDialog a parent widgetJarek Kobus2011-11-221-2/+2
| | | | | | | | In this way there is no additional item on taskbar Change-Id: Ib946064f3d859a61eaa5495bc4fb7740b641e154 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Add "Switch To" button to new sessionDaniel Teske2011-07-081-1/+24
| | | | | | | | Task-number: QTCREATORBUG-5310 Change-Id: I16d61be00c8d49957c286cde0b8ca0c5bae69756 Reviewed-on: http://codereview.qt.nokia.com/1308 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* License headers.con2010-12-171-7/+11
|
* Session manager: Enable clone/switch if there's an item currently selected.Leandro Melo2010-10-111-0/+2
| | | | Reviewed-by: dt
* Session Manager: Fix crashes after renamingdt2010-09-301-13/+12
| | | | | | Some of the buttons weren't disabled. Reviewed-By: Leandro Melo
* Add option to restore last session at startupTobias Hunger2010-09-141-0/+11
| | | | | | | | | | | | * Add an option to the session manager to restore the last session on startup of creator. * Align close button on session manager dialog with the other buttons. * Clean up handling of session restoration in the ProjectExplorer: Move all the relevant code into determineSessionToRestoreAtStartup, since most was there already. Task-number: QTCREATORBUG-2324
* Session Manager: Session names are file names, prevent some special charsdt2010-09-071-0/+8
| | | | Task-Nr: QTCREATORBUG-2276
* Session Dialog: Fixes italic/bold after adding new/cloning sessionsdt2010-08-301-0/+2
| | | | Task-Nr: QTCREATORBUG-2069
* Set a parent for the New and Rename Session dialogsThorbjørn Lindeijer2010-06-161-8/+20
| | | | | | Fixes window manager glitches at least on GNOME. Reviewed-by: dt
* Using selected session's name as initial value when cloning or renamingRobert Loehning2010-05-201-4/+5
| | | | session
* Modify behaviour of sessions on the welcomescreen and tweak the session managerDaniel Molkentin2010-04-211-28/+70
| | | | | | | | | - List sessions by recent use instead of alphabetically - Tweak the session manager. It is now a persistent dialog with only a close button - Implement session renaming in the session manager - Cleanups Task-Number: QTCREATORBUG-1168
* Long live the king!hjk2010-03-051-1/+1
|
* long live the kinghjk2009-08-141-1/+1
|
* Changed the 'session manager' dialogDenis Dzyubenko2009-07-311-12/+14
| | | | | | | | There is not much sense to have Ok and Cancel button that just close the dialog, so instead there should be a Close button and a button to switch to the currently selected session. Reviewed-by: dt
* Sort the session list alphabetically.dt2009-07-211-4/+10
| | | | Task-Nr: 257986
* Removing some unused semicolons after Q_UNUSEDAlessandro Portale2009-07-131-1/+1
| | | | There were both variants, with and without extra semicolon.
* Update license headers and sales contact details.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Session manager will no longer try to load a session when clicking OK.Daniel Molkentin2009-06-051-4/+2
| | | | | | | This double role of managing sessions *and* loading the active one was always a bit odd and confusing (unexpected behavior). Reviewed-By: dt
* welcome screen: preview in news feed, Buttons added, resizing sanatizedDaniel Molkentin2009-05-281-0/+1
| | | | | | | Manage Sessions replaces "Restore last session" (which can be done by clicking the "(last session)" session anyway. Also, added a "Create New Project" button. Ensured that the welcome screen is only as high as needed (will orient on the amount of items in the contained treewidgets). Scrolling is still last resort.
* add some missing Q_OBJECTsOswald Buddenhagen2009-04-201-0/+3
|
* add missing tr()s, etc., add some //: commentsOswald Buddenhagen2009-04-201-2/+2
|
* Fixes: change file license headers to include LGPLhjk2009-02-251-21/+17
|
* Bump year in licence header.Daniel Molkentin2009-01-131-1/+1
|
* chancge Nokia GPL exception version from 1.2 to 1.3hjk2008-12-161-1/+1
|
* some more whitespace changeshjk2008-12-091-1/+1
|
* more code cosmeticshjk2008-12-021-3/+3
|
* off-by-one in headershjk2008-12-021-1/+0
|
* end-of-line whitespace correction of the new headershjk2008-12-021-10/+11
|