mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Rewrite the dialog to export tables as CSV file using Qt Designer. Move the entire export functionality to this dialog instead of generating the file in the main window. Add some options for the user to change the layout of the CSV file.
75 lines
1.4 KiB
Prolog
75 lines
1.4 KiB
Prolog
TEMPLATE = app
|
|
|
|
QT += core gui
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
TARGET = sqlitebrowser
|
|
|
|
INCLUDEPATH += sqlite_source/
|
|
CONFIG += qt \
|
|
warn_on \
|
|
debug
|
|
|
|
HEADERS += \
|
|
sqlitedb.h \
|
|
sqlbrowser_util.h \
|
|
SQLLogDock.h \
|
|
ImportCSVForm.h \
|
|
MainWindow.h \
|
|
SQLiteSyntaxHighlighter.h \
|
|
CreateIndexDialog.h \
|
|
EditFieldDialog.h \
|
|
AboutDialog.h \
|
|
EditTableDialog.h \
|
|
PreferencesDialog.h \
|
|
FindDialog.h \
|
|
EditDialog.h \
|
|
ExportCsvDialog.h
|
|
|
|
SOURCES += \
|
|
sqlitedb.cpp \
|
|
sqlbrowser_util.c \
|
|
SQLLogDock.cpp \
|
|
main.cpp \
|
|
ImportCSVForm.cpp \
|
|
MainWindow.cpp \
|
|
SQLiteSyntaxHighlighter.cpp \
|
|
CreateIndexDialog.cpp \
|
|
EditFieldDialog.cpp \
|
|
EditTableDialog.cpp \
|
|
PreferencesDialog.cpp \
|
|
AboutDialog.cpp \
|
|
FindDialog.cpp \
|
|
EditDialog.cpp \
|
|
ExportCsvDialog.cpp
|
|
|
|
QMAKE_CXXFLAGS += -DAPP_VERSION=\\\"`cd $$PWD;git log -n1 --format=%h_git`\\\"
|
|
|
|
unix {
|
|
UI_DIR = .ui
|
|
MOC_DIR = .moc
|
|
OBJECTS_DIR = .obj
|
|
LIBS += -ldl -lsqlite3
|
|
}
|
|
win32:RC_FILE = winapp.rc
|
|
mac {
|
|
RC_FILE = macapp.icns
|
|
LIBS += -framework \
|
|
Carbon
|
|
QMAKE_INFO_PLIST = app.plist
|
|
CONFIG += x86 \
|
|
ppc
|
|
}
|
|
RESOURCES += icons/icons.qrc
|
|
|
|
FORMS += \
|
|
MainWindow.ui \
|
|
CreateIndexDialog.ui \
|
|
AboutDialog.ui \
|
|
EditFieldDialog.ui \
|
|
EditTableDialog.ui \
|
|
PreferencesDialog.ui \
|
|
FindDialog.ui \
|
|
EditDialog.ui \
|
|
ExportCsvDialog.ui
|