update screenshots

This commit is contained in:
arcan1s 2014-07-16 22:18:08 +04:00
parent bb7af8da40
commit c0207a108e
22 changed files with 9 additions and 10 deletions

View File

@ -16,7 +16,7 @@ optdepends=('kdebase-runtime: sudo support'
'wpa_supplicant: wifi support') 'wpa_supplicant: wifi support')
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz") source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
install="${pkgbase}.install" install="${pkgbase}.install"
md5sums=('5b3105a64bc162d30a41a2b3bcb06f0a') md5sums=('bb1cc09e7ea781563219cbfd42e97931')
prepare() { prepare() {
rm -rf "${srcdir}/"{build-plasmoid,build-qt4,build-qt5} rm -rf "${srcdir}/"{build-plasmoid,build-qt4,build-qt5}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

BIN
screenshots/de-main.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
screenshots/gui-about.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

View File

@ -232,7 +232,6 @@ void MainWindow::createActions()
if (debug) qDebug() << "[MainWindow]" << "[createActions]"; if (debug) qDebug() << "[MainWindow]" << "[createActions]";
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateTabs(int))); connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateTabs(int)));
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateMenu(int)));
connect(ui->actionAbout, SIGNAL(triggered(bool)), aboutWin, SLOT(show())); connect(ui->actionAbout, SIGNAL(triggered(bool)), aboutWin, SLOT(show()));
connect(ui->actionNetctlAuto, SIGNAL(triggered(bool)), netctlAutoWin, SLOT(showWindow())); connect(ui->actionNetctlAuto, SIGNAL(triggered(bool)), netctlAutoWin, SLOT(showWindow()));
ui->actionNetctlAuto->setVisible(checkExternalApps(QString("all"))); ui->actionNetctlAuto->setVisible(checkExternalApps(QString("all")));
@ -240,7 +239,7 @@ void MainWindow::createActions()
connect(ui->actionQuit, SIGNAL(triggered(bool)), this, SLOT(close())); connect(ui->actionQuit, SIGNAL(triggered(bool)), this, SLOT(close()));
// actions menu // actions menu
//connect(ui->menuActions, SIGNAL(aboutToShow()), this, SLOT(updateMenu())); connect(ui->menuActions, SIGNAL(aboutToShow()), this, SLOT(updateMenu()));
connect(ui->actionMainEdit, SIGNAL(triggered(bool)), this, SLOT(mainTabEditProfile())); connect(ui->actionMainEdit, SIGNAL(triggered(bool)), this, SLOT(mainTabEditProfile()));
connect(ui->actionMainEnable, SIGNAL(triggered(bool)), this, SLOT(mainTabEnableProfile())); connect(ui->actionMainEnable, SIGNAL(triggered(bool)), this, SLOT(mainTabEnableProfile()));
connect(ui->actionMainRefresh, SIGNAL(triggered(bool)), this, SLOT(updateMainTab())); connect(ui->actionMainRefresh, SIGNAL(triggered(bool)), this, SLOT(updateMainTab()));
@ -362,15 +361,15 @@ void MainWindow::updateTabs(const int tab)
updateProfileTab(); updateProfileTab();
else if (tab == 2) else if (tab == 2)
updateWifiTab(); updateWifiTab();
updateMenu(tab); updateMenu();
} }
void MainWindow::updateMenu(const int tab) void MainWindow::updateMenu()
{ {
if (debug) qDebug() << "[MainWindow]" << "[updateMenu]"; if (debug) qDebug() << "[MainWindow]" << "[updateMenu]";
if (debug) qDebug() << "[MainWindow]" << "[updateMenu]" << ":" << "Update tab" << tab;
int tab = ui->tabWidget->currentIndex();
setMenuActionsShown(false); setMenuActionsShown(false);
if (tab == 0) if (tab == 0)

View File

@ -68,7 +68,7 @@ public:
public slots: public slots:
void updateTabs(const int tab); void updateTabs(const int tab);
void updateMenu(const int tab); void updateMenu();
// wifi tab slots // wifi tab slots
void connectToUnknownEssid(const QString passwd); void connectToUnknownEssid(const QString passwd);
void setHiddenName(const QString name); void setHiddenName(const QString name);

View File

@ -493,7 +493,7 @@ void Netctl::disconnectFromEngine()
// configuration interface // configuration interface
void Netctl::selectActiveIcon() void Netctl::selectActiveIcon()
{ {
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/bin"), "*"); KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/share/icons"), "*");
if (!url.isEmpty()) if (!url.isEmpty())
uiAppConfig.lineEdit_activeIcon->setText(url.path()); uiAppConfig.lineEdit_activeIcon->setText(url.path());
} }
@ -509,7 +509,7 @@ void Netctl::selectGuiExe()
void Netctl::selectInactiveIcon() void Netctl::selectInactiveIcon()
{ {
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/bin"), "*"); KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/share/icons"), "*");
if (!url.isEmpty()) if (!url.isEmpty())
uiAppConfig.lineEdit_inactiveIcon->setText(url.path()); uiAppConfig.lineEdit_inactiveIcon->setText(url.path());
} }
@ -557,7 +557,7 @@ void Netctl::selectDataEngineExternalIpExe()
void Netctl::selectDataEngineInterfacesDirectory() void Netctl::selectDataEngineInterfacesDirectory()
{ {
KUrl url = KFileDialog::getExistingDirectoryUrl(KUrl("/")); KUrl url = KFileDialog::getExistingDirectoryUrl(KUrl("/sys"));
if (!url.isEmpty()) if (!url.isEmpty())
uiDEConfig.lineEdit_interface->setText(url.path()); uiDEConfig.lineEdit_interface->setText(url.path());
} }