summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
Commit message (Collapse)AuthorAgeFilesLines
* cmake-gui: Use the QStandardItemModel workaround until 5.1.0.Stephen Kelly2013-03-191-1/+1
| | | | | | | | | | If there is a Qt 5.0.3 release, it may or may not contain the patch that fixes this issue. http://thread.gmane.org/gmane.comp.lib.qt.releasing/882 Just use the workaround until 5.1.0 which certainly will contain the fix. Don't use the workaround before Qt 5.0.0.
* cmake-gui: Workaround bug in Qt 5.0.0 to 5.0.3 QStandardItemModelStephen Kelly2013-03-121-1/+5
| | | | | | | | The commit in qtbase 9dfba89c (Add implementations of QAIM::sibling in public APIs., 2012-09-26) added a buggy implementation of sibling(), and the commit f136701b (Use the base implementation of QAbstractItemModel::sibling in QSIM., 2013-02-21) resolves it. Workaround the bug for Qt releases that have it.
* cmake-gui: Use -fPIE if required by Qt.Stephen Kelly2013-03-121-0/+2
|
* Enable deprecated API when using Qt 5.Stephen Kelly2012-09-231-0/+2
| | | | | | | | | | | The QAbstractItemModel::reset() method is deprecated in Qt 5, and therefore not part of the API by default (on non-Windows). The replacement for it is beginResetModel/endResetModel which are available from Qt 4.6 onwards. The minimum version of Qt required is currently 4.4, so enable the deprecated API instead of changing that.
* Build with Qt5 if it is found.Stephen Kelly2012-08-221-6/+23
|
* Compile with both Qt4 and Qt5.Stephen Kelly2012-08-211-0/+4
|
* Replace two include_directories with a setting.Stephen Kelly2012-08-211-2/+1
|
* Remove an if which is always true.Stephen Kelly2012-08-211-7/+6
| | | | CMake based CMake build requires version 2.8.2 as of version 2.8.9.
* Move variable setting down to where it relates to.Stephen Kelly2012-08-211-1/+1
|
* Use CMake platform variables instead of Qt ones.Stephen Kelly2012-08-211-2/+2
| | | | The Qt ones no longer exist in Qt 5.
* Add a return-after-error if an old Qt is found.Stephen Kelly2012-08-211-94/+93
| | | | No need for an else after a return.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-132-12/+12
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-132-52/+52
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-1311-104/+104
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Ensure 3rd party libraries are writable.Nicolas Despres2012-07-171-4/+5
| | | | | This patch fixes CMake.Install when Qt4 is installed read-only by packaging system like Homebrew.
* cmake-gui: Fix code to respect current locale.Clinton Stimpson2012-07-066-86/+90
| | | | | This means non-ascii characters now work correctly on systems that have a non-ascii 8 bit encoding as the current locale.
* cmake-gui: Wait for configure/generate thread to complete before exiting.Clinton Stimpson2012-04-301-1/+1
| | | | A prevous fix to interrupt granularity makes it so we don't have to wait very long.
* Merge topic 'ImproveCPackDoc-reloaded'David Cole2012-02-141-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4b77eb Avoid discovering system infos for documentation. Adding some path is enough. 9002f73 Fix non existent std::string::clear on VS6 02ccb32 Create getDocumentedModulesListInDir which may be used in other context. 24fbc28 Add missing section markup for CPackComponent bafd8a9 Example of builtin variable documentation (i.e. only used in C++ source code). 543f1ad Make the load of script documentation more efficient and dynamic. cdbd1a9 Fix another compiler warning due to a typo 52c53de Really avoid compiler warning about unused vars 37f90ed Calm down compiler warning about unused var 7c82b7f Fix potential bad memory access, thanks to Eike 62b589b Suppress unused var, beautify code, avoid 1 extra newline. 751713f Update bash completion file in order to handle new CPack doc options. 1629615 CPack Documentation extraction from CMake script begins to work 83e34dd Implement simple CMake script comment markup language. c6a0169 CPack begin the implementation of --help-command* and --help-variables*
| * CPack begin the implementation of --help-command* and --help-variables*Eric NOULARD2012-01-221-0/+1
| | | | | | | | | | | | This modifications set tries to keep the unified doc for cmake/ctest/cpack while introducing tool specific documentation separated. Some documentation sections for CMake do not fit well to CPack.
* | cmake-gui: Improve interrupt granularity to fix bug 12649.Clinton Stimpson2012-01-024-6/+19
|/ | | | | | | Instead of enabling interrupt only when a progress or message callback is called, add a new callback specifically for interrupt. This new callback is called from GetFatalErrorOccured() so cmake-gui can immediately report interrupt status instead of calling queuing a call to cmSystemTools::SetFatalErrorOccured() and waiting for the progress or message callback to be called to process that queued call.
* Merge topic 'qtdialog-quit'David Cole2011-12-161-0/+2
|\ | | | | | | | | 56e0499 QtDialog: Set Ctrl+Q as the shortcut for quitting the program.
| * QtDialog: Set Ctrl+Q as the shortcut for quitting the program.Raphael Kubo da Costa2011-12-151-0/+2
| | | | | | | | | | | | QKeySequence::Quit does not work on all platforms, and since it translates to Ctrl+Q on all platforms where it does work, Ctrl+Q was hardcoded instead.
* | Remove the apparently outdated README in Source/QtDialog.Raphael Kubo da Costa2011-12-151-3/+0
|/ | | | | | Qt has been LGPL-licensed for a few years, so the clause mentioning only developers with a paid Qt license can change the code seems to be outdated.
* cmake-gui: add completion for the names when adding cache entriesAlex Neundorf2011-11-194-3/+31
| | | | | | | | | | Up to 100 completion strings for the names of added variables are saved in the settings, so it will remember the variables you are usually adding. It also ensures that CMAKE_INSTALL_PREFIX is always there, since this is maybe the one which is set most often. Alex
* Remove trailing whitespaceAlex Neundorf2011-11-192-8/+8
| | | | Alex
* Fix grouping bug where "Ungrouped Entries" showed up as a child.Clinton Stimpson2011-01-282-5/+13
|
* Merge topic 'dev/strict-mode'Brad King2011-01-274-1/+42
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd2f814 Merge branch 'dev/add_test-working-directory' into dev/strict-mode 949d32c Unwatch manual variables upon removal in cmake-gui 3939032 Unwatch manual variables upon removal in ccmake 8354413 Add method to unwatch a manual variable 8ed3c85 Give a better message for unused variables 729db48 Fix ArgumentExpansion test expected results 89c2544 Checking for a definition is a usage 5625dee Don't output to stderr in the GUI ad25a96 Merge branch 'ImprovedDotSupport2' into dev/strict-mode c128abe Merge branch 'AddCMAKE_CURRENT_LIST_DIR' into dev/strict-mode 9bcaff0 Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-mode 544d0c3 Fix expected output for WarnUninitialized test 4e3bea4 Update expected messages to new format 8e8c9e4 Don't check at destruction for usage 668e005 Use cmake::IssueMessage for warnings 88cd4c1 Use 'CMake Warning' versus 'warning' for CDash 3c3b98d Initialize the class before setting warn flags cf8b15a Ignore files under the CMakeFiles directory fd50f06 Don't check for unused vars at configure time 447a04c Don't warn during configure when doing everything b97ee21 Check for unused variables at the end of generate c18c977 When checking for variables, specify a reason 3f1121f Use a long int since Line is a long as well 2507f93 Change the failure case string to 'Unexpected' fe390a2 Add 'ArgumentExpansion' test 8dbb209 Wrong boolean value for CLI warnings d4ee998 Hard-code the --no-warn-unused-cli flag a267b99 Fix line lengths 82ed104 Flag that the directories have been set 5aa535b Add argument to arg parsing to not set directories 367e5c3 Revert "Revert "When calling CMake, set the args and the cache"" ab5d4e4 Revert "When calling CMake, set the args and the cache" 9b90040 When calling CMake, set the args and the cache fe56002 Fix long lines for KWStyle 5d30cfc Set a watch on variables added through the gui 33c63b1 Add a method to put a watch for variables 535253f Initialize the warning variables earlier cbb286c Fix the path detection to work for top-level 62be1f7 Initialize the usage stack earlier c6e7fab Factor out the checks for unused variables 5e41ba8 When using the API, check for Add vs. Remove dee1976 Fix typo in VariableUnusedViaUnset test f231ce5 Remove old false positive avoidance code a117e02 Revert "Add test for unused warnings at the end of scope" 2c82f2b Exempt CMAKE(CURRENT|PARENT)_LIST_FILE from usage 6d7d449 Ignore CLI warnings for ABI determination 7740a73 Only return local keys that are defined bef3aee Use the API so that warnings can be tracked 05cb0f4 Check for unused variables in the dtor 91c4c99 Add test for unused warnings at the end of scope ca90f67 Fix detection of unused variables when setting f7438ca Add test for unused detection via setting it 995cfb0 Don't warn if the variable wasn't defined aefc91d Add test for usage checks via unset a8e97f8 Remove VarRemoved code since it's been superceded 59463ef Rework CheckVariableForUnused usage f117423 Fix line lengths to be no more than 78 e49a935 Improve unused warning logic e01e40c Mark ARGC, ARGV*, and ARGN as used a17aff7 Ignore CMAKE_MATCH_* variables for usage 02a114d Add method to allow variables to be marked as used a0b0d23 CMAKE_DO_TRY_COMPILE is no longer used ae3eff3 Fix the path used for ignoring system warnings 056b441 Fix missing case for usage of a variable 980e048 Factor out checks for unused variables 83acb0a Remove now unused variables 3801463 Use built-ins for readability and maintainability 8b52015 Push the initialize and unused states when copying 439877f Be consistent with single and double quotes 4cf1706 Add documentation for check-system-vars b74777f Fix the spelling of the flag for warn-unused-vars b948120 Change logic of flag to turn off cli unused checks f047a17 Add test for uninitialized variables 75bda38 Add tests for unused command line variables 300fc15 Fix detection of system files d784e6a Run the unused variables check on the final pass 9efc057 VariableWatch is not available when bootstrapping 2e78224 Add a missing comma to the warning message 7499700 Add a flag to warn about system files fff9f6d Rename flags again and use variablewatch for cli 786e269 Add warn-unused to the Qt interface 636e6c4 Default to marking things as used 4ff0340 Rename find-unused to warn-unused d7999e9 Rename strict-mode to warn-uninitialized e141bc9 Detect unused variables d3e8eb5 Add flags to detect unused variables f332e14 Complete strict-mode checks for uninitialized vars 52f9637 Add method to get the local scope variables f794d58 Make --strict-mode option, and integrate with cmake-gui 48b5b85 Add a warning when variables are used uninitialized. cd626ea For macros make sure the FilePath points to a valid pointer in the args.
| * Merge branch 'dev/add_test-working-directory' into dev/strict-modeBrad King2011-01-273-364/+29
| |\ | | | | | | | | | | | | Conflicts: Tests/CMakeLists.txt
| * | Unwatch manual variables upon removal in cmake-guiBen Boeckel2011-01-131-0/+2
| | |
| * | Don't output to stderr in the GUIBen Boeckel2011-01-031-1/+0
| | |
| * | Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-modeBrad King2010-12-171-84/+92
| |\ \ | | | | | | | | | | | | | | | | Conflicts: Source/QtDialog/CMakeSetupDialog.cxx
| * | | Set a watch on variables added through the guiBen Boeckel2010-09-221-0/+2
| | | |
| * | | Rename flags again and use variablewatch for cliBen Boeckel2010-09-014-17/+1
| | | |
| * | | Add warn-unused to the Qt interfaceBen Boeckel2010-09-014-0/+34
| | | |
| * | | Rename strict-mode to warn-uninitializedBen Boeckel2010-09-014-14/+14
| | | |
| * | | Make --strict-mode option, and integrate with cmake-guiBill Hoffman2010-09-014-1/+20
| | | |
* | | | cmake-gui: always enable generate button.Clinton Stimpson2010-12-184-51/+146
| |_|/ |/| |
* | | Merge topic 'cmake-gui-args-11388'David Cole2010-11-091-1/+13
|\ \ \ | | | | | | | | | | | | | | | | 0476715 Fix regression to allow specifying a CMakeCache.txt file on the command line.
| * | | Fix regression to allow specifying a CMakeCache.txt file on the command line.Clinton Stimpson2010-11-011-1/+13
| | |/ | |/|
* | | cmake-gui: use BundleUtilities in place of custom script.Clinton Stimpson2010-10-142-363/+16
|/ / | | | | | | | | | | BundleUtilities is better supported and allows including shared Qt libs on other platforms. Also removed limitation of static Qt for windows build of cmake-gui.
* | Make cmake-gui remember whether the "Advanced" checkbox was checked or notAlex Neundorf2010-09-231-0/+7
| | | | | | | | Alex
* | -remove trailing whitespaceAlex Neundorf2010-09-231-84/+84
|/ | | | Alex
* Fix for fix to bug #9975Clinton Stimpson2010-05-191-1/+1
|
* BUG: Fix Bug #9975 when softlinks are used.Clinton Stimpson2010-05-051-8/+11
|
* ENH: Add simple grouped view.Clinton Stimpson2010-04-263-151/+134
|
* BUG: Fix bug #9894. Make higher resolution CMake icon available as an ↵Clinton Stimpson2009-12-116-4/+8
| | | | application icon. On Mac, the higher resolution one is used in the dock.
* BUG: Fix bug #10,000.Clinton Stimpson2009-12-101-5/+13
| | | | | | Some fixes for including Qt frameworks. Remove extra "QtGui.framework" so its not Contents/Frameworks/QtGui.framework/QtGui.framwork/... anymore. Also include QtGui Resource folder, so a Cocoa/Qt based cmake-gui app works.
* Remove dependence on Qt/STL support.Clinton Stimpson2009-11-231-15/+15
|
* Fix bug #9722. Report error when not able to create build directory.Clinton Stimpson2009-10-301-1/+8
|
* ENH: Move SetErrorMode around calls to generate and configure instead of ↵Clinton Stimpson2009-10-262-9/+21
| | | | setting it for the whole application.