Skip to content

Commit

Permalink
macos
Browse files Browse the repository at this point in the history
  • Loading branch information
netpipe committed Oct 14, 2024
1 parent 33c7db0 commit e45e3e9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 22 deletions.
17 changes: 5 additions & 12 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MainWindow::MainWindow(QWidget *parent)
{
ui->setupUi(this);

on_Load();
// on_Load();
on_import_2_clicked();

}
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -221,11 +222,3 @@ void MainWindow::on_Load()
}

}




void MainWindow::on_comboBox_activated(const QString &arg1)
{

}
2 changes: 1 addition & 1 deletion mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
18 changes: 9 additions & 9 deletions mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="enabled">
<bool>true</bool>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
Expand Down Expand Up @@ -50,7 +53,7 @@
<item row="4" column="0">
<widget class="QLineEdit" name="in1">
<property name="text">
<string>leave blank and click add button to start new entry</string>
<string/>
</property>
</widget>
</item>
Expand Down Expand Up @@ -92,7 +95,7 @@
<item row="4" column="1">
<widget class="QPushButton" name="editbtn">
<property name="text">
<string>Add/Edit/Save</string>
<string>Add-blanks/Edit/Save</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -2610,13 +2613,10 @@
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans';&quot;&gt;well, if you have missing updates from the main server to the wordlist its because its loading your own, delete to receive new updates.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans'; font-size:10pt;&quot;&gt;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)&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_5">
Expand Down Expand Up @@ -2877,7 +2877,7 @@ li.checked::marker { content: &quot;\2612&quot;; }
<x>0</x>
<y>0</y>
<width>800</width>
<height>23</height>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
Expand Down

0 comments on commit e45e3e9

Please sign in to comment.