initial commit
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <QFontDatabase>
|
||||
#include <QCloseEvent>
|
||||
#include <QProgressBar>
|
||||
#include <QToolBar>
|
||||
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
+1
-9
@@ -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/>
|
||||
|
||||
Reference in New Issue
Block a user