diff --git a/mainwindow.cpp b/mainwindow.cpp index 2f03cd1..e452f4d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -12,7 +12,7 @@ MainWindow::MainWindow(QWidget *parent) { ui->setupUi(this); - on_Load(); + // on_Load(); on_import_2_clicked(); } @@ -113,8 +113,8 @@ void MainWindow::on_import_2_clicked() { //do this on startup to import any settings - QFile file(ui->loadlistcmb->currentText()); - // QFile file("sublist.txt"); + // QFile file(ui->loadlistcmb->currentText()); + QFile file("default.txt"); if (file.exists()){ ui->sublist->clear(); QStringList stringList; @@ -177,7 +177,8 @@ on_export_2_clicked(); void MainWindow::on_export_2_clicked() { -QString Filename = QFileDialog::getSaveFileName(this, "Save File",".txt",".txt"); +//QString Filename = QFileDialog::getSaveFileName(this, "Save File",".txt",".txt"); + QString Filename = "./default.txt"; QFile file(Filename); file.open(QIODevice::ReadWrite | QFile::Text); @@ -221,11 +222,3 @@ void MainWindow::on_Load() } } - - - - -void MainWindow::on_comboBox_activated(const QString &arg1) -{ - -} diff --git a/mainwindow.h b/mainwindow.h index 2a4604c..3ad1e7e 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -26,7 +26,7 @@ private slots: void on_export_2_clicked(); - void on_comboBox_activated(const QString &arg1); + // void on_comboBox_activated(const QString &arg1); void on_Load(); diff --git a/mainwindow.ui b/mainwindow.ui index e42a596..825967e 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -17,6 +17,9 @@ + + true + false @@ -50,7 +53,7 @@ - leave blank and click add button to start new entry + @@ -92,7 +95,7 @@ - Add/Edit/Save + Add-blanks/Edit/Save @@ -2610,13 +2613,10 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -hr { height: 1px; border-width: 0; } -li.unchecked::marker { content: "\2610"; } -li.checked::marker { content: "\2612"; } -</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans';">well, if you have missing updates from the main server to the wordlist its because its loading your own, delete to receive new updates.</span></p></body></html> +</style></head><body style=" font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">well, if you have missing updates from the main server to the wordlist its because its loading your own, delete to receive new updates.(not applicable yet)</span></p></body></html> @@ -2877,7 +2877,7 @@ li.checked::marker { content: "\2612"; } 0 0 800 - 23 + 21