fullscreen

JFileChooser in front of fullscreen Swing application

点点圈 提交于 2019-12-10 22:24:01
问题 I know there are some topics relative to this question (mainly this unanswered one and this one which is not handling full screen app). I basically tried every combination of first topic sample and available methods (requestFocus, requestFocusInWindow, ...) but JFileChooser is always displaying behind the fullscreen app. I tried to change filechooser's parent too (setting it to null, itself or the parent frame) with no more success. Have anyone a working example of this not-that-much

Java Fullscreen Modal Dialogs

匆匆过客 提交于 2019-12-10 22:14:07
问题 How does one create a custom modal JDialog that can be used as an internal dialog? For use in FullscreenExclusiveMode. I have a JScrollPane (with a huge scrollbar) full of huge buttons like so: +----------------------+------+ | FOO | /\ | |______________________+------+ | |______| | BAR | | |______________________| == | | |______| | BIZ | | +______________________+------+ | | \/ | |----------------------+------+ I need the user to use the giant scrollbar to scroll through and tap a particular

Can you switch off XSS protection in IE7 so that an Intranet application can know the content of offsite IFRAMEs?

左心房为你撑大大i 提交于 2019-12-10 21:54:28
问题 TL;DR: Can I switch off XSS protection in Internet Explorer in a controlled environment so I can manipulate the DOM inside IFRAMES? I am creating a kiosk for our public computers in our reception area which allows our users to browse our website as well as a few other local government related sites (ones that help with planning, building licences etc). The kiosk "application" itself consists of a menu at the top and an iframe at the bottom - the intent is that the menu is always there and

Increase button font size when button size is changing

旧时模样 提交于 2019-12-10 18:49:15
问题 I'm having a Qt application with a main window that has five buttons aligned in a vertical order. They all have the same size. All I want to do is to increase the font size of the button label when the app goes fullscreen. I would really appreciate a solution that does not need too much code ... was hoping that this was something that could be done in Qt Designer, but I couldn't find a way how to. Any suggestions? Best, guitarflow 回答1: I can't think of any way to do it in designer, but it's

Why does my dialogue box not show when fullscr=True?

自作多情 提交于 2019-12-10 16:15:51
问题 I want to display a dialogue box to ask an experimental participant to enter a number, using psychopy. When fullscr=False in win, the dialogue box displays. When fullscr=True , it doesn't appear, even though typing the number and then return does progress the program to the next loop. Any ideas why? Relevant code lines below. from psychopy import visual, event, core, data, gui, logging win = visual.Window([1024,768], fullscr=True, units='pix', autoLog=True) respInfo={} respInfo['duration']=''

Immersive like feature in JB and ICS

无人久伴 提交于 2019-12-10 15:52:52
问题 I am developing an Application where I need to go completely full screen. In kitkat its very easy by using Immersive tag. But since not all devices support kitkat I need to take JB and ICS (atleast) into consideration. Well although there is a way of hiding navigation bar and status bar in JB and ICS it becomes visible as soon as the user interacts. This certainly does not looks good. It also takes one extra touch. I did a lot of searching on net and was surprised that there is no way we can

How to open VLC in fullscreen mode in swift

≯℡__Kan透↙ 提交于 2019-12-10 15:09:48
问题 Im using MobileVLCKit, here is my code: class CameraViewController: UIViewController,VLCMediaPlayerDelegate{ var mediaPlayer = VLCMediaPlayer() override func viewDidLoad() { super.viewDidLoad() mediaPlayer.delegate = self let url = NSURL(string: "URL HERE") mediaPlayer.media = VLCMedia(URL: url!) } } I want to open VLC in fullscreen with play,pause and timer Thanks, 回答1: VLCKit does not include a "fullscreen" feature. You need to set the mediaPlayer's drawable to a UIView and take care of the

Simple way to toggle fullscreen with F11 in PyGTK

霸气de小男生 提交于 2019-12-10 14:57:41
问题 I am not a professional programmer but am regularly using PyGTK and Cairo for data visualization testing and prototyping. I have a standard template of PyGTK that I took from the web, which does the "standard things" GTK needs to work: import pygtk pygtk.require('2.0') import gtk """ lots of stuff """ if __name__ == "__main__": mainWindow = gtk.Window() mainWindow.set_title(some_title) mainWindow.connect("delete-event", gtk.main_quit) #mainWindow.set_position(gtk.WIN_POS_CENTER) #mainWindow

Qt Widget temporarily fullscreen

我只是一个虾纸丫 提交于 2019-12-10 14:07:26
问题 Consider a QWidget, normally a child in some Layout. Supposed I want to make it fullScreen for a while, then have it return to it's old spot. QWidget::setFullScreen() requires that the widget needs to be an independent window - any ideas how to work it out? 回答1: The simplest way I can see is to reparent to 0. Something like this: #include <QApplication> #include <QPushButton> class MyButton : public QPushButton { public: MyButton(QWidget* parent) : QPushButton(parent) {} void mousePressEvent

How can I make my android dialog fullscreen?

◇◆丶佛笑我妖孽 提交于 2019-12-10 13:44:20
问题 I already tried all things I could find (on stackoverflow and the net) but I somehow cannot set my dialog to fullscreen. It has a scrollview with a textview in it, and when there is not much text in the textview the scrollview is not fullscreen. How can I force it to be fullscreen even when there is not much text visible ? I create the dialog like this: final TextView box; final Dialog info = new Dialog(cx); final ScrollView scroll; info.setContentView(R.layout.dialoginfo); info.setTitle(