This folder contains dialogs examples.
- AboutBox shows how to create an about box with QMessageBox.
- ColorDialog shows how to create a colord dialog with QColorDalog.
- FolderBrowserDialog shows how to create a folder browser dialog with QFileDialog.
- FontDialog shows how to create a font dialog with QFontDialog.
- InputDialog shows how to create an input dialog with QInputDialog.
- MessageBox shows how to create a message box with QMessageBox.
- OpenFileDialog shows how to create an open file dialog with QFileDialog.
- SaveFileDialog shows how to create an save file dialog with QFileDialog.
To build these projects, open Dialogs.pro
file with Qt Creator.
To build this project, open "Terminal" and type following lines:
Set CMAKE_PREFIX_PATH
with Qt6 install path.
mkdir build
cd build
cmake ..
start ./Dialogs.sln
mkdir build
cd build
cmake .. -G "Xcode"
open ./Dialogs.xcodeproj
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Dialogs.cbp > /dev/null 2>&1
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject