Questions tagged [qt4.6]

For issues relating to using the Qt framework, version 4.6.

Qt (pronounced officially as cute (/kyut/) though commonly pronounced as Q.T. (/ˈkyu ti/)) is a cross-platform application development framework widely used for the development of GUI programs (in which case it is known as a widget toolkit), and also used for developing non-GUI programs such as console tools and servers. wikipedia

Qt can be downloaded here.

Qt was created by Trolltech, and is currently developed and maintained by Digia.

53 questions
1
vote
1 answer

how to drag and drop from another widget on to a QGraphicsScene

I need to drag from a QListWidget or something similar and drop on a QGraphicsScene, and create a subclass of QGraphicsItem at the drop location. Anyone have any ideas? I'm using Qt 4.6.3.
David Burson
  • 2,947
  • 7
  • 32
  • 55
1
vote
1 answer

Customize the buttons in a QWIzard?

QWizard have some options related to the buttons as follows: NoDefaultButton NoBackButtonOnStartPage NoBackButtonOnLastPage DisabledBackButtonOnLastPage HaveNextButtonOnLastPage HaveFinishButtonOnEarlyPages …
Claire Huang
  • 961
  • 1
  • 18
  • 30
1
vote
2 answers

Qt: Animating the 'roll down' of a QWidget

I have a QWidget that contains various other widgets. I want to animate it appearing on the screen by gradually revealing it from the top down, increasing it's height from 0 to whatever it's natural height would be. The way I have it currently…
eAi
  • 572
  • 5
  • 16
1
vote
1 answer

PyQt4: My database displays empty cells

I am using the pyqt4 framework to do some displays for database forms. Unfortunately, I hit a snag while trying to filter and display my database by last name. Assume that the database connection works. Also assume that I have the correct amount…
Danny Hatt
  • 11
  • 2
1
vote
0 answers

How to use QGraphicsVeiw

I need to create a application,which is created in QMainWindow. I have created application.in UI form I have dragged QGraphicsView. I have created Graphic scene also. I'm posting the code.i'm able to get scene but it by deafult coming at topleft…
0
votes
1 answer

"Refreshing" column header names in QT model

Does anyone know how you "refresh" the names of the columns (the column headers) in QT? I have code that, in certain cases, changes the name of a column. model_ptr->header_list.replace( 1, "Bank #" ); Another…
Wes
  • 4,781
  • 7
  • 44
  • 53
0
votes
1 answer

How to solve error LNK2001: unresolved external symbol?

I am new to Qt and now I am developing a simple application in using Visual Studio 2008 and when am building the code, the following errors occur: error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall…
joki
  • 847
  • 1
  • 10
  • 15
0
votes
2 answers

Set a cross in QImage at the position, where mousepressed

I have a graph shown in a QImage and want to set a cross (+) in yellow colour for measurement, if right mouse button is pressed. void foo::mousePressEvent(QMouseEvent *event) { if (event->button() == Qt::RightButton) { …
Martin R
  • 71
  • 9
0
votes
2 answers

How to identify QEvent sender

I have reimplemented QWidget::event() handler, where I am handling windowStateChange event. I was wondering if there is any way to identify which widget sends this event.
Neox
  • 2,000
  • 13
  • 12
0
votes
1 answer

How can I paint a number of animated bubbles ? (Qt4.6)

Recently in trouble, I hope you will help me . I created three buttons in a widget ,I use the QPropertyAnimation class to achieve the position of the three buttons move . such as this example: QPushButton button("Animated Button"); button.show(); …
Carina
  • 2,260
  • 2
  • 20
  • 45
0
votes
1 answer

How to resize the menu Icons in main window toolbar

I want to find a way to change the size of icons in the menus (like New,Open,etc.) main window toolbar https://i.stack.imgur.com/lKSjV.png i want this images of the icons become greater than this size
Amr Ramadan
  • 201
  • 2
  • 3
  • 6
0
votes
1 answer

Link error while using Qt 4.7

I am using Qt 4.7 for VS08 and i am building a http webser, but i am getting some link errors while compiling it and cant figure it out though here is one of them error LNK2028: unresolved token (0A000027) "public: bool __thiscall…
sriks
  • 563
  • 2
  • 6
  • 17
0
votes
3 answers

Howto crop polygon(fill with poly-image) out of QImage (Qt 4.6)

OS::win xp sp3 Qt::4.6 I am working on the PUZZLE game based on Qt framework and need some help. In project is included main picture which needs to be disassembled to smaller parts (polygons with images belongig to them). So I make image QImage…
nik_02
  • 53
  • 1
  • 6
0
votes
1 answer

how to make parallel events in c++ (specific Qt 4.6)

I have a problem with the execution of multiple functions at once. Specific , I have two classes (MyRect and space). The Idea is similar to space invaders but I stuck on the beginning. In class MyRect I have defined two rectangles :: body (ship…
nik_02
  • 131
  • 13
0
votes
1 answer

QT4 Linux will not "make" because of undefined reference to Main . What is wrong?

I am using Linux 10.10. Trying to use QT4 as I would like to avoid alternative IDEs and languages. I can not get past the $ make g++ -Wl,-O1 -o slider -L/usr/lib -lQtGui -lQtCore…