initial commit

This commit is contained in:
2023-08-14 16:40:17 +02:00
parent 99da732902
commit f04326a6ce
3 changed files with 2 additions and 16 deletions
-7
View File
@@ -66,12 +66,7 @@ void cMainWindow::initUI()
m_progressBar->setVisible(false);
ui->m_statusBar->addPermanentWidget(m_progressBar);
// QIcon::setThemeName("TangoMFK");
QIcon::setThemeName("GNOME");
qDebug() << QIcon::themeName();
qDebug() << QIcon::themeSearchPaths();
qDebug() << QIcon::hasThemeIcon("document-open");
qDebug() << "done";
}
void cMainWindow::createActions()
@@ -100,8 +95,6 @@ void cMainWindow::createFileActions()
m_fileNewAction->setPriority(QAction::LowPriority);
m_fileNewAction->setShortcut(QKeySequence::New);
ui->m_mainToolBar->addAction(m_fileNewAction);
// m_lpFileToolBar = addToolBar("file");
// const QIcon openIcon = QIcon::fromTheme("document-open");
+1
View File
@@ -10,6 +10,7 @@
#include <QFontDatabase>
#include <QCloseEvent>
#include <QProgressBar>
#include <QToolBar>
QT_BEGIN_NAMESPACE
+1 -9
View File
@@ -26,7 +26,7 @@
<x>0</x>
<y>0</y>
<width>780</width>
<height>527</height>
<height>537</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
@@ -66,14 +66,6 @@
</rect>
</property>
</widget>
<widget class="QToolBar" name="m_mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QStatusBar" name="m_statusBar"/>
</widget>
<resources/>