diff options
author | Michele Calgaro <[email protected]> | 2021-02-18 11:29:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-02-18 11:29:08 +0900 |
commit | 2aaedb4a040815288a4ba2d3b7f7dae642a615b4 (patch) | |
tree | 5c3e0a79c800dd833e4caaf86a75cdfc6484a912 /src/MainWidget.cpp | |
parent | ed6e395fd03dc836ee48a75e29025934a5c515b4 (diff) | |
download | kvkbd-2aaedb4a040815288a4ba2d3b7f7dae642a615b4.tar.gz kvkbd-2aaedb4a040815288a4ba2d3b7f7dae642a615b4.zip |
Increased size of button icons to make them more visible.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/MainWidget.cpp')
-rw-r--r-- | src/MainWidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp index 4cb7666..9d3bd5d 100644 --- a/src/MainWidget.cpp +++ b/src/MainWidget.cpp @@ -381,7 +381,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const quit = new VButton ( this,"quit" ); quit->resize ( 20,30 ); quit->move ( 524,15 ); - quit->setPixmap(TQIconSet(SmallIcon("application-exit")).pixmap()); + quit->setPixmap(TQIconSet(SmallIcon("application-exit", TDEIcon::SizeMedium)).pixmap()); TQToolTip::add( quit, i18n( "Hide keyboard" ) ); quit->res(); other_keys.append(quit); @@ -392,12 +392,12 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const extent->move (524, 85 ); if (extent_visible) { - extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward")).pixmap()); + extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward", TDEIcon::SizeMedium)).pixmap()); TQToolTip::add( extent, i18n( "Hide num pad" ) ); } else { - extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward")).pixmap()); + extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward", TDEIcon::SizeMedium)).pixmap()); TQToolTip::add( extent, i18n( "Show num pad" ) ); } extent->res(); @@ -561,7 +561,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const //popup_menu->setPaletteBackgroundColor ( TQt::green ); popup_menu->res(); - popup_menu->setPixmap(TQIconSet(SmallIcon("configure")).pixmap()); + popup_menu->setPixmap(TQIconSet(SmallIcon("configure", TDEIcon::SizeMedium)).pixmap()); TQToolTip::add( popup_menu, i18n( "Configure" ) ); other_keys.append(popup_menu); connect ( popup_menu,TQT_SIGNAL ( clicked() ),this, TQT_SLOT ( showConfigMenu() ) ); @@ -701,13 +701,13 @@ void MainWidget::toggleNumericPad() if (extent_visible){ extent_visible=false; - extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward")).pixmap()); + extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward", TDEIcon::SizeMedium)).pixmap()); TQToolTip::add( extent, i18n( "Show num pad" ) ); TQWidget::resize ( (int)sdxs, height() ); } else{ extent_visible=true; - extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward")).pixmap()); + extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward", TDEIcon::SizeMedium)).pixmap()); TQToolTip::add( extent, i18n( "Hide num pad" ) ); TQWidget::resize ( (int)sdxb, height() ); } |